-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Spring Boot 1.2.0.M2 doesn't work with Tomcat 7 Maven Plugin #1719
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
Comments
In case Tomcat 8 is required by Spring Boot 1.2, it looks the tomcat8-maven-plugin is not released yet: https://issues.apache.org/jira/browse/MTOMCAT-234 I tried using Cargo's Tomcat 8.x support but received a similar error:
Cargo configuration:
My environment:
|
You've hit the problem reported in #1696. It should be fixed in the latest 1.2 snapshots. A (horrible) workaround is to add Jersey to the classpath and exclude its auto-configuration. |
I tried upgrading my project to 1.2.0.BUILD-SNAPSHOT and this still happens when I do "mvn tomcat7:run". |
Adding Jersey as a dependency and adding the following does work. Thanks!
|
With Spring 1.1.7 (and below), I'm able to configure the tomcat7-maven-plugin to start/stop before/after running my integration tests. I realize it's possible to use an @IntegrationTEST annotation to do this, but I want to verify my app will run in Tomcat since that's what production runs.
Here's the error I see with 1.2.0.M2:
And the configuration in my pom.xml:
The text was updated successfully, but these errors were encountered: