1
resposta

Erro ao instalar o JBoss no Eclipse

Poderiam me ajudar? Estou instalando o JBoss no Eclipse e me deparei com o erro na hora de iniciar o servidor. Segue abaixo transcrição da console:

Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory could not be instantiated: java.lang.NullPointerException
    at javax.xml.parsers.FactoryFinder.newInstance(Unknown Source)
    at javax.xml.parsers.FactoryFinder.newInstance(Unknown Source)
    at javax.xml.parsers.FactoryFinder.find(Unknown Source)
    at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
    at jdk.xml.internal.JdkXmlUtils.getSAXFactory(Unknown Source)
    at jdk.xml.internal.JdkXmlUtils.<clinit>(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.<init>(Unknown Source)
    at javax.xml.validation.SchemaFactoryFinder._newFactory(Unknown Source)
    at javax.xml.validation.SchemaFactoryFinder.newFactory(Unknown Source)
    at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
    at __redirected.__SchemaFactory.<clinit>(__SchemaFactory.java:66)
    at __redirected.__JAXPRedirected.initAll(__JAXPRedirected.java:88)
    at org.jboss.modules.Module$1.run(Module.java:85)
    at org.jboss.modules.Module$1.run(Module.java:72)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.jboss.modules.Module.<clinit>(Module.java:72)
    at org.jboss.modules.Main.main(Main.java:255)
Caused by: java.lang.NullPointerException
    at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:94)
    at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:87)
    at __redirected.__SAXParserFactory.<init>(__SAXParserFactory.java:102)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    ... 23 more
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
1 resposta

Opa, realmente é um erro bem estranho. Eu faria o download de outra ou da mesma versão do jboss, removeria a atual e adicionaria de novo. Você já fez isso e o erro continuou?