9 Replies Latest reply on Jun 4, 2013 6:07 PM by Max Rydahl Andersen

    javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__DocumentBuilderFactory not found

    Juergen Zimmermann Master

      I just tried Eclipse Kepler RC1 and JBoss Tools from http://download.jboss.org/jbosstools/builds/development/4.1.0.Beta1b.core/2013-05-29_02-05-21-B272/all/jbosstools-build-sites.aggregate.site_41-Update-2013-05-29_02-05-21-B272.zip . However, after doing a "Maven > Update Project", then I'm getting this stacktrace followed by a broken workspace. Broken means that when I restart Eclipse to use this workspace, then it crashes.

       

      !ENTRY org.eclipse.core.jobs 4 2 2013-05-30 17:33:24.997

      !MESSAGE An internal error occurred during: "Updating Maven Project".

      !STACK 0

      javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__DocumentBuilderFactory not found

      at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:127)

      at org.eclipse.jdt.internal.core.JavaProject.decodeClasspath(JavaProject.java:912)

      at org.eclipse.jdt.internal.core.JavaProject.readFileEntriesWithException(JavaProject.java:2497)

      at org.eclipse.jdt.internal.core.JavaModelManager$PerProjectInfo.readAndCacheClasspath(JavaModelManager.java:1256)

      at org.eclipse.jdt.internal.core.DeltaProcessor.readRawClasspath(DeltaProcessor.java:556)

      at org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:522)

      at org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:536)

      at org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:536)

      at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:2037)

      at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:470)

      at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)

      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

      at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)

      at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)

      at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:396)

      at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1531)

      at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)

      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

      Caused by: java.lang.ClassNotFoundException: __redirected/__DocumentBuilderFactory

      at java.lang.Class.forName0(Native Method)

      at java.lang.Class.forName(Class.java:266)

      at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:123)

      at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:178)

      at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:147)

      at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:219)

      at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)

      ... 17 more