[ https://issues.apache.org/jira/browse/AXIS2-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928191#comment-17928191 ]
Michael Paul commented on AXIS2-6080: ------------------------------------- I was able to compile 2.0.0 with one error as below. [INFO] --- invoker:3.9.0:integration-test (default) @ axis2-aar-maven-plugin --- [INFO] Building: test1\pom.xml [INFO] run post-build script verify.bsh [INFO] java.lang.IllegalStateException: The build didn't generate the expected output file [INFO] test1\pom.xml .................................... FAILED (4.852 s) [INFO] Building: test2\pom.xml [INFO] run post-build script verify.bsh [INFO] test2\pom.xml .................................... SUCCESS (9.292 s) [ERROR] ------------------------------------------------- [ERROR] [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 1, Failed: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * test1\pom.xml [INFO] Apache Axis2 - Transport - TCP ..................... SUCCESS [ 10.930 s] [INFO] Apache Axis2 - Transport - UDP ..................... SUCCESS [ 4.682 s] [INFO] Apache Axis2 - Transport - XMPP .................... SUCCESS [ 0.949 s] [INFO] Apache Axis2 - Web Application module .............. SUCCESS [ 9.236 s] [INFO] Apache Axis2 - tool - AAR Maven Plugin ............. FAILURE [ 16.975 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:45 min [INFO] Finished at: 2025-02-18T13:53:46-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.9.0:verify (default) on project axis2-aar-maven-plugin: 1 build failed. See console output above for details. -> [Help 1] [ERROR] WARNING: A command line option has enabled the Security Manager WARNING: The Security Manager is deprecated and will be removed in a future release [INFO] Scanning for projects... [INFO] [INFO] -----------< org.apache.axis2:axis2-aar-plugin-basic-test1 >------------ [INFO] Building Test 1 of the axis2-wsdl2code-maven-plugin 2.0.0-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2-aar-maven-plugin/2.0.0-SNAPSHOT/maven-metadata.xml [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2-aar-maven-plugin/2.0.0-SNAPSHOT/axis2-aar-maven-plugin-2.0.0-SNAPSHOT.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2-aar-maven-plugin/2.0.0-SNAPSHOT/axis2-aar-maven-plugin-2.0.0-SNAPSHOT.pom (6.6 kB at 469 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2/2.0.0-SNAPSHOT/maven-metadata.xml [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2/2.0.0-SNAPSHOT/axis2-2.0.0-SNAPSHOT.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2/2.0.0-SNAPSHOT/axis2-2.0.0-SNAPSHOT.pom (74 kB at 7.4 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/apache/33/apache-33.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/apache/33/apache-33.pom (24 kB at 1.3 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/logging/log4j/log4j-bom/2.24.3/log4j-bom-2.24.3.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/logging/log4j/log4j-bom/2.24.3/log4j-bom-2.24.3.pom (12 kB at 817 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/logging/logging-parent/11.3.0/logging-parent-11.3.0.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/logging/logging-parent/11.3.0/logging-parent-11.3.0.pom (53 kB at 4.4 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2-aar-maven-plugin/2.0.0-SNAPSHOT/axis2-aar-maven-plugin-2.0.0-SNAPSHOT.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/axis2/axis2-aar-maven-plugin/2.0.0-SNAPSHOT/axis2-aar-maven-plugin-2.0.0-SNAPSHOT.jar (27 kB at 3.4 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-resources-plugin/3.3.1/maven-resources-plugin-3.3.1.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-resources-plugin/3.3.1/maven-resources-plugin-3.3.1.pom (8.2 kB at 628 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-plugins/39/maven-plugins-39.pom (8.1 kB at 736 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/maven-parent/39/maven-parent-39.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/maven-parent/39/maven-parent-39.pom (48 kB at 4.4 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/apache/29/apache-29.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/apache/29/apache-29.pom (21 kB at 2.6 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-resources-plugin/3.3.1/maven-resources-plugin-3.3.1.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-resources-plugin/3.3.1/maven-resources-plugin-3.3.1.jar (31 kB at 3.1 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/maven-compiler-plugin-3.11.0.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/maven-compiler-plugin-3.11.0.pom (9.8 kB at 755 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/maven-compiler-plugin-3.11.0.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-compiler-plugin/3.11.0/maven-compiler-plugin-3.11.0.jar (66 kB at 5.5 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-surefire-plugin/3.2.5/maven-surefire-plugin-3.2.5.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-surefire-plugin/3.2.5/maven-surefire-plugin-3.2.5.pom (5.3 kB at 443 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/surefire/surefire/3.2.5/surefire-3.2.5.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/surefire/surefire/3.2.5/surefire-3.2.5.pom (22 kB at 2.0 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/maven-parent/41/maven-parent-41.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/maven-parent/41/maven-parent-41.pom (50 kB at 4.5 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/apache/31/apache-31.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/apache/31/apache-31.pom (24 kB at 2.6 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.9.3/junit-bom-5.9.3.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.9.3/junit-bom-5.9.3.pom (5.6 kB at 512 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-surefire-plugin/3.2.5/maven-surefire-plugin-3.2.5.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-surefire-plugin/3.2.5/maven-surefire-plugin-3.2.5.jar (45 kB at 4.5 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-jar-plugin/3.4.1/maven-jar-plugin-3.4.1.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-jar-plugin/3.4.1/maven-jar-plugin-3.4.1.pom (7.8 kB at 710 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-plugins/42/maven-plugins-42.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-plugins/42/maven-plugins-42.pom (7.7 kB at 769 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/maven-parent/42/maven-parent-42.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/maven-parent/42/maven-parent-42.pom (50 kB at 4.2 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/apache/32/apache-32.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/apache/32/apache-32.pom (24 kB at 2.4 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.10.2/junit-bom-5.10.2.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.10.2/junit-bom-5.10.2.pom (5.6 kB at 514 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-jar-plugin/3.4.1/maven-jar-plugin-3.4.1.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/plugins/maven-jar-plugin/3.4.1/maven-jar-plugin-3.4.1.jar (34 kB at 3.1 MB/s) [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ axis2-aar-plugin-basic-test1 --- [INFO] Downloading from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.pom (2.7 kB at 148 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus/5.1/plexus-5.1.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus/5.1/plexus-5.1.pom (23 kB at 1.6 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.pom (8.8 kB at 674 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus/10/plexus-10.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus/10/plexus-10.pom (25 kB at 2.3 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.pom (6.0 kB at 402 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/shared/maven-shared-components/39/maven-shared-components-39.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/shared/maven-shared-components/39/maven-shared-components-39.pom (3.2 kB at 293 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/javax/inject/javax.inject/1/javax.inject-1.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/javax/inject/javax.inject/1/javax.inject-1.pom (612 B at 47 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.pom (2.7 kB at 183 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/slf4j/slf4j-parent/1.7.36/slf4j-parent-1.7.36.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/slf4j/slf4j-parent/1.7.36/slf4j-parent-1.7.36.pom (14 kB at 671 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.pom (3.2 kB at 291 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/sonatype/spice/spice-parent/15/spice-parent-15.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/sonatype/spice/spice-parent/15/spice-parent-15.pom (8.4 kB at 696 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/sonatype/forge/forge-parent/5/forge-parent-5.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/sonatype/forge/forge-parent/5/forge-parent-5.pom (8.4 kB at 697 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom (8.0 kB at 890 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/commons-io/commons-io/2.11.0/commons-io-2.11.0.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/commons-io/commons-io/2.11.0/commons-io-2.11.0.pom (20 kB at 1.6 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/commons/commons-parent/52/commons-parent-52.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/commons/commons-parent/52/commons-parent-52.pom (79 kB at 6.1 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/apache/23/apache-23.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/apache/23/apache-23.pom (18 kB at 1.3 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.7.2/junit-bom-5.7.2.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.7.2/junit-bom-5.7.2.pom (5.1 kB at 510 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.pom (31 kB at 2.4 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.7.1/junit-bom-5.7.1.pom [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/junit/junit-bom/5.7.1/junit-bom-5.7.1.pom (5.1 kB at 463 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.jar (85 kB at 7.8 MB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.jar [INFO] Downloading from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar [INFO] Downloading from resolver-proxy: http://localhost:61119/javax/inject/javax.inject/1/javax.inject-1.jar [INFO] Downloading from resolver-proxy: http://localhost:61119/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar [INFO] Downloading from resolver-proxy: http://localhost:61119/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar (8.5 kB at 707 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/javax/inject/javax.inject/1/javax.inject-1.jar (2.5 kB at 192 kB/s) [INFO] Downloading from resolver-proxy: http://localhost:61119/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.jar (55 kB at 3.9 MB/s) [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar (41 kB at 2.9 MB/s) [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar (269 kB at 13 MB/s) [INFO] Downloaded from resolver-proxy: http://localhost:61119/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar (327 kB at 11 MB/s) [INFO] Downloaded from resolver-proxy: http://localhost:61119/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar (587 kB at 17 MB/s) [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource from src\main\resources to target\classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.126 s [INFO] Finished at: 2025-02-18T13:53:36-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources (default-resources) on project axis2-aar-plugin-basic-test1: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources failed: access denied ("java.io.FilePermission" "C:\Apps\axis-axis2-java-core-master\modules\tool\axis2-aar-maven-plugin\target\it\test1\src\main\resources\META-INF\services.xml" "execute") -> [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/PluginExecutionException Running post-build script: C:\Apps\axis-axis2-java-core-master\modules\tool\axis2-aar-maven-plugin\target\it\test1\verify.bsh java.lang.IllegalStateException: The build didn't generate the expected output file at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at bsh.Reflect.constructObject(Reflect.java:621) at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:117) at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:108) at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:56) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:96) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:41) at bsh.BSHThrowStatement.eval(BSHThrowStatement.java:38) at bsh.BSHBlock.evalBlock(BSHBlock.java:125) at bsh.BSHBlock.eval(BSHBlock.java:75) at bsh.BSHBlock.eval(BSHBlock.java:41) at bsh.BSHIfStatement.eval(BSHIfStatement.java:42) at bsh.Interpreter.eval(Interpreter.java:659) at bsh.Interpreter.eval(Interpreter.java:750) at bsh.Interpreter.eval(Interpreter.java:739) at org.apache.maven.shared.scriptinterpreter.BeanShellScriptInterpreter.evaluateScript(BeanShellScriptInterpreter.java:145) at org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:222) at org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:158) at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runPostBuildHook(AbstractInvokerMojo.java:1971) at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1928) at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1598) at org.apache.maven.plugins.invoker.AbstractInvokerMojo.lambda$runBuilds$4(AbstractInvokerMojo.java:1360) at org.apache.maven.plugins.invoker.JobExecutor.lambda$forEach$0(JobExecutor.java:63) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:842) I am running Maven 3.9.9. C:\Apps\axis-axis2-java-core-master>mvn -version Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937) Maven home: C:\Apps\apache-maven-3.9.9 Java version: 17.0.12, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-17 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" I am able to build the axis2.war if I workaround the above error. I get a good HappyAxis page but I get an error when I try to run any methods on web services. !image-2025-02-18-14-06-16-989.png! !image-2025-02-18-14-06-46-202.png! 18-Feb-2025 13:45:52.902 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [AxisServlet] in context with path [/axis2] threw exception org.apache.axiom.om.OMException: java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null at org.apache.axiom.om.impl.common.factory.meta.BuilderSpec.create(BuilderSpec.java:125) at org.apache.axiom.om.impl.common.factory.meta.BuilderSpec.from(BuilderSpec.java:156) at org.apache.axiom.om.impl.llom.factory.AxiomNodeFactoryImpl.createOMBuilder(Unknown Source) at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:164) at org.apache.axis2.builder.BuilderUtil.createPOXBuilder(BuilderUtil.java:270) at org.apache.axis2.kernel.TransportUtils.createDefaultDocumentElement(TransportUtils.java:213) at org.apache.axis2.kernel.TransportUtils.createDocumentElement(TransportUtils.java:201) at org.apache.axis2.kernel.TransportUtils.createSOAPMessage(TransportUtils.java:138) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:161) at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:907) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:303) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:109) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:663) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:842) Caused by: java.net.MalformedURLException: Cannot invoke "String.length()" because "spec" is null at java.base/java.net.URL.<init>(URL.java:708) at java.base/java.net.URL.<init>(URL.java:569) at java.base/java.net.URL.<init>(URL.java:516) at org.apache.axiom.om.impl.common.factory.meta.BuilderSpec.create(BuilderSpec.java:110) ... 32 more Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "spec" is null at java.base/java.net.URL.<init>(URL.java:614) ... 35 more > Axis2 1.8.2 Missing Libraries for Apache Tomcat 11.0.2 > ------------------------------------------------------ > > Key: AXIS2-6080 > URL: https://issues.apache.org/jira/browse/AXIS2-6080 > Project: Axis2 > Issue Type: Bug > Components: transports > Affects Versions: 1.8.2 > Environment: Windows 10, Axis 1.8.2, Apache Tomcat 11.0.2, Java JDK-17 > Reporter: Michael Paul > Priority: Major > Attachments: Axis2 Happiness Page.pdf, > image-2025-02-18-10-19-45-572.png, image-2025-02-18-10-20-57-665.png, > image-2025-02-18-14-06-16-989.png, image-2025-02-18-14-06-46-202.png, > localhost.2025-02-18.log > > > I am attempting to install Axis2 1.8.2 into Apache Tomcat Server 11.0.2. I > get errors from the Axis2 validation page as shown below. Some core > libraries are missing. > > !image-2025-02-18-10-20-57-665.png! -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org