-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Executable WAR with jersey 2 and swagger #7417
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
@belano Can you please provide a complete sample that reproduces the problem? The code snippet that you've shared above doesn't compile. |
The first exception is a limitation of the Reflections library. It doesn't support The second exception may well be a symptom of the first but I can't be sure. A sample that reproduces the problem will help with that. |
I have uploaded a sample that reproduces the problem as requested.
|
Thanks for the sample. The second problem is a regression in Tomcat 8.5.6. You can avoid it by downgrading to 8.5.5. Please see #7360 for details. |
Hi,
We are setting up a Spring Boot 1.4.2.RELEASE web application using jersey 2 (spring-boot-starter-jersey) and swagger (swagger-jersey2-jaxrs:1.5.9), when repackaging as an executable war using spring-boot-maven-plugin and running the app from java command line, we are getting the following errors:
Note: Package Names and Jar names have been modified for privacy issues.
Spring Boot Maven Plugin:
Jersey config
The text was updated successfully, but these errors were encountered: