Thank you for your help: I have traked the error to the catalina.log file and itis a
classnot found exception. I have made the changes but still am getting the error. I
have included my setenv.bat file to see if there are any errors that are obvious to
every but me.
Any help would again be rea
A problem with the classpath should indicate a classpath related exception,
which essentially is an inability to find a class. Why do you think that
hte java.rmi.ServerException fits into this pattern? If you "don't declare
where the class paths [sic] are for each application" how do you expec
I ran against the same problem and found a solution I'm more or less happy
with (perhaps someone with more experience can correct me if my solution is
crazy.)
If you ABSOLUTELY cannot move your classes into %TOMCAT_HOME%
\common\classes directory, there is another option:
In your %TOMCAT_HOME%\bi
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: P]lptg, 25 Io}kior 2002 02:24:44 ll
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: P]lptg, 25 Io}kior 2002 02:24:44 ll
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: P]lptg, 25 Io}kior 2002 02:24:44 ll
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: ÐÝìðôç, 25 Éïýëéïò 2002 02:24:44 ìì
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
Hi,
You should not have the webapps directory on your classpath. That is
the structure you deploy into. You should have a src tree somewhere
else that's in your classpath for compilation. Please refer to
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
(specifically, the Deplo
Tomcat has its own ClassLoader implementations (in 3.2,
org.apache.tomcat.loader.*) which can pull the classes from the webapps
directory. Look up java.lang.ClassLoader for more info.
-- Bill K.
> -Original Message-
> From: D
the call: System.getProperty("java.class.path")
only returns your System class path -
the jars in /lib and the classes in /classes are dynamically loaded by a
ClassLoader in Tomcat - they do not become a part of your System class path.
Tim Julien
HP Middleware
-Original Message-
From: D
No.
>From: Chris Bailey <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: classpath question
>Date: 11 Apr 2001 11:00:00 -0700
>
>[System: Linux, Tomcat 3.2.1, Apache 1.3.19, mod_jk]
>
>I have a web app that uses several jar files. I have these in a lib
>directory
On Tue, 20 Mar 2001, Mark W. Webb wrote:
> I have placed a prop.properties file in the WEB_INF/lib directory of my
> tomcat context. The servlet keep throwing an Exception saying that it cannot
> find the ResourceBundle. Where should I place this file? From what I have
> read, the prop.pr
MVP Java2.
> -Original Message-
> From: Jian Zhang [mailto:[EMAIL PROTECTED]]
> Sent: 02 February 2001 11:51
> To: '[EMAIL PROTECTED]'
> Subject: RE: ClassPath question?
>
>
> Thanks. I just tried "/usr/local/tomcat/lib/servlet.jar" and
> it w
Thanks. I just tried "/usr/local/tomcat/lib/servlet.jar" and it worked.
I noticed that the first line HelloWorld.java file is
"import java.io.*"
But it did not create any problem on compiling given previous classpath.
Does it mean java libs have some difference from each other?
jian
> As far
As far as classpaths are concerned, you can think of a jar file as a
directory (not a file). That is, unlike files (.class files especially) you
must explicitly specify the jar file on the class path.
That is, to pick up the servlet jar file, specify the following path. You
will have to do a simil
In the CLASSPATH is necessary put the name of the archive, as follow:
/usr/local/tomcat/lib/servlet.jar
--- Jian Zhang <[EMAIL PROTECTED]> escreveu: > Hello;
>
> Can anyone help with this compile error msg:
>
> javac HelloWorld.java
>
> HelloWorld.java:1: Package javax.servlet not found in imp
16 matches
Mail list logo