tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Downey <steve.dow...@netfolio.com>
Subject [PATCH] JSPC broke again - can't find servlet.jar
Date Wed, 14 Mar 2001 16:27:10 GMT
C:\Build\Tomcat-4\jakarta-tomcat-4.0\dist\bin>jspc  -d \tmp\jspc -webapp
..\webapps\examples\jsp
Using CLASSPATH:
..\classes;..\lib\jasper-runtime.jar;..\lib\namingfactory.jar;..\jasper\crim
son.jar;..\jasper\jasper-compiler.jar;..\jasper\jaxp.jar;..\bin\ser
vlet.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/servlet/ServletException
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 
 
patch is straightforward:
 
--- bin/jasper.bat     Tue Mar  6 10:18:44 2001
+++ bin/jasper.bat  Wed Mar 14 10:14:16 2001
@@ -42,7 +42,7 @@
 set CLASSPATH=%JASPER_HOME%\classes
 for %%i in (%JASPER_HOME%\lib\*.jar) do call %JASPER_HOME%\bin\jpappend.bat
%%i
 for %%i in (%JASPER_HOME%\jasper\*.jar) do call
%JASPER_HOME%\bin\jpappend.bat %%i
-set CLASSPATH=%CLASSPATH%;%JASPER_HOME%\bin\servlet.jar
+set CLASSPATH=%CLASSPATH%;%JASPER_HOME%\common\lib\servlet.jar
 echo Using CLASSPATH: %CLASSPATH%
 
 rem ----- Execute The Requested Command
---------------------------------------
<><><><><><><><><><><><><><><><><><><><><>This
electronic mail transmission
may contain confidential information and is intended only for the person(s)
named.  Any use, copying or disclosure by any other person is strictly
prohibited.  If you have received this transmission in error, please notify
the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>

Mime
View raw message