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

[core] NoSuchMethodError on SpringJUnitTest #155

Open
blacelle opened this issue Nov 5, 2014 · 4 comments
Open

[core] NoSuchMethodError on SpringJUnitTest #155

blacelle opened this issue Nov 5, 2014 · 4 comments
Labels
comp:core core feature of infinitest (infinitest-lib + infinitest-runner)) status:needs-repro subcomp: classloader type: bug
Milestone

Comments

@blacelle
Copy link

blacelle commented Nov 5, 2014

Sometimes, I get the following error on all tests which are based on SpringJUnit4ClassRunner
NoSuchMethodError (org.springframework.util.ClassUtils.getPackageName(Ljava/lang/String;)Ljava/lang/String;) in ...

I use Eclipse and Spring4 and this method seems to be referenced in Spring3. If I remove all classes and tests, and restore them right away, the NoSuchMethodError does not happen anymore until later (e.g. a restart, or importing another project)

@lkwg82
Copy link

lkwg82 commented May 13, 2015

I have the same problem with intellij.

@sarod sarod added status:needs-repro comp:core core feature of infinitest (infinitest-lib + infinitest-runner)) labels Aug 2, 2016
@sarod
Copy link
Member

sarod commented Aug 2, 2016

Thanks for the bug report @blacelle.

Could you please provide a sample project as a github repo?

@sarod sarod changed the title NoSuchMethodError on SpringJUnitTest [core] NoSuchMethodError on SpringJUnitTest May 15, 2018
@BugHunterPhilosopher
Copy link

Same problem here, on IntelliJ. I'd love an update!

@sarod
Copy link
Member

sarod commented Jun 1, 2018

@BugHunterPhilosopher any chance you could provide a simple github repo with a repro case?

@sarod sarod added this to the 5.2.1 milestone Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:core core feature of infinitest (infinitest-lib + infinitest-runner)) status:needs-repro subcomp: classloader type: bug
Projects
None yet
Development

No branches or pull requests

5 participants