You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by lqn <lo...@free.fr> on 2003/05/18 10:05:48 UTC

TDK 2.2 integration in NetBeans 3.5 RC1

Hi,

I want to develop and debug my turbine webapp within NetBeans 3.5 RC1.
NetBeans 3.5 RC1 is bundled with Tomcat 4.0.6.

After loading container servlet default, the following error message appears
:
StandardContext[]: Servlet threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94
6)
    ...
---- Root Cause -----
java.lang.NoClassDefFoundError : org/w3c/dom/DOMErrorHandler
    at java.lang.ClassLoader.defineClass0(Native Method)
    ...
    ...
    ...
    at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader:1643)
    ...
    at
org.apache.xerces.dom.CoreDocumentImpl.<init>(CoreDocumentImpl.java:173)
    ...

I have tried with SunOne (Tomcat 4.0.1), with no more success.

My analysis is that the problem stems from the version of Xerces that
shipped with the TDK vs the version of Xerces that is shipped with Tomcat.
Apparently, the DOMErrorHandler is a DOM level 3 addition. Tomcat uses it,
while the TDK doesn't.

What would be the best solution to my problem ?

Is it possible to simply upgrade the tdk xerces-2.0.2.jar to a newer version
(2.4 ?) ? What would be the possible consequences on other parts of the TDK
?

Thanks in advance for any help ...

                                                            Loïc QUERAN


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org