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

Aurélien Pupier edited comment on CAMEL-22593 at 10/23/25 1:42 PM:
-------------------------------------------------------------------

[~tcunning] WHich command are using to launch the build? (given my previous 
comment it could be that it depends on the Maven goals)

On my side, I used `mvn clean install` on infinispan component. Currently 
trying `mvn clean install -Dquickly` on the root

EDIT: build in success too on the root


was (Author: apupier):
[~tcunning] WHich command are using to launch the build? (given my previous 
comment it could be that it depends on the Maven goals)

On my side, I used `mvn clean install` on infinispan component. Currently 
trying `mvn clean install -Dquickly` on the root

> 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