java.lang.NoClassDefFoundError: org/xml/sax/InputSource

I am using IntelliJ 3 for my JSP/Servlets and Struts application. I have my application directory structure as follows:

C:\webapps --> home directory for my application
C:\webapps\src\books\*.class
C:\webapps\WEB-INF\lib\struts.jar
C:\webapps\WEB-INF\struts*.tld
C:\webapps\WEB-INF\web.xml
C:\webapps\*.jsp

I am using Tomcat 4.1.27 when I run my Web App I get following error in IntelliJ Console wonder why?
-


C:\jdk1.3\bin\javaw.exe -Djava.endorsed.dirs=C:\tomcat4\bin;C:\tomcat4\common\lib -Dcatalina.base=C:\IDEA1\system\tomcat_strutsShop_c6edea57 -Dcatalina.home=C:\tomcat4 -Djava.io.tmpdir=C:\tomcat4\temp -classpath C:\jdk1.3\lib\tools.jar;C:\tomcat4\bin\bootstrap.jar;C:\tomcat4\common\lib\activation.jar;C:\tomcat4\common\lib\ant.jar;C:\tomcat4\common\lib\commons-collections.jar;C:\tomcat4\common\lib\commons-dbcp.jar;C:\tomcat4\common\lib\commons-logging-api.jar;C:\tomcat4\common\lib\commons-pool.jar;C:\tomcat4\common\lib\jasper-compiler.jar;C:\tomcat4\common\lib\jasper-runtime.jar;C:\tomcat4\common\lib\jdbc2_0-stdext.jar;C:\tomcat4\common\lib\jndi.jar;C:\tomcat4\common\lib\jta.jar;C:\tomcat4\common\lib\mail.jar;C:\tomcat4\common\lib\naming-common.jar;C:\tomcat4\common\lib\naming-factory.jar;C:\tomcat4\common\lib\naming-resources.jar;C:\tomcat4\common\lib\servlet.jar;C:\tomcat4\server\lib\catalina-ant.jar;C:\tomcat4\server\lib\catalina.jar;C:\tomcat4\server\lib\commons-beanutils.jar;C:\tomcat4\server\lib\commons-digester.jar;C:\tomcat4\server\lib\commons-fileupload-1.0.jar;C:\tomcat4\server\lib\commons-logging.jar;C:\tomcat4\server\lib\commons-modeler.jar;C:\tomcat4\server\lib\jaas.jar;C:\tomcat4\server\lib\jakarta-regexp-1.2.jar;C:\tomcat4\server\lib\mx4j-jmx.jar;C:\tomcat4\server\lib\servlets-common.jar;C:\tomcat4\server\lib\servlets-default.jar;C:\tomcat4\server\lib\servlets-invoker.jar;C:\tomcat4\server\lib\servlets-manager.jar;C:\tomcat4\server\lib\servlets-webdav.jar;C:\tomcat4\server\lib\tomcat-coyote.jar;C:\tomcat4\server\lib\tomcat-http11.jar;C:\tomcat4\server\lib\tomcat-jk.jar;C:\tomcat4\server\lib\tomcat-jk2.jar;C:\tomcat4\server\lib\tomcat-util.jar;C:\tomcat4\server\lib\tomcat-warp.jar;C:\webapps;C:\jakarta-struts-1.1\lib\struts.jar;C:\jdk1.3\jre\lib\i18n.jar;C:\jdk1.3\jre\lib\jaws.jar;C:\jdk1.3\jre\lib\rt.jar;C:\jdk1.3\jre\lib\sunrsasign.jar;C:\jdk1.3;C:\Tomcat\common\lib\servlet-api.jar org.apache.catalina.startup.Bootstrap start
Process terminated with exit code 1
java.lang.NoClassDefFoundError: org/xml/sax/InputSource
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)
Exception in thread "main"
-


Please sign in to leave a comment.