Skip to content
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-context (6.x) incompatibility with spring boot 3.3.3 #33575

Closed
kkrhdd opened this issue Sep 20, 2024 · 6 comments
Closed

spring-context (6.x) incompatibility with spring boot 3.3.3 #33575

kkrhdd opened this issue Sep 20, 2024 · 6 comments
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: invalid An issue that we don't feel is valid

Comments

@kkrhdd
Copy link

kkrhdd commented Sep 20, 2024

Hi Team,

I am trying to upgrade my applications spring boot from 2.x to 3.x and facing weird errors.

If I use spring boot 3.3.3 parent pom and spring-context (6.1.x), I am facing below issue:

Exception in thread "main" java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102)
	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64)
	at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40)
Caused by: java.lang.IllegalStateException: java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy.transform(Lorg/springframework/cglib/core/ClassGenerator;)Lorg/springframework/cglib/core/ClassGenerator; @15: invokespecial
  Reason:
    Type 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy$1' (current frame, stack[3]) is not assignable to 'org/springframework/cglib/transform/ClassTransformer'
  Current Frame:
    bci: @15
    flags: { }
    locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy', 'org/springframework/cglib/core/ClassGenerator', 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy$1' }
    stack: { uninitialized 9, uninitialized 9, 'org/springframework/cglib/core/ClassGenerator', 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy$1' }
  Bytecode:
    0000000: bb00 0259 2ab7 0003 4dbb 0004 592b 2cb7
    0000010: 0005 b0                                

	at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:825)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:345)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352)
	at com.fedex.sefs.adapter.csc.CSCAdapterApplication.main(CSCAdapterApplication.java:16)
	... 7 more
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy.transform(Lorg/springframework/cglib/core/ClassGenerator;)Lorg/springframework/cglib/core/ClassGenerator; @15: invokespecial
  Reason:
    Type 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy$1' (current frame, stack[3]) is not assignable to 'org/springframework/cglib/transform/ClassTransformer'
  Current Frame:
    bci: @15
    flags: { }
    locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy', 'org/springframework/cglib/core/ClassGenerator', 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy$1' }
    stack: { uninitialized 9, uninitialized 9, 'org/springframework/cglib/core/ClassGenerator', 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy$1' }
  Bytecode:
    0000000: bb00 0259 2ab7 0003 4dbb 0004 592b 2cb7
    0000010: 0005 b0                                

	at org.springframework.context.annotation.ConfigurationClassEnhancer.newEnhancer(ConfigurationClassEnhancer.java:126)
	at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:109)
	at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:447)
	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:268)
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325)
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:147)
	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:335)
	... 10 more

and If I downgrade the spring-context to 6.0.x, I am able to fix above issue but facing another issue as below.

{"@timestamp":"2024-09-19T17:25:25.932+05:30","level":"ERROR","thread_name":"main","logger_name":"org.springframework.boot.SpringApplication","message":"Application run failed","stack_trace":"j.l.ClassNotFoundException: org.springframework.scheduling.concurrent.SimpleAsyncTaskScheduler\r\n\tat j.net.URLClassLoader.findClass(URLClassLoader.java:445)\r\n\tat j.lang.ClassLoader.loadClass(ClassLoader.java:592)\r\n\tat o.s.b.l.n.p.j.JarUrlClassLoader.loadClass(JarUrlClassLoader.java:107)\r\n\tat o.s.b.l.l.LaunchedClassLoader.loadClass(LaunchedClassLoader.java:91)\r\n\tat j.lang.ClassLoader.loadClass(ClassLoader.java:525)\r\n\t... 44 common frames omitted\r\nWrapped by: j.l.NoClassDefFoundError: org/springframework/scheduling/concurrent/SimpleAsyncTaskScheduler\r\n\tat java.lang.Class.getDeclaredMethods0(Class.java)\r\n\tat java.lang.Class.privateGetDeclaredMethods(Class.java:3402)\r\n\tat java.lang.Class.getDeclaredMethods(Class.java:2504)\r\n\tat o.s.u.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:465)\r\n\t... 40 common frames omitted\r\nWrapped by: j.l.IllegalStateException: Failed to introspect Class [org.springframework.boot.autoconfigure.task.TaskSchedulingConfigurations$TaskSchedulerConfiguration] from ClassLoader [org.springframework.boot.loader.launch.LaunchedClassLoader@50040f0c]\r\n\tat o.s.u.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:483)\r\n\tat o.s.u.ReflectionUtils.doWithMethods(ReflectionUtils.java:360)\r\n\tat o.s.u.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:417)\r\n\tat o.s.b.f.s.AbstractAutowireCapableBeanFactory.lambda$getTypeForFactoryMethod$2(AbstractAutowireCapableBeanFactory.java:765)\r\n\tat j.u.c.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)\r\n\tat o.s.b.f.s.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:764)\r\n\tat o.s.b.f.s.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:703)\r\n\tat o.s.b.f.s.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:674)\r\n\tat o.s.b.f.s.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1684)\r\n\tat o.s.b.f.s.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:570)\r\n\t... 7 fra...\r\n"}

As I checked the class TaskSchedulingConfigurations$TaskSchedulerConfiguration, the class org.springframework.scheduling.concurrent.SimpleAsyncTaskScheduler is missing from the package.

Please suggest how to get over it? If it is a bug, please let me know the workaround until it is fixed.

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-bootstrap</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>logback-classic</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <version>1.5.7</version>
            <exclusions>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>logback-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
            <version>1.5.7</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.tomcat.embed</groupId>
                    <artifactId>tomcat-embed-websocket</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-websocket</artifactId>
            <version>9.0.62</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-webflux</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-config</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>com.thoughtworks.xstream</groupId>
                    <artifactId>xstream</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.codehaus.jettison</groupId>
                    <artifactId>jettison</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
       
        <dependency>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
            <version>1.4.20</version>
        </dependency>
       
        <dependency>
            <groupId>org.codehaus.jettison</groupId>
            <artifactId>jettison</artifactId>
            <version>1.5.4</version>
        </dependency>
       
        <dependency>
            <groupId>com.fasterxml.woodstox</groupId>
            <artifactId>woodstox-core</artifactId>
            <version>6.4.0</version>
        </dependency>
 
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-test</artifactId>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.springframework.retry</groupId>
            <artifactId>spring-retry</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aspects</artifactId>
        </dependency>

        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib</artifactId>
            <version>3.3.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-beanutils</groupId>
            <artifactId>commons-beanutils</artifactId>
            <version>${commons-beanutils.version}</version>
        </dependency>
        <dependency>
            <groupId>net.logstash.logback</groupId>
            <artifactId>logstash-logback-encoder</artifactId>
            <version>7.2</version>
        </dependency>
        <dependency>
            <groupId>javax.interceptor</groupId>
            <artifactId>javax.interceptor-api</artifactId>
            <version>1.2.2</version>
        </dependency>

        
        <dependency>
            <groupId>com.github.jnr</groupId>
            <artifactId>jnr-posix</artifactId>
            <version>3.1.8</version>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.13</version>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpmime</artifactId>
            <version>4.5.13</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-cache</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context-support</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.github.ben-manes.caffeine</groupId>
            <artifactId>caffeine</artifactId>
        </dependency>
        
        <dependency>
            <groupId>org.springframework.security.oauth</groupId>
            <artifactId>spring-security-oauth2</artifactId>
            <version>2.3.4.RELEASE</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-context</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>6.1.1</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>6.1.1</version>
        </dependency>
        <dependency>
            <groupId>commons-fileupload</groupId>
            <artifactId>commons-fileupload</artifactId>
            <version>1.5</version>
        </dependency>

        <dependency>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
            <version>1.4.01</version>
        </dependency>
        <!-- Common JMS -->
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.3.1</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.3.4</version>
        </dependency>
        <dependency>
            <groupId>com.datastax.dse</groupId>
            <artifactId>dse-java-driver-core</artifactId>
            <version>1.9.0</version>
        </dependency>
        <dependency>
            <groupId>com.datastax.dse</groupId>
            <artifactId>dse-java-driver-mapping</artifactId>
            <version>1.9.0</version>
        </dependency>
        <dependency>
            <groupId>org.lz4</groupId>
            <artifactId>lz4-java</artifactId>
            <version>1.4.0</version>
        </dependency>
        <dependency>
            <groupId>com.amazonaws</groupId>
            <artifactId>aws-java-sdk</artifactId>
            <version>1.11.711</version>
        </dependency>

        <dependency>
            <groupId>org.junit.vintage</groupId>
            <artifactId>junit-vintage-engine</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.hibernate.validator</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>8.0.1.Final</version>
        </dependency>

    </dependencies>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 20, 2024
@bclozel
Copy link
Member

bclozel commented Sep 20, 2024

You are not supposed to use previous Spring Framework versions (6.0.x) with recent Spring Boot versions (3.3.x), this case is not supported and binary incompatibilities are expected. In that sense, the second issue you are reporting is irrevelant in this case.

Now the first issue you've reported seems to be about a bytecode verification error for a failing class transformation. We didn't get similar reports and I'm not aware of specific changes in this area.

I think you should try the following, in order:

  1. check whether a Java agent (Otel instrumentation, reloading with JRebel?) is loaded and try without it
  2. check your dependency management with mvn dependency:tree and ensure that you don't get a mix of different Spring Boot versions or Spring Framework versions
  3. in last resort, you could try and provide a minimal sample application (created with start.spring.io) that we can take a look at. This would require significant pruning of your dependencies (basically removing everything from Cloud to hibernate, as long as you can reproduce the problem). This one is more time consuming on your side but a required step if 1) and 2) fail.

Thanks!

@bclozel bclozel added status: waiting-for-feedback We need additional information before we can continue in: core Issues in core modules (aop, beans, core, context, expression) labels Sep 20, 2024
@kkrhdd
Copy link
Author

kkrhdd commented Sep 20, 2024

@bclozel FYI, here is the dependency tree. I'm not seeing any issue with this, please have a look when you have time

--- dependency:3.6.1:tree (default-cli) @ demo ---

+- org.springframework.cloud:spring-cloud-starter-bootstrap:jar:4.1.0:compile
|  \- org.springframework.cloud:spring-cloud-starter:jar:4.1.0:compile
|     +- org.springframework.cloud:spring-cloud-context:jar:4.1.0:compile
|     +- org.springframework.cloud:spring-cloud-commons:jar:4.1.0:compile
|     \- org.springframework.security:spring-security-rsa:jar:1.1.1:compile
|        \- org.bouncycastle:bcprov-jdk18on:jar:1.74:compile
+- org.springframework.boot:spring-boot-starter-actuator:jar:3.3.3:compile
|  +- org.springframework.boot:spring-boot-starter:jar:3.3.3:compile
|  |  +- org.springframework.boot:spring-boot:jar:3.3.3:compile
|  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.3.3:compile
|  |  +- org.springframework.boot:spring-boot-starter-logging:jar:3.3.3:compile
|  |  |  +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.23.1:compile
|  |  |  |  \- org.apache.logging.log4j:log4j-api:jar:2.23.1:compile
|  |  |  \- org.slf4j:jul-to-slf4j:jar:2.0.16:compile
|  |  +- jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
|  |  \- org.yaml:snakeyaml:jar:2.2:compile
|  +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.3.3:compile
|  |  \- org.springframework.boot:spring-boot-actuator:jar:3.3.3:compile
|  +- io.micrometer:micrometer-observation:jar:1.13.3:compile
|  |  \- io.micrometer:micrometer-commons:jar:1.13.3:compile
|  \- io.micrometer:micrometer-jakarta9:jar:1.13.3:compile
|     \- io.micrometer:micrometer-core:jar:1.13.3:compile
|        +- org.hdrhistogram:HdrHistogram:jar:2.2.2:runtime
|        \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
+- ch.qos.logback:logback-classic:jar:1.5.7:compile
|  \- org.slf4j:slf4j-api:jar:2.0.16:compile
+- ch.qos.logback:logback-core:jar:1.5.7:compile
+- org.springframework.boot:spring-boot-starter-security:jar:3.3.3:compile
|  +- org.springframework:spring-aop:jar:6.1.12:compile
|  +- org.springframework.security:spring-security-config:jar:6.3.3:compile
|  \- org.springframework.security:spring-security-web:jar:6.3.3:compile
+- org.springframework.boot:spring-boot-starter-web:jar:3.3.3:compile
|  +- org.springframework.boot:spring-boot-starter-json:jar:3.3.3:compile
|  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.17.2:compile
|  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.17.2:compile
|  +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.3.3:compile
|  |  \- org.apache.tomcat.embed:tomcat-embed-el:jar:10.1.28:compile
|  +- org.springframework:spring-web:jar:6.1.12:compile
|  \- org.springframework:spring-webmvc:jar:6.1.12:compile
+- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.62:compile
|  \- org.apache.tomcat.embed:tomcat-embed-core:jar:10.1.28:compile
|     \- org.apache.tomcat:tomcat-annotations-api:jar:10.1.28:compile
+- org.springframework.boot:spring-boot-starter-webflux:jar:3.3.3:compile
|  +- org.springframework.boot:spring-boot-starter-reactor-netty:jar:3.3.3:compile
|  |  \- io.projectreactor.netty:reactor-netty-http:jar:1.1.22:compile
|  |     +- io.netty:netty-codec-http2:jar:4.1.112.Final:compile
|  |     +- io.netty:netty-resolver-dns:jar:4.1.112.Final:compile
|  |     +- io.netty:netty-resolver-dns-native-macos:jar:osx-x86_64:4.1.112.Final:compile
|  |     \- io.projectreactor.netty:reactor-netty-core:jar:1.1.22:compile
|  \- org.springframework:spring-webflux:jar:6.1.12:compile
|     \- io.projectreactor:reactor-core:jar:3.6.9:compile
|        \- org.reactivestreams:reactive-streams:jar:1.0.4:compile
+- org.springframework.cloud:spring-cloud-starter-config:jar:4.1.0:compile
|  +- org.springframework.cloud:spring-cloud-config-client:jar:4.1.0:compile
|  |  \- org.apache.httpcomponents.client5:httpclient5:jar:5.3.1:compile
|  |     +- org.apache.httpcomponents.core5:httpcore5:jar:5.2.5:compile
|  |     \- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.2.5:compile
|  \- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile
+- org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:jar:4.1.0:compile
|  +- org.springframework.cloud:spring-cloud-netflix-eureka-client:jar:4.1.0:compile
|  +- com.netflix.eureka:eureka-client:jar:2.0.1:compile
|  |  +- com.netflix.netflix-commons:netflix-eventbus:jar:0.3.0:compile
|  |  |  +- com.netflix.netflix-commons:netflix-infix:jar:0.3.0:runtime
|  |  |  |  +- commons-jxpath:commons-jxpath:jar:1.3:runtime
|  |  |  |  +- org.antlr:antlr-runtime:jar:3.4:runtime
|  |  |  |  |  +- org.antlr:stringtemplate:jar:3.2.1:runtime
|  |  |  |  |  \- antlr:antlr:jar:2.7.7:runtime
|  |  |  |  \- com.google.code.gson:gson:jar:2.10.1:runtime
|  |  |  \- org.apache.commons:commons-math:jar:2.2:runtime
|  |  +- jakarta.ws.rs:jakarta.ws.rs-api:jar:3.1.0:compile
|  |  +- jakarta.inject:jakarta.inject-api:jar:2.0.1:compile
|  |  +- com.netflix.servo:servo-core:jar:0.12.21:compile
|  |  \- commons-configuration:commons-configuration:jar:1.10:compile
|  |     \- commons-lang:commons-lang:jar:2.6:compile
|  +- com.netflix.eureka:eureka-core:jar:2.0.1:compile
|  \- org.springframework.cloud:spring-cloud-starter-loadbalancer:jar:4.1.0:compile
|     +- org.springframework.cloud:spring-cloud-loadbalancer:jar:4.1.0:compile
|     |  \- io.projectreactor.addons:reactor-extra:jar:3.5.2:compile
|     \- com.stoyanr:evictor:jar:1.0.0:compile
+- com.thoughtworks.xstream:xstream:jar:1.4.20:compile
|  \- io.github.x-stream:mxparser:jar:1.2.2:compile
|     \- xmlpull:xmlpull:jar:1.1.3.1:compile
+- org.codehaus.jettison:jettison:jar:1.5.4:compile
+- com.fasterxml.woodstox:woodstox-core:jar:6.4.0:compile
|  \- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
+- sefs.xopco.core.common-tools:xopco-common-tools-manageshipmenttriggerevent:jar:2.4.0.0:co
|  +- io.swagger:swagger-annotations:jar:1.5.8:compile
|  +- org.glassfish.jersey.core:jersey-client:jar:3.1.8:compile
|  |  \- org.glassfish.jersey.core:jersey-common:jar:3.1.8:compile
|  |     \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.3:compile
|  +- org.glassfish.jersey.media:jersey-media-multipart:jar:3.1.8:compile
|  |  \- org.jvnet.mimepull:mimepull:jar:1.9.15:compile
|  +- org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.1.8:compile
|  |  +- org.glassfish.jersey.ext:jersey-entity-filtering:jar:3.1.8:compile
|  |  \- com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:jar:2.17.2:
|  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
|  +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.17.2:compile
|  +- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile
|  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile
|  +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.17.2:compile
|  |  \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.17.2:compile
|  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.17.2:compile
|  +- org.openapitools:jackson-databind-nullable:jar:0.2.0:compile
|  +- javax.validation:validation-api:jar:2.0.1.Final:compile
|  \- com.xxx.sefs.common:com-xxx-sefs-common:jar:1.1.0:compile
+- org.projectlombok:lombok:jar:1.18.34:compile
+- org.springframework.boot:spring-boot-starter-test:jar:3.3.3:test
|  +- org.springframework.boot:spring-boot-test:jar:3.3.3:test
|  +- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.3.3:test
|  +- com.jayway.jsonpath:json-path:jar:2.9.0:test
|  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.2:compile
|  |  \- jakarta.activation:jakarta.activation-api:jar:2.1.3:compile
|  +- net.minidev:json-smart:jar:2.5.1:test
|  |  \- net.minidev:accessors-smart:jar:2.5.1:test
|  +- org.assertj:assertj-core:jar:3.25.3:test
|  |  \- net.bytebuddy:byte-buddy:jar:1.14.19:test
|  +- org.awaitility:awaitility:jar:4.2.2:test
|  +- org.hamcrest:hamcrest:jar:2.2:test
|  +- org.junit.jupiter:junit-jupiter:jar:5.10.3:test
|  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.10.3:compile
|  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.10.3:test
|  |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.10.3:compile
|  +- org.mockito:mockito-core:jar:5.11.0:test
|  |  +- net.bytebuddy:byte-buddy-agent:jar:1.14.19:test
|  |  \- org.objenesis:objenesis:jar:3.3:test
|  +- org.mockito:mockito-junit-jupiter:jar:5.11.0:test
|  +- org.skyscreamer:jsonassert:jar:1.5.3:test
|  |  \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
|  +- org.springframework:spring-core:jar:6.1.12:compile
|  |  \- org.springframework:spring-jcl:jar:6.1.12:compile
|  +- org.springframework:spring-test:jar:6.1.12:test
|  \- org.xmlunit:xmlunit-core:jar:2.9.1:test
+- org.springframework.security:spring-security-test:jar:6.3.3:test
|  \- org.springframework.security:spring-security-core:jar:6.3.3:compile
|     \- org.springframework.security:spring-security-crypto:jar:6.3.3:compile
+- org.springframework.retry:spring-retry:jar:2.0.8:compile
+- org.springframework:spring-aspects:jar:6.1.12:compile
|  \- org.aspectj:aspectjweaver:jar:1.9.22.1:compile
+- cglib:cglib:jar:3.3.0:test
|  \- org.ow2.asm:asm:jar:7.1:compile
+- commons-beanutils:commons-beanutils:jar:1.9.4:compile
|  +- commons-logging:commons-logging:jar:1.2:compile
|  \- commons-collections:commons-collections:jar:3.2.2:compile
+- net.logstash.logback:logstash-logback-encoder:jar:7.2:compile
+- javax.interceptor:javax.interceptor-api:jar:1.2.2:compile
+- sefs.xopco.core.common-tools:xopco-common-tools-handlingunit-dom-sh-v2:jar:2.7.0:compile
+- com.github.jnr:jnr-posix:jar:3.1.8:compile
|  +- com.github.jnr:jnr-ffi:jar:2.2.5:compile
|  |  +- com.github.jnr:jffi:jar:1.3.5:compile
|  |  +- com.github.jnr:jffi:jar:native:1.3.5:runtime
|  |  +- org.ow2.asm:asm-commons:jar:9.1:compile
|  |  +- org.ow2.asm:asm-analysis:jar:9.1:compile
|  |  +- org.ow2.asm:asm-tree:jar:9.1:compile
|  |  +- org.ow2.asm:asm-util:jar:9.1:compile
|  |  +- com.github.jnr:jnr-a64asm:jar:1.0.0:compile
|  |  \- com.github.jnr:jnr-x86asm:jar:1.0.2:compile
|  \- com.github.jnr:jnr-constants:jar:0.10.2:compile
+- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
|  +- org.apache.httpcomponents:httpcore:jar:4.4.16:compile
|  \- commons-codec:commons-codec:jar:1.16.1:compile
+- org.apache.httpcomponents:httpmime:jar:4.5.13:compile
+- org.springframework.boot:spring-boot-starter-cache:jar:3.3.3:compile
+- com.github.ben-manes.caffeine:caffeine:jar:3.1.8:compile
|  +- org.checkerframework:checker-qual:jar:3.37.0:compile
|  \- com.google.errorprone:error_prone_annotations:jar:2.21.1:compile
+- com.xxx.sefs.core.security:security-utility:jar:4.0.0:compile
|  +- org.springframework.cloud:spring-cloud-starter-openfeign:jar:4.1.0:compile
|  |  +- org.springframework.cloud:spring-cloud-openfeign-core:jar:4.1.0:compile
|  |  |  +- org.springframework.boot:spring-boot-starter-aop:jar:3.3.3:compile
|  |  |  \- io.github.openfeign.form:feign-form-spring:jar:3.8.0:compile
|  |  |     \- io.github.openfeign.form:feign-form:jar:3.8.0:compile
|  |  +- io.github.openfeign:feign-core:jar:13.1:compile
|  |  \- io.github.openfeign:feign-slf4j:jar:13.1:compile
|  +- io.github.openfeign:feign-jackson:jar:13.1:compile
|  +- io.github.openfeign:feign-httpclient:jar:13.1:compile
|  +- com.xxx.framework:security-client:jar:3.2.1.RELEASE:compile
|  |  +- org.springframework.vault:spring-vault-core:jar:3.1.0:compile
|  |  +- org.bouncycastle:bcprov-ext-jdk15on:jar:1.61:compile
|  |  +- org.bouncycastle:bcpkix-jdk15on:jar:1.61:compile
|  |  |  \- org.bouncycastle:bcprov-jdk15on:jar:1.61:compile
|  |  \- io.pivotal.cfenv:java-cfenv-boot:jar:2.1.1.RELEASE:compile
|  |     \- io.pivotal.cfenv:java-cfenv-jdbc:jar:2.1.1.RELEASE:compile
|  |        \- io.pivotal.cfenv:java-cfenv:jar:2.1.1.RELEASE:compile
|  +- com.xxx.framework:security-server-authentication:jar:1.0.11.RELEASE:compile
|  +- org.springframework.security:spring-security-oauth2-resource-server:jar:6.3.3:compile
|  |  \- org.springframework.security:spring-security-oauth2-core:jar:6.3.3:compile
|  \- org.springframework.security:spring-security-oauth2-jose:jar:6.3.3:compile
|     \- com.nimbusds:nimbus-jose-jwt:jar:9.37.3:compile
|        \- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
+- org.springframework.security.oauth:spring-security-oauth2:jar:2.3.4.RELEASE:compile
|  +- org.springframework:spring-beans:jar:6.1.12:compile
|  \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
|     \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
+- org.springframework:spring-context:jar:6.1.12:compile
|  \- org.springframework:spring-expression:jar:6.1.12:compile
+- org.springframework:spring-context-support:jar:6.1.12:compile
+- commons-fileupload:commons-fileupload:jar:1.5:compile
|  \- commons-io:commons-io:jar:2.11.0:compile
+- xml-apis:xml-apis:jar:1.4.01:compile
+- javax.xml.bind:jaxb-api:jar:2.3.1:compile
|  \- javax.activation:javax.activation-api:jar:1.2.0:compile
+- com.sun.xml.bind:jaxb-impl:jar:2.3.4:compile
|  \- com.sun.activation:jakarta.activation:jar:1.2.2:runtime
+- com.datastax.dse:dse-java-driver-core:jar:1.9.0:compile
|  +- io.netty:netty-handler:jar:4.1.112.Final:compile
|  |  +- io.netty:netty-common:jar:4.1.112.Final:compile
|  |  +- io.netty:netty-resolver:jar:4.1.112.Final:compile
|  |  +- io.netty:netty-buffer:jar:4.1.112.Final:compile
|  |  +- io.netty:netty-transport:jar:4.1.112.Final:compile
|  |  +- io.netty:netty-transport-native-unix-common:jar:4.1.112.Final:compile
|  |  \- io.netty:netty-codec:jar:4.1.112.Final:compile
|  +- com.google.guava:guava:jar:19.0:compile
|  \- io.dropwizard.metrics:metrics-core:jar:3.2.2:compile
+- org.junit.vintage:junit-vintage-engine:jar:5.10.3:test
|  +- org.junit.platform:junit-platform-engine:jar:1.10.3:compile
|  |  +- org.opentest4j:opentest4j:jar:1.3.0:compile
|  |  \- org.junit.platform:junit-platform-commons:jar:1.10.3:compile
|  +- junit:junit:jar:4.13.2:test
|  |  \- org.hamcrest:hamcrest-core:jar:2.2:test
|  \- org.apiguardian:apiguardian-api:jar:1.1.2:compile
+- com.xxx.mwa:xxxjms-jakarta:jar:8.1.1:compile
|  +- jakarta.jms:jakarta.jms-api:jar:3.1.0:compile
|  +- com.tibco.tibems.jakarta-jms-api-3:tibjms:jar:10.2.1:compile
|  +- org.apache.qpid:qpid-jms-client:jar:2.4.0:compile
|  |  +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.112.Final:compile
|  |  |  \- io.netty:netty-transport-classes-epoll:jar:4.1.112.Final:compile
|  |  \- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.112.Final:compile
|  |     \- io.netty:netty-transport-classes-kqueue:jar:4.1.112.Final:compile
|  \- org.apache.qpid:proton-j:jar:0.34.1:compile
+- com.xxx.services.common.jms:yyy-common-jms-starter:jar:3.2.0.RELEASE:compile
|  +- com.xxx.services.common:yyy-common-autoconfigure:jar:3.2.0.RELEASE:compile
|  |  +- org.springframework.boot:spring-boot-configuration-processor:jar:3.3.3:compile
|  |  \- io.micrometer:micrometer-tracing-bridge-brave:jar:1.3.3:compile
|  |     +- io.micrometer:micrometer-tracing:jar:1.3.3:compile
|  |     |  +- io.micrometer:context-propagation:jar:1.1.1:compile
|  |     |  \- aopalliance:aopalliance:jar:1.0:compile
|  |     +- io.zipkin.brave:brave:jar:6.0.3:compile
|  |     +- io.zipkin.brave:brave-context-slf4j:jar:6.0.3:compile
|  |     +- io.zipkin.brave:brave-instrumentation-http:jar:6.0.3:compile
|  |     +- io.zipkin.aws:brave-propagation-aws:jar:1.2.5:compile
|  |     \- io.zipkin.contrib.brave-propagation-w3c:brave-propagation-tracecontext:jar:0.2.0
|  \- com.xxx.services.common.jms:yyy-common-jms:jar:3.2.0.RELEASE:compile
|     +- org.springframework:spring-jms:jar:6.1.12:compile
|     |  +- org.springframework:spring-messaging:jar:6.1.12:compile
|     |  \- org.springframework:spring-tx:jar:6.1.12:compile
|     +- org.springframework:spring-oxm:jar:6.1.12:compile
|     +- io.zipkin.brave:brave-instrumentation-jms-jakarta:jar:6.0.3:compile
|     |  \- io.zipkin.brave:brave-instrumentation-messaging:jar:6.0.3:compile
|     +- com.xxx.services.common.alerting:alert-manager:jar:3.2.0.RELEASE:compile
|     |  +- org.apache.commons:commons-collections4:jar:4.4:compile
|     |  \- org.eclipse.angus:jakarta.mail:jar:2.0.3:compile
|     |     \- org.eclipse.angus:angus-activation:jar:2.0.2:runtime
|     +- com.xxx.services.common.exception:yyy-common-exception:jar:3.2.0.RELEASE:compile
|     +- io.netty:netty-all:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-dns:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-haproxy:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-memcache:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-mqtt:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-redis:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-smtp:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-socks:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-stomp:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-codec-xml:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-handler-proxy:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-handler-ssl-ocsp:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-transport-rxtx:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-transport-sctp:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-transport-udt:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-resolver-dns-classes-macos:jar:4.1.112.Final:compile
|     |  +- io.netty:netty-transport-native-epoll:jar:linux-aarch_64:4.1.112.Final:runtime
|     |  +- io.netty:netty-transport-native-epoll:jar:linux-riscv64:4.1.112.Final:runtime
|     |  +- io.netty:netty-transport-native-kqueue:jar:osx-aarch_64:4.1.112.Final:runtime
|     |  \- io.netty:netty-resolver-dns-native-macos:jar:osx-aarch_64:4.1.112.Final:runtime
|     +- com.bazaarvoice.jolt:jolt-core:jar:0.1.8:compile
|     |  \- javax.inject:javax.inject:jar:1:compile
|     +- com.bazaarvoice.jolt:json-utils:jar:0.1.8:compile
|     +- org.apache.commons:commons-lang3:jar:3.14.0:compile
|     +- io.github.resilience4j:resilience4j-circuitbreaker:jar:2.1.0:compile
|     |  \- io.github.resilience4j:resilience4j-core:jar:2.1.0:compile
|     \- org.glassfish.jaxb:jaxb-runtime:jar:4.0.5:compile
|        \- org.glassfish.jaxb:jaxb-core:jar:4.0.5:compile
|           +- org.glassfish.jaxb:txw2:jar:4.0.5:compile
|           \- com.sun.istack:istack-commons-runtime:jar:4.1.2:compile
\- org.hibernate.validator:hibernate-validator:jar:8.0.1.Final:compile
   +- jakarta.validation:jakarta.validation-api:jar:3.0.2:compile
   +- org.jboss.logging:jboss-logging:jar:3.5.3.Final:compile
   \- com.fasterxml:classmate:jar:1.7.0:compile

for the first point, I am using IntilliJ IDEA for development with corretto-17 with mvn 3.9.6 and to my knowledge, I'm not using any Java agent. I will cross check again.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Sep 20, 2024
@bclozel
Copy link
Member

bclozel commented Sep 20, 2024

I'm not seeing anything suspicious so far. Please also check that you can reproduce the same problem when running with java -jar the packaged application.

@bclozel bclozel added status: waiting-for-feedback We need additional information before we can continue and removed status: feedback-provided Feedback has been provided labels Sep 20, 2024
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Sep 27, 2024
@kkrhdd
Copy link
Author

kkrhdd commented Oct 3, 2024

@bclozel Thanks for the prompt response. We have identified the issue as one of our dependent modules, which is using older version of spring boot (2.x) is being added as transitive dependency. After upgrading the modules, the issue is resolved.

Hence, closing the issue. Thanks for the support.

@kkrhdd kkrhdd closed this as completed Oct 3, 2024
@bclozel
Copy link
Member

bclozel commented Oct 3, 2024

Thanks for letting us know.

@bclozel bclozel reopened this Oct 3, 2024
@bclozel bclozel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
@bclozel bclozel added status: invalid An issue that we don't feel is valid and removed status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged or decided on status: feedback-reminder We've sent a reminder that we need additional information before we can continue labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

3 participants