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

Could not find or load main class pitclipse.runner #218

Open
ctw3883 opened this issue Sep 26, 2022 · 7 comments
Open

Could not find or load main class pitclipse.runner #218

ctw3883 opened this issue Sep 26, 2022 · 7 comments

Comments

@ctw3883
Copy link

ctw3883 commented Sep 26, 2022

Bug description

Error: Could not find or load main class org.pitest.pitclipse.runner.PitRunnerMain in module XYZ

Expected behavior

Expect the program to run to see mutation tests

How to reproduce

Steps to reproduce the behavior:
Run as 'PIT Mutation Test'

I tried this on 2 separate java projects.

I found results but no solution on : https://groups.google.com/g/pitusers/c/SLathUh4v7s
found by google searching: 'Error: Could not find or load main class org.pitest.pitclipse.runner.PitRunnerMain in module'

Additional context

  • Pitclipse version: 2.2.0
  • Eclipse IDE version: 4.25.0
@VictorAfonso044
Copy link

Same issue here. l guess is something with Junit5

Pitclipse version: 2.2.0
Eclipse IDE version: 4.5.0.RELEASE

@LorenzoBettini
Copy link
Collaborator

I need something, e.g., a minimal project, to reproduce the problem

@Fauziakhangs
Copy link

Hi,

When I try to run pittest on eclipse, I am getting this error "Error: Could not find or load main class org.pitest.pitclipse.runner.PitRunnerMain in module Max
" . Can anyone help in resolving this issue.

@LorenzoBettini
Copy link
Collaborator

@Fauziakhangs as I said above, I need something, e.g., a minimal project, to reproduce the problem

@Fauziakhangs
Copy link

https://github.com/Fauziakhangs/PitestExm/tree/main
I am trying to execute Pitest on JUnit Test1 but encountering the above error.

@Fauziakhangs
Copy link

@LorenzoBettini

@LorenzoBettini
Copy link
Collaborator

Provide a project, not a zip file

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

4 participants