You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our app on Spring-boot version 3.4.1 can't start with your latest dependency (version 4.4.0)
To Reproduce
This is the console output
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.springframework.boot.autoconfigure.web.embedded.TomcatWebServerFactoryCustomizer.customizeMaxQueueCapacity(TomcatWebServerFactoryCustomizer.java:168)
The following method did not exist:
'void org.apache.coyote.AbstractProtocol.setMaxQueueSize(int)'
The calling method's class, org.springframework.boot.autoconfigure.web.embedded.TomcatWebServerFactoryCustomizer, was loaded from the following location:
jar:nested:/app.jar/!BOOT-INF/lib/spring-boot-autoconfigure-3.4.1.jar!/org/springframework/boot/autoconfigure/web/embedded/TomcatWebServerFactoryCustomizer.class
The called method's class, org.apache.coyote.AbstractProtocol, is available from the following locations:
jar:nested:/app.jar/!BOOT-INF/lib/tomcat-coyote-10.0.27.jar!/org/apache/coyote/AbstractProtocol.class
jar:nested:/app.jar/!BOOT-INF/lib/tomcat-embed-core-10.1.34.jar!/org/apache/coyote/AbstractProtocol.class
The called method's class hierarchy was loaded from the following locations:
org.apache.coyote.AbstractProtocol: jar:nested:/app.jar/!BOOT-INF/lib/tomcat-coyote-10.0.27.jar!/
Expected behavior
It should not crash on startup
Environment
Version of this library used: 4.4.0
Version of Java used: 21
Version of Spring Boot used: 3.4.1
Web server used (Tomcat, Jetty, Undertow or Netty): Tomcat
Web application type used (Servlet Stack or Reactive Stack): Servlet
Solution
I did some research and found the root cause. The issue was in logback-access and it was resolved in version 2.0.5. Here is the discussion qos-ch/logback-access#17 (comment)
So basically you need to bump the version of the logback-access from 2.0.4 to at least 2.0.5 and release logback-access-spring-boot-starter version 4.4.1
Do you have any ETA for this patch? I have temporarily manually included logback-access 2.0.5 in my pom.xml in my project to be able to move further and not be stuck.
The text was updated successfully, but these errors were encountered:
Describe the bug
Our app on Spring-boot version 3.4.1 can't start with your latest dependency (version 4.4.0)
To Reproduce
This is the console output
Expected behavior
It should not crash on startup
Environment
Solution
I did some research and found the root cause. The issue was in logback-access and it was resolved in version 2.0.5. Here is the discussion qos-ch/logback-access#17 (comment)
So basically you need to bump the version of the logback-access from 2.0.4 to at least 2.0.5 and release logback-access-spring-boot-starter version 4.4.1
Do you have any ETA for this patch? I have temporarily manually included logback-access 2.0.5 in my pom.xml in my project to be able to move further and not be stuck.
The text was updated successfully, but these errors were encountered: