-
Notifications
You must be signed in to change notification settings - Fork 69
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
Classpath Issue with Spring Devtools #401
Comments
Can confirm that we're also seeing this same behaviour on attempted deployment since upgrading to 3.1.14. Downgrading back to 3.1.13 solves the issue. However, we are NOT explicitly excluding spring-devtools from our build as the initial report is. |
Hmm, I wonder if making spring-devtools an optional dependency would help. @tschuehly do you know what would be the spring recommended way to fix this? |
I'm not sure. Maybe @mhalbritter can tell us? |
Devtools should not be a required dependency of JTE. If you need devtools to develop something, you should use If you depend on devtools for some functionality, i'd also use optional=true and then do a runtime class check to see if it's there. I saw #398 included devtools for the |
Thank you for looking in to it. Since this causes problems to users in production, I've reverted the changes in #398 and published a new bugfix release. @tschuehly we can reintroduce #398, once we have a proper solution for it. |
Hi,
we just upgraded from 3.1.13 to 3.1.14 and got this on deployment:
Probably it stems from spring-devtools being excluded in our build. It was added as a dependency in #398.
I guess this is normal behavior since one doesn't usually want to include devtools in a production build.
The text was updated successfully, but these errors were encountered: