weizhouapache commented on issue #8218:
URL: https://github.com/apache/cloudstack/issues/8218#issuecomment-1816260467

   > Now trying to have my own build. Figuring out how to compile and build 
`debs` on my own. I did that in the begging of 2023
   > 
   > ```
   > > mvn --version                                                            
                         
   > Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
   > Maven home: /opt/apache-maven-3.9.5
   > Java version: 21.0.1, vendor: Oracle Corporation, runtime: /opt/jdk-21.0.1
   > Default locale: en_US, platform encoding: UTF-8
   > OS name: "linux", version: "5.15.0-78-generic", arch: "amd64", family: 
"unix"
   > 
   > > java -version   
   > openjdk version "21.0.1" 2023-10-17
   > OpenJDK Runtime Environment (build 21.0.1+12-29)
   > OpenJDK 64-Bit Server VM (build 21.0.1+12-29, mixed mode, sharing)
   > ```
   > 
   > I checked out the latest `main` and run this: `mvn -DskipTests 
-Pdeveloper,systemvm clean install` Here's what I have:
   > 
   > ```shell
   > [INFO] Apache CloudStack DevCloud-KVM ..................... SKIPPED
   > [INFO] 
------------------------------------------------------------------------ 
   > [INFO] BUILD FAILURE               
   > [INFO] 
------------------------------------------------------------------------        
                                                                                
      
   > [INFO] Total time:  01:23 min
   > [INFO] Finished at: 2023-11-17T14:36:37+03:00
   > [INFO] 
------------------------------------------------------------------------
   > [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project cloud-api: Compilation failure: Compilation failure:
   >   
   > [ERROR] 
/hdd/cloud/acs/cloudstack/api/src/main/java/com/cloud/agent/api/storage/OVFHelper.java:[378,8]
 error: cannot find symbol
   > [ERROR]   symbol:   class DocumentBuilderFactory
   > [ERROR]   location: class OVFHelper
   > [ERROR] 
/hdd/cloud/acs/cloudstack/api/src/main/java/com/cloud/agent/api/storage/OVFHelper.java:[378,56]
 error: cannot find symbol
   > [ERROR]   symbol:   variable DocumentBuilderFactory
   > [ERROR]   location: class OVFHelper
   > [ERROR] 
/hdd/cloud/acs/cloudstack/api/src/main/java/com/cloud/agent/api/storage/OVFHelper.java:[380,12]
 error: cannot find symbol
   > [ERROR]   symbol:   class DocumentBuilder
   > [ERROR]   location: class OVFHelper
   > [ERROR] 
/hdd/cloud/acs/cloudstack/api/src/main/java/com/cloud/agent/api/storage/OVFHelper.java:[382,46]
 error: cannot find symbol
   > [ERROR]   symbol:   class ParserConfigurationException
   > [ERROR]   location: class OVFHelper
   > [ERROR] -> [Help 1]
   > [ERROR] 
   > [ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
   > ```
   
   @tampler 
   can you try with openjdk 11 or 14 ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to