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
NoClassDefFoundError when running Tests or Tomcat targets #28
Comments
I figured it out - added spring-core and spring-beans to the pom and that seemed to get things up and running. I've updated my fork with this change. hoserdude@c5bbd91 |
Hi, Thanks, |
Hi @michaelisvy, I created Pull Request #29. I had to support a CloudBees customer this week who had the same problem. PR #29 may be a bit verbose but it is standard Maven and it has fixed the ClassNotFoundException in all the support cases I faced at CloudBees. |
☁ spring-petclinic [master] mvn --version I will update to 3.10, undo my changes and see if that works. |
Good news, that seemed to work without a hitch. Upgraded to 3.1.0, Maven re-downloaded the internet and the build/test went through. |
closes spring-projects#2 Starting services with docker-compose
* Added section for vulnerability scanning * Changed workflow ref back to main since PR is in for github workflow
Ran the tomcat7 target and it crashed with the following stack. Tried running a mvn clean install and the tests failed with the same NoClassDefFoundError. I thought that I may have a bad mix of Spring components in my repo so I blew it away and started fresh, same deal.
The text was updated successfully, but these errors were encountered: