-
Notifications
You must be signed in to change notification settings - Fork 41k
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
Spring Boot 2 no logging exception message when use Apache Commons BeanUtils #12457
Comments
There are a few things going on here. In 2.0, Firstly, compile('commons-beanutils:commons-beanutils:1.9.3') {
exclude group: 'commons-logging', module: 'commons-logging'
} However, that's not the full picture as the problem doesn't occur with 1.5 even when Commons Logging is on the classpath. In 1.5, Commons Logging's I've opened SPR-16585 to see if |
Thank you for your help |
Seems like spring-jcl are not going to fix it... I also had my share of hidden Exception with this, as the following exception would not have been printed without the exclusion of the commons or adding a custom ApplicationRunListener :
Maybe something can be done on spring boot side ? |
When I use Apache Commons BeanUtils with Spring Boot 2, I can't catch exception stacktrace message.
I also try other version, only 2.X have this problem.
build.gradle
DemoApplication.java
Console
The text was updated successfully, but these errors were encountered: