[ https://issues.apache.org/jira/browse/CXF-7735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved CXF-7735. ------------------------------- Resolution: Duplicate > CXF does not build on Windows 10 > -------------------------------- > > Key: CXF-7735 > URL: https://issues.apache.org/jira/browse/CXF-7735 > Project: CXF > Issue Type: Improvement > Components: Build system > Affects Versions: 3.2.5 > Reporter: Rebecca Searls > Assignee: Freeman Fang > Priority: Major > > OS: Windows 10 > PS C:\Users\Administrator> mvn --version > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > 2015-11-10T17:41:47+01:00) > Maven home: C:\Users\Administrator\maven-3.3.9 > Java version: 9.0.4, vendor: Oracle Corporation > Java home: C:\Users\Administrator\Java\jdk-9.0.4 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos" > building cxf with cmd: mvn -Pfastinstall > ERROR MSG: > [ERROR] Failed to execute goal > org.apache.cxf:cxf-java2ws-plugin:3.2.5-SNAPSHOT:java2ws (process-classes) on > project cxf-systests-java2ws: > [ERROR] Exit code: 1 - The command line is too long. > [ERROR] > [ERROR] Command line was: C:\Users\Administrator\Java\jdk-9.0.4\bin\java.exe > --add-modules java.activation,java.xml.bind,java.xml.ws > --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED > --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED > --add-exports=java.xml/com.sun.org.apache.xerces.internal.impl.xs=ALL-UNNAMED > --add-exports=java.xml.bind/com.sun.xml.internal.bind.marshaller=ALL-UNNAMED > --add-opens java.xml.ws/javax.xml.ws.wsaddressing=ALL-UNNAMED --add-opens > java.base/java.security=ALL-UNNAMED --add-opens > java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED > --add-opens java.base/java.util=ALL-UNNAMED --add-opens > java.base/java.util.concurrent=ALL-UNNAMED > -Djavax.xml.accessExternalSchema=file -DexitOnFinish=true -cp > C:\Users\Administrator\IdeaProjects\cxf\maven-plugins\java2ws-plugin\target\cxf-java2ws-plugin-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\frontend\jaxws\target\cxf-rt-frontend-jaxws-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;C:\Users\Administrator\.m2\repository\org\ow2\asm\asm\5.2\asm-5.2.jar;C:\Users\Administrator\IdeaProjects\cxf\core\target\cxf-core-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;C:\Users\Administrator\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\Administrator\.m2\repository\org\apache\ws\xmlschema\xmlschema-core\2.2.3\xmlschema-core-2.2.3.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\bindings\soap\target\cxf-rt-bindings-soap-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\databinding\jaxb\target\cxf-rt-databinding-jaxb-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\bindings\xml\target\cxf-rt-bindings-xml-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\ws\addr\target\cxf-rt-ws-addr-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\ws\policy\target\cxf-rt-ws-policy-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\apache\neethi\neethi\3.1.1\neethi-3.1.1.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\frontend\simple\target\cxf-rt-frontend-simple-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\wsdl\target\cxf-rt-wsdl-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\codehaus\plexus\plexus-utils\2.0.5\plexus-utils-2.0.5.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\common\target\cxf-tools-common-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\apache\velocity\velocity-engine-core\2.0\velocity-engine-core-2.0.jar;C:\Users\Administrator\.m2\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;C:\Users\Administrator\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\Administrator\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\Administrator\.m2\repository\wsdl4j\wsdl4j\1.6.3\wsdl4j-1.6.3.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2.11\jaxb-xjc-2.2.11.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-core\2.2.11\jaxb-core-2.2.11.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.11\jaxb-impl-2.2.11.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\javato\ws\target\cxf-tools-java2ws-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\wsdlto\core\target\cxf-tools-wsdlto-core-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\validator\target\cxf-tools-validator-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\wsdlto\databinding\jaxb\target\cxf-tools-wsdlto-databinding-jaxb-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\wsdlto\frontend\jaxws\target\cxf-tools-wsdlto-frontend-jaxws-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\apache\commons\commons-text\1.2\commons-text-1.2.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\javascript\javascript-rt\target\cxf-rt-javascript-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\databinding\aegis\target\cxf-rt-databinding-aegis-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\systests\wsdl_maven\java2ws\target\classes;C:\Users\Administrator\IdeaProjects\cxf\systests\wsdl_maven\java2ws\target\classes;C:\Users\Administrator\IdeaProjects\cxf\rt\frontend\jaxws\target\cxf-rt-frontend-jaxws-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;C:\Users\Administrator\.m2\repository\org\ow2\asm\asm\5.2\asm-5.2.jar;C:\Users\Administrator\IdeaProjects\cxf\core\target\cxf-core-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;C:\Users\Administrator\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\Administrator\.m2\repository\org\apache\ws\xmlschema\xmlschema-core\2.2.3\xmlschema-core-2.2.3.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\bindings\soap\target\cxf-rt-bindings-soap-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\wsdl\target\cxf-rt-wsdl-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\databinding\jaxb\target\cxf-rt-databinding-jaxb-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\bindings\xml\target\cxf-rt-bindings-xml-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\frontend\simple\target\cxf-rt-frontend-simple-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\ws\addr\target\cxf-rt-ws-addr-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\ws\policy\target\cxf-rt-ws-policy-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\apache\neethi\neethi\3.1.1\neethi-3.1.1.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\common\target\cxf-tools-common-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\apache\velocity\velocity-engine-core\2.0\velocity-engine-core-2.0.jar;C:\Users\Administrator\.m2\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;C:\Users\Administrator\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\Administrator\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\Administrator\.m2\repository\wsdl4j\wsdl4j\1.6.3\wsdl4j-1.6.3.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2.11\jaxb-xjc-2.2.11.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-core\2.2.11\jaxb-core-2.2.11.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.11\jaxb-impl-2.2.11.jar;;C:\Users\Administrator\IdeaProjects\cxf\rt\frontend\jaxws\target\cxf-rt-frontend-jaxws-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;C:\Users\Administrator\.m2\repository\org\ow2\asm\asm\5.2\asm-5.2.jar;C:\Users\Administrator\IdeaProjects\cxf\core\target\cxf-core-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;C:\Users\Administrator\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\Administrator\.m2\repository\org\apache\ws\xmlschema\xmlschema-core\2.2.3\xmlschema-core-2.2.3.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\bindings\soap\target\cxf-rt-bindings-soap-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\wsdl\target\cxf-rt-wsdl-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\databinding\jaxb\target\cxf-rt-databinding-jaxb-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\bindings\xml\target\cxf-rt-bindings-xml-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\frontend\simple\target\cxf-rt-frontend-simple-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\ws\addr\target\cxf-rt-ws-addr-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\IdeaProjects\cxf\rt\ws\policy\target\cxf-rt-ws-policy-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\apache\neethi\neethi\3.1.1\neethi-3.1.1.jar;C:\Users\Administrator\IdeaProjects\cxf\tools\common\target\cxf-tools-common-3.2.5-SNAPSHOT.jar;C:\Users\Administrator\.m2\repository\org\apache\velocity\velocity-engine-core\2.0\velocity-engine-core-2.0.jar;C:\Users\Administrator\.m2\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;C:\Users\Administrator\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\Administrator\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\Administrator\.m2\repository\wsdl4j\wsdl4j\1.6.3\wsdl4j-1.6.3.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2.11\jaxb-xjc-2.2.11.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-core\2.2.11\jaxb-core-2.2.11.jar;C:\Users\Administrator\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.11\jaxb-impl-2.2.11.jar; > org.apache.cxf.tools.java2ws.JavaToWS -o > C:\Users\Administrator\IdeaProjects\cxf\systests\wsdl_maven\java2ws\target\generated\wsdl\HelloWorld.wsdl > -wsdl -verbose org.apache.cxf.systests.java2ws.HelloWorld > [ERROR] -> [Help 1] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)