-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Jersey package scanning does not work with repackaged war #7496
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
Please don't cross post here. Answers on SO may take a bit of time. |
@wilkinsona Do you need my original project? I find some other problem in my project, I changed my ResourceConfig
,when I set the <tomcat.version>8.5.6</tomcat.version> and executable war (java -jar target/yishi-service-0.5.0.war) , it will occur the problem that #7360 description.
can you tell me why |
Unfortunately, Jersey's jar and war scanning is rather limited. This is a known problem for which there is a pull request but it has yet to be merged. In this specific case it cannot scan You have a few options including:
We'll use this issue to update the documentation to reflect Jersey's limitations. |
@vincent-ren As we've said before, GitHub issues are not the right place to ask questions. Particularly in an issue about Jersey when your latest problem appears to be with MyBatis. |
@wilkinsona OK, Thank you for your answer! I have known I should ask questions in stackoverflow! |
@wilkinsona hello ,Is there any solution to this problem now? I have the same error.Sorry for the stackoverflow I do not know how to describe this problem thank you very much. |
Sorry, I wrote a scan of the plug-in, he has been working |
Remove ResoureConfig package scan and replace with the following:
https://mvnrepository.com/artifact/org.reflections/reflections //Cheers |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have occur a exception about spring boot project, I want to find this answer by this issues what other asked, but can
t solve my problem, and I asked in stackoverflow, it
s no one can answer me. I find this reason liked this project can not scan package, but I do not know how to solve it.when I set <tomcat.version>8.5.6</tomcat.version>, the exception message is:
I get the #7360 set <tomcat.version>8.5.5</tomcat.version> the exception message is the same as <tomcat.version>8.5.6</tomcat.version>
I find the exception maybe cause by scan package.
Because my project has dependency database, so I build a sample project to you.
Thank you for your help!
test-demo.zip
The text was updated successfully, but these errors were encountered: