[ 
https://issues.apache.org/jira/browse/CAMEL-22593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032477#comment-18032477
 ] 

Aurélien Pupier commented on CAMEL-22593:
-----------------------------------------

I do not reproduce on main branch with Temurin JDK 25 when I build just the 
infinispan component.

On the CI, the compilation went fine recently for the whole project with 
Temurin JDK 25.

The DefaultExchangeHolderInitializer reminds me issue with proto in the past

> camel-infinispan JDK25 compilation issues
> -----------------------------------------
>
>                 Key: CAMEL-22593
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22593
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-infinispan
>            Reporter: Thomas Cunningham
>            Priority: Major
>
> Getting the following compilation issues trying to compile camel-infinispan 
> on JDK 25 (I've gotten this on multiple branches - 4.10.x, main).    I do not 
> see these issues on JDK 21.
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile 
> (default-compile) on project camel-infinispan: Compilation failure: 
> Compilation failure:
> [ERROR] 
> /Users/tcunning/src/community/camel/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteAggregationRepository.java:[22,64]
>  cannot find symbol
> [ERROR]   symbol:   class DefaultExchangeHolderContextInitializer
> [ERROR]   location: package 
> org.apache.camel.component.infinispan.remote.protostream
> [ERROR] 
> /Users/tcunning/src/community/camel/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteAggregationRepository.java:[83,56]
>  cannot find symbol
> [ERROR]   symbol:   class DefaultExchangeHolderContextInitializer
> [ERROR]   location: class 
> org.apache.camel.component.infinispan.remote.InfinispanRemoteAggregationRepository
> [ERROR] 
> /Users/tcunning/src/community/camel/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteAggregationRepository.java:[89,56]
>  cannot find symbol
> [ERROR]   symbol:   class DefaultExchangeHolderContextInitializer
> [ERROR]   location: class 
> org.apache.camel.component.infinispan.remote.InfinispanRemoteAggregationRepository
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <args> -rf :camel-infinispan {code}
> The issue looks like it has to do with 
> [https://github.com/apache/camel/blob/main/components/camel-infinispan/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/remote/protostream/DefaultExchangeHolderInitializer.java]
>  - the class name is DefaultExchangeHolderInitializer but the className in 
> the annotation is DefaultExchangeHolderContextInitializer



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to