TestNg classpath setup in Maven projectmaven package doesn't compileBuild order of Maven multimodule project?Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project aopencommonHow to pack switchyard application with mavenMaven: why does it contain a seemingly broken schemaLocation?download the repositories in mavenmaven-compiler-plugin in parent pomMigrating existing jersey postgres app to spring bootDeploy a SpringBoot / Angular 4 on Google App Engine with mavenFailed to read artifact descriptor for org.apac he.maven.plugins
Is there any pythonic way to find average of specific tuple elements in array?
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
How to keep bees out of canned beverages?
Older movie/show about humans on derelict alien warship which refuels by passing through a star
How to pronounce 'c++' in Spanish
Is Electric Central Heating worth it if using Solar Panels?
Find a stone which is not the lightest one
What is the term for a person whose job is to place products on shelves in stores?
Can I criticise the more senior developers around me for not writing clean code?
How important is it that $TERM is correct?
Which big number is bigger?
Crossed out red box fitting tightly around image
Island of Knights, Knaves and Spies
Nails holding drywall
Retract an already submitted recommendation letter (written for an undergrad student)
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
How to have a sharp product image?
How much of a wave function must reside inside event horizon for it to be consumed by the black hole?
What is the most expensive material in the world that could be used to create Pun-Pun's lute?
Multiple fireplaces in an apartment building?
Why do distances seem to matter in the Foundation world?
Double-nominative constructions and “von”
What does "function" actually mean in music?
How exactly does Hawking radiation decrease the mass of black holes?
TestNg classpath setup in Maven project
maven package doesn't compileBuild order of Maven multimodule project?Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project aopencommonHow to pack switchyard application with mavenMaven: why does it contain a seemingly broken schemaLocation?download the repositories in mavenmaven-compiler-plugin in parent pomMigrating existing jersey postgres app to spring bootDeploy a SpringBoot / Angular 4 on Google App Engine with mavenFailed to read artifact descriptor for org.apac he.maven.plugins
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am getting this error while running Testng Project
Error: Could not find or load main class org.testng.remote.RemoteTestNG
Below is the POM.xml file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.project</groupId>
<artifactId>WeWalkThru</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.14.3</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
</dependencies>
</project>
maven selenium-webdriver testng
add a comment |
I am getting this error while running Testng Project
Error: Could not find or load main class org.testng.remote.RemoteTestNG
Below is the POM.xml file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.project</groupId>
<artifactId>WeWalkThru</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.14.3</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
</dependencies>
</project>
maven selenium-webdriver testng
please code and code location ? Why main class?
– khmarbaise
Mar 8 at 16:44
add a comment |
I am getting this error while running Testng Project
Error: Could not find or load main class org.testng.remote.RemoteTestNG
Below is the POM.xml file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.project</groupId>
<artifactId>WeWalkThru</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.14.3</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
</dependencies>
</project>
maven selenium-webdriver testng
I am getting this error while running Testng Project
Error: Could not find or load main class org.testng.remote.RemoteTestNG
Below is the POM.xml file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.project</groupId>
<artifactId>WeWalkThru</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.14.3</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
</dependencies>
</project>
maven selenium-webdriver testng
maven selenium-webdriver testng
edited Mar 9 at 7:08
Ishita Shah
2,5221927
2,5221927
asked Mar 8 at 16:06
KunalKunal
96
96
please code and code location ? Why main class?
– khmarbaise
Mar 8 at 16:44
add a comment |
please code and code location ? Why main class?
– khmarbaise
Mar 8 at 16:44
please code and code location ? Why main class?
– khmarbaise
Mar 8 at 16:44
please code and code location ? Why main class?
– khmarbaise
Mar 8 at 16:44
add a comment |
1 Answer
1
active
oldest
votes
From testng version 6.9.9 the class RemoteTestNG is gone. You have to upgrade/downgrade eclipse testng plugin to solve issue. It’s version compatibility issue of testng maven dependency and testng eclipse plugin.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55066902%2ftestng-classpath-setup-in-maven-project%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From testng version 6.9.9 the class RemoteTestNG is gone. You have to upgrade/downgrade eclipse testng plugin to solve issue. It’s version compatibility issue of testng maven dependency and testng eclipse plugin.
add a comment |
From testng version 6.9.9 the class RemoteTestNG is gone. You have to upgrade/downgrade eclipse testng plugin to solve issue. It’s version compatibility issue of testng maven dependency and testng eclipse plugin.
add a comment |
From testng version 6.9.9 the class RemoteTestNG is gone. You have to upgrade/downgrade eclipse testng plugin to solve issue. It’s version compatibility issue of testng maven dependency and testng eclipse plugin.
From testng version 6.9.9 the class RemoteTestNG is gone. You have to upgrade/downgrade eclipse testng plugin to solve issue. It’s version compatibility issue of testng maven dependency and testng eclipse plugin.
answered Mar 9 at 15:18
MuzzamilMuzzamil
15518
15518
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55066902%2ftestng-classpath-setup-in-maven-project%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
please code and code location ? Why main class?
– khmarbaise
Mar 8 at 16:44