NoClassDefFoundError: org/w3c/dom/ElementTraversal
Mustapha Aoussar
mustapha.aoussar at gmail.com
Tue Jul 9 08:55:12 EDT 2013
Yes this is the correct list, and i have exactly that files in:
[stakkit at net2 jetty]$ cd /home/stakkit/opt/*shibboleth-idp/lib/endorsed*
[stakkit at net2 endorsed]$ ls
serializer-2.10.0.jar xalan-2.7.1.jar xercesImpl-2.10.0.jar
xml-apis-2.10.0.jar xml-resolver-1.2.jar
but i copied only xalan-2.7.1.jar xercesImpl-2.10.0.jar to
[stakkit at net2 endorsed]$ cd /home/stakkit/webapps*/jetty/lib/endorsed*
[stakkit at net2 endorsed]$ ls
xalan-2.7.1.jar xercesImpl-2.10.0.jar
2013/7/9 Paul Hethmon <paul.hethmon at clareitysecurity.com>
> What about xml-apis? You should have a few more in there:
>
> serializer-2.10.0.jar
> xalan-2.7.1.jar
> xercesImpl-2.10.0.jar
> xml-apis-2.10.0.jar
> xml-resolver-1.2.jar
>
> I believe that is the correct list (barring updated versions), but the
> wiki should note what packages to endorse. The xalan/xerces documentation
> should also tell you what needs to be endorsed.
>
> Paul
>
> From: Mustapha Aoussar <mustapha.aoussar at gmail.com>
> Reply-To: Shibboleth Users <users at shibboleth.net>
> Date: Tuesday, July 9, 2013 8:38 AM
> To: Shibboleth Users <users at shibboleth.net>
> Subject: Re: NoClassDefFoundError: org/w3c/dom/ElementTraversal
>
> Thank you so much, but I already did it. I copied the *xalan-2.7.1.jar*and
> *xercesImpl-2.10.0.jar* correctly to JETTY_HOME/lib/endorsed/ and I added
> the following line to *start.ini*: -Djava.endorsed.dirs=lib/endorsed I
> followed all the steps of this guide:
> https://wiki.shibboleth.net/confluence/display/SHIB2/IdPJetty7Prepare.
>
>
> 2013/7/9 Paul Hethmon <paul.hethmon at clareitysecurity.com>
>
>> You need to properly endorse xalan and xerces for use with your
>> container (Jetty). Check the wiki for the information on how to do this and
>> what it means.
>>
>> Paul
>>
>> From: Mustapha Aoussar <mustapha.aoussar at gmail.com>
>> Reply-To: Shibboleth Users <users at shibboleth.net>
>> Date: Tuesday, July 9, 2013 8:08 AM
>> To: Shibboleth Users <users at shibboleth.net>
>> Subject: NoClassDefFoundError: org/w3c/dom/ElementTraversal
>>
>> Hello!
>> I tried to install and run the *Shibboleth IdP* under *Jetty 7*, but I
>> got this error:
>> *java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal*
>>
>> See the complete error here: *http://pastebin.com/idFBgnjd*
>>
>> I opened a ticket in my web host to ask for help about this problem,
>> and they answered as follows:
>>
>> You need to make sure that the xml-apis-2.10.0.jar file is properly
>> included on your CLASSPATH. I tried to get this working for you, but it
>> looks like there is some code inside the program that is overriding the
>> environment's CLASSPATH settings. I suggest that you start simple -- just a
>> test Java program that tries to import the ElementTraversal class, and
>> build up from there until you understand the obstacle that is preventing
>> your app from starting.
>>
>>
>> but unfortunately i don't know to programming in java. So how can I
>> solve this problem?
>> Thank you very much for any help! :)
>>
>> Best regards!
>>
>> --
>> To unsubscribe from this list send an email to
>> users-unsubscribe at shibboleth.net
>>
>
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130709/7451c678/attachment-0001.html
More information about the users
mailing list