YES, it very much could be...I'd updated my JRE from it's current level
and then stuff did not compile afterward either.
And I'm also using 4.1.
I'm at the point where I badly need to update my JDK, Tomcat version and
JRE to get in the 21st century, but unfortunately, I've got some
opposition at
You should take a look at your logs for the source of the error. It may
be a difference between the JVM tomcat runs on and the JVM used to build
the new class, but that will be indicated in the logs.
--David
cfrankland wrote:
Hi,
I am a bit new to Tomcat, but have a really quick question.
Alright, I will take a look. This may seem like a daft question, but I am
compiling the class using Eclipse and it utilizes two other classes with
import statements. I have those classes in my same Eclipse work environment,
but I am only compiling and deploying the single class that I need. I
It shouldn't be a problem as long as:
1. The Java version in your Eclipse environment matches the Java version
of your tomcat server
2. The classes of your webapp stay in sync between Eclipse and Tomcat.
The second of those two is harder than the first. I would personally
recommend you