Ola, bom dia! Estou tentando rodar gerar algumas classes java a partir do WSDL, executando o sh wsconsume com o wildfly 8.0 (JBOSS), porem no momento da execucao da shell ocorre o erro abaixo.
Estou utilizando o servidor Wildfly 8.0 Versao JRE - JavaSE 1.8 [1.8.333.02]
./wsconsume.sh -k -n -o /Users/rafaelmcorrea/Desktop/Alura/JAX-WS/estoquews-web/src/ /Users/rafaelmcorrea/Desktop/Alura/JAX-WS/estoquews-web/src/EstoqueWSServiceCap5.wsdl Exception in thread "main" javax.xml.transform.TransformerFactoryConfigurationError: Provider com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl could not be instantiated: java.lang.reflect.InvocationTargetException at java.xml/javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:181) at java.xml/javax.xml.transform.FactoryFinder.find(FactoryFinder.java:257) at java.xml/javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:126) at redirected.TransformerFactory.(TransformerFactory.java:69) at __redirected.JAXPRedirected.initAll(JAXPRedirected.java:78) at org.jboss.modules.Module$1.run(Module.java:131) at org.jboss.modules.Module$1.run(Module.java:118) at java.base/java.security.AccessController.doPrivileged(AccessController.java:312) at org.jboss.modules.Module.(Module.java:118) at org.jboss.modules.Main.main(Main.java:376) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78) 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 java.xml/javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:169) ... 9 more Caused by: javax.xml.parsers.FactoryConfigurationError: Provider __redirected.SAXParserFactory could not be instantiated: java.lang.reflect.InvocationTargetException at java.xml/javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:198) at java.xml/javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:147) at java.xml/javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:226) at java.xml/javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:219) at java.xml/jdk.xml.internal.JdkXmlUtils.getSAXFactory(JdkXmlUtils.java:379) at java.xml/jdk.xml.internal.JdkXmlUtils.(JdkXmlUtils.java:118) at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.(TransformerFactoryImpl.java:260) ... 15 more Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78) 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 java.xml/javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:187) ... 21 more Caused by: java.lang.IllegalAccessError: class redirected.SAXParserFactory cannot access class com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.jaxp to unnamed module @40f9161a at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:385) at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:687) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:489) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at redirected.SAXParserFactory.(__SAXParserFactory.java:110) ... 27 more