tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YI,LI (HP-USA,ex1)" <li...@hp.com>
Subject RE: How to force Tomcat to compile?
Date Tue, 05 Feb 2002 18:58:46 GMT
Hi Anja,

I had the same problem when I first start working with JSP.

The only working way I know is restart tomcat, I normally already have all
.java (my beans) copiled with javac first. 

Li

-----Original Message-----
From: Anja Falkner [mailto:anja.falkner@fimedia.de]
Sent: Tuesday, February 05, 2002 14:50
To: Tomcat Users List
Subject: Re: How to force Tomcat to compile?


Hello Reynir,

my JSPs use some Java-Classes. This Java-Classes are positioned in
WEB-INF/classes.
Normally Tomcat compiles this classes by his own.
But if I do some changes in *.java, Tomcat doesn't check, that *.java has
changed and doesn't recompile.
That's the problem.

To found a solution, I have compiled the changed *.java with javac. The
compilation runs without problems.

Then, when I run my application I get a ClassDefNotFoundError. Tomcat don't
want my self-compiled *.class

Anja


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message