J
Joe
Hi,
I am running a web application installed using a 3rd party product on
Tomcat 4. I am customising the application and trying to call my own
classes which I have packaged in a JAR.
The web application can call the Jar classes fine (I added the full
path to the classpath in catalina.bat). But when I reference classes
within the web app (under WEB-INF/classes) from my classes within the
JAR it throws a NoClassDefFoundError exception. It seems as though it
can't go back find the classes within the webapp when its reached the
JAR.
I tried adding the classpath the WEB-INF/classes directory which seems
to work but then I get another exception at a later point
javax.servlet.ServletException: org/apache/regexp/RESyntaxException
Am I using external JARs with Tomcat the right way?
Many thanks in advance.
Joe.
I am running a web application installed using a 3rd party product on
Tomcat 4. I am customising the application and trying to call my own
classes which I have packaged in a JAR.
The web application can call the Jar classes fine (I added the full
path to the classpath in catalina.bat). But when I reference classes
within the web app (under WEB-INF/classes) from my classes within the
JAR it throws a NoClassDefFoundError exception. It seems as though it
can't go back find the classes within the webapp when its reached the
JAR.
I tried adding the classpath the WEB-INF/classes directory which seems
to work but then I get another exception at a later point
javax.servlet.ServletException: org/apache/regexp/RESyntaxException
Am I using external JARs with Tomcat the right way?
Many thanks in advance.
Joe.