简体   繁体   中英

CamelContextAware has been compiled by a more recent version of the Java Runtime

I have this error

org/apache/camel/CamelContextAware has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

When I am trying to compile maven in a Spring Boot Camel application. There is no trace of explanation of this error in documentation, the only thing I found is a very short javadoc . Can you help me?

The problem was here

    <dependency>
        <groupId>org.apache.camel</groupId>
        <artifactId>camel-test-spring-junit5</artifactId>
        <version>3.15.0</version>
        <scope>test</scope>
    </dependency>

Setting version at 3.12.0 solved for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM