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
Cannot deploy war file to Tomcat with mybatis-spring-boot on 3.0.0-SNAPSHOT #33325
Comments
Thanks for trying the snapshots. Due to this change in Spring Framework that corrects an oversight in 6.0.0 you need to compile your code with |
@wilkinsona Thanks for your feedback!! I understand it!! |
Looking more closely,
Of these three arguments only I know it's quite a large amount of work but I would recommend that you stop trying to bind configuration properties directly to This recommendation really applies for any version of Spring Boot as it makes configuration property binding more robust. Even if |
@wilkinsona Thanks for your advice!! We consider to rewrite a recommended style's code as soon as possible. |
NOTE: Compile the |
@kazuki43zoo thank you so much for testing the snapshot and reporting the issue. |
@kazuki43zoo We've refined things in Spring Framework based on your feedback: spring-projects/spring-framework#29531, deferring the removal of |
When use the latest Spring Boot 3.0.0-SNAPSHOT together with mybatis-spring-boot 3.x(under development), we cannot deploy war file to the Tomcat 10. Until Spring Boot 3.0.0-RC2 it work fine.
Logs
Reproduce
Start the Tomcat server using argo plugin:
Access to API:
View container log file:
Downgrade to Spring Boot 3.0.0-RC2
Edit
pom.xml
stored the root directory as follow:Start the Tomcat server using argo plugin:
Access to API:
Related issues
The text was updated successfully, but these errors were encountered: