You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2015/12/03 11:18:10 UTC

[jira] [Resolved] (SLING-5347) java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal

     [ https://issues.apache.org/jira/browse/SLING-5347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Lietz resolved SLING-5347.
---------------------------------
    Resolution: Not A Problem

> java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
> ------------------------------------------------------------
>
>                 Key: SLING-5347
>                 URL: https://issues.apache.org/jira/browse/SLING-5347
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Thymeleaf 0.0.6
>         Environment: Sling Launchpad 8
>            Reporter: Helge-Frank Zimpel
>            Assignee: Oliver Lietz
>         Attachments: SLING-5347.patch
>
>
> See https://issues.apache.org/jira/browse/SLING-4425. I've tried to remove {{org.apache.sling.fragment.xml}} and replace it with {{org.apache.servicemix.specs/org.apache.servicemix.specs.jaxp-api-1.4/2.4.0}} using {{Sling Launchpad 8}}. This results into incompatibilities after restarting Sling:
> Reported exception:
> ch.qos.logback.core.joran.spi.JoranException: Parser configuration error occurred
> 	at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:88)
> 	at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:59)
> 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:134)
> 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
> 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
> 	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
> 	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
> 	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
> 	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
> 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:129)
> 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
> 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302)
> 	at org.apache.sling.commons.log.logback.internal.Activator.isSlf4jInitialized(Activator.java:108)
> 	at org.apache.sling.commons.log.logback.internal.Activator.start(Activator.java:54)
> 	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
> 	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2220)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:2138)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1365)
> 	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
> 	at java.lang.Thread.run(Thread.java:724)
> Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
> 	at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:115)
> 	at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:81)
> 	... 19 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)