-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
camunda-webapp-webjar 7.22.0 causes IllegalArgumentException on org.springframework.web.servlet.resource.ResourceHttpRequestHandler v6.2.0-RC3 #4753
Comments
Hi @milazzo-g, |
Hi @milazzo-g, Support for Spring Boot 3.4 is planned to be added for the Camunda 7.23. release. You can see this in the Camunda Platform Announcements Spring Boot 3.4 supports Spring Framework 6.2.x: |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information to re-open the issue. |
I don't get any errors on startup but still getting a
I tried to manually adjust properties by adding to my
but then I get a 404 when accessing the webapp
|
Hi @venetrius, can you check @jpbassinello latest message? |
Hi @jpbassinello, Thanks, |
Environment
any
Description
camunda-webapp-webjar 7.22.0 causes IllegalArgumentException on org.springframework.web.servlet.resource.ResourceHttpRequestHandler v6.2.0-RC3
Steps to reproduce
create an application with spring boot 6.2.0-RC3 and camunda-webapp-webjar 7.22.0 included by camunda-bpm-spring-boot-starter-root 7.22.0
Observed Behavior
During context loading the ResourceHttpRequestHandler class scans all possible paths and if these do not end with "/" an IllegalArgumentException type exception is thrown with message "Resource location does not end with slash: …" (see ResourceHttpRequestHandler@283 the call to ResourceHandlerUtils::assertLocationPath). The path provided by your library is "classpath:/META-INF/resources/webjars/camunda" which as you can see does not contain the final "/". Could you fix it in a next minor? This is critical as the current version of camunda-webapp-webjar (7.22.0) is unusable with spring-boot 6.2.0-RC3.
Expected behavior (Required on creation)
All path from library should ends with "/"
Root Cause (Required on prioritization)
Path from library not ends with "/"
Solution Ideas
Add "/" on all path
Hints
Links
issue on spring-boot repo
STACKTRACE.txt
Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: