1
resposta

Erro ao utilizar o wsconsume.sh

Quando tento executar o comando

$ ./wsconsume.sh -k -n -o -v /media/roberto/Documentos/Projetos/Eclipse-Java/estoquews-web/src/ /media/roberto/Documentos/Projetos/Eclipse-Java/estoquews-web/src/EstoqueWSServiceCap5.wsdl

É retornado o erro abaixo:

Estou usando Ubuntu 18.04, com java openjdk version "10.0.1" 2018-04-17 e wildfly 10

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by __redirected.__SAXParserFactory (file:/media/roberto/Documentos/Projetos/Servidores/wildfly-10.0.0.Final/jboss-modules.jar) to constructor com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl()
WARNING: Please consider reporting this to the maintainers of __redirected.__SAXParserFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Could not find log4j.xml configuration, logging to console.

Error: Could not import. (use --verbose to see full traces)
Error: jdk/internal/reflect/ConstructorAccessorImpl
1 resposta

Oi Roberto,

parece ser um problema do wildfly com a versão 10 do JRE. Tem como testar com JRE 9 (ou, melhor, JRE 8)?

abs