Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to run tests on Eclipse Oxygen #72

Closed
yilativs opened this issue Jul 20, 2017 · 8 comments
Closed

fails to run tests on Eclipse Oxygen #72

yilativs opened this issue Jul 20, 2017 · 8 comments

Comments

@yilativs
Copy link

Fails to run tests on Eclipse Oxygen.
Execution throws exception to console:

Closing server
Closed
Exception in thread "main" java.lang.NoSuchMethodError: joptsimple.OptionParser.acceptsAll(Ljava/util/List;Ljava/lang/String;)Ljoptsimple/OptionSpecBuilder;
	at org.pitest.mutationtest.commandline.OptionsParser.<init>(OptionsParser.java:122)
	at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:36)
	at org.pitest.pitclipse.pitrunner.PitRunner.runPIT(PitRunner.java:46)
	at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:25)
@velo
Copy link

velo commented Jul 20, 2017

For me it's failing a well, but it only prints

Error: Could not find or load main class org.pitest.pitclipse.pitrunner.PitRunner

@benhjt
Copy link

benhjt commented Jul 26, 2017

I can't even get it to install properly. It installs without any errors/warnings but then does not show up in any context menu to run a test class as a PIT mutation test.

@jenildesai25
Copy link

I got same error.

@velo
Copy link

velo commented Nov 27, 2017 via email

@jenildesai25
Copy link

Can you tell me how to build it locally

@davidselvaraj
Copy link

I am also getting the same error. I am using STS 3.9.2 and getting the same error as the original poster.

Exception in thread "main" java.lang.NoSuchMethodError: joptsimple.OptionParser.acceptsAll(Ljava/util/List;Ljava/lang/String;)Ljoptsimple/OptionSpecBuilder;
	at org.pitest.mutationtest.commandline.OptionsParser.<init>(OptionsParser.java:122)
	at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:36)
	at org.pitest.pitclipse.pitrunner.PitRunner.runPIT(PitRunner.java:46)
	at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:25)

@echebbi
Copy link
Collaborator

echebbi commented Aug 15, 2019

Fixed by #80. Will be included in the next release.

@echebbi echebbi closed this as completed Aug 15, 2019
@echebbi
Copy link
Collaborator

echebbi commented Oct 4, 2019

The new 2.0.0 release is finally here and should fix the issue: https://github.com/pitest/pitclipse/releases/tag/v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants