Peter Palaga created CXF-9183:
---------------------------------

             Summary: Java 19+ required to build CXF after CXF-8828: Support 
Jakarta EE 11
                 Key: CXF-9183
                 URL: https://issues.apache.org/jira/browse/CXF-9183
             Project: CXF
          Issue Type: Bug
            Reporter: Peter Palaga


The commit "CXF-8828: Support Jakarta EE 11" 
[https://github.com/apache/cxf/commit/d303dac7fc573430954f2b8bdfd7cfc7f2247d0f#diff-b5a06276719e759fe07dfe6f75d781be5f83d2215179d82bdb195ad035348214R110]

upgraded to Derby 10.17.1.0 which requires Java 19.
I guess that was not intentional and we want to revert to the latest Derby 
version with baseline 17?
{code:java}
Error:  Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.14.1:testCompile 
(default-testCompile) on project cxf-rt-ws-rm: Compilation failure: Compilation 
failure: 
Error:  
/home/runner/cxf/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStorePooledConnectionTest.java:[25,29]
 cannot access org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource
Error:    bad class file: 
/home/runner/.m2/repository/org/apache/derby/derbytools/10.17.1.0/derbytools-10.17.1.0.jar(/org/apache/derby/jdbc/EmbeddedConnectionPoolDataSource.class)
Error:      class file has wrong version 63.0, should be 61.0
Error:      Please remove or make sure it appears in the correct subdirectory 
of the classpath.
Error:  
/home/runner/cxf/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStorePooledConnectionTest.java:[40,9]
 cannot find symbol
Error:    symbol:   class EmbeddedConnectionPoolDataSource
Error:    location: class 
org.apache.cxf.ws.rm.persistence.jdbc.RMTxStorePooledConnectionTest
Error:  
/home/runner/cxf/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStorePooledConnectionTest.java:[40,51]
 cannot find symbol
Error:    symbol:   class EmbeddedConnectionPoolDataSource
Error:    location: class 
org.apache.cxf.ws.rm.persistence.jdbc.RMTxStorePooledConnectionTest {code}



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

Reply via email to