You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Roland Kaeser <ro...@israel-jugendtag.ch> on 2003/06/13 18:02:55 UTC

Strange Problem with Tomcat 4.1.24

Hello

I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. 
In my .jsp files I'm using a class for getting the content out of a 
MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun 
JRE 1.4.1 is the same as before. But now, i get the following Output 
when i try to call the jsp Page:

------------------------------------------------------------->
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 202 in the jsp file: /home.jsp

Generated servlet error:
     [javac] Since fork is true, ignoring compiler setting.
     [javac] Compiling 1 source file
     [javac] Since fork is true, ignoring compiler setting.
     [javac] 
/usr/jakarta-tomcat-4.1.24/work/Standalone/localhost/israel/home_jsp.java:178: 
cannot resolve symbol
     [javac] symbol  : variable IsraelMySQL
     [javac] location: class org.apache.jsp.home_jsp
     [javac]       out.print( IsraelMySQL.getNews() );
     [javac]                  ^
<-------------------------------------------------------------

But if I load the the same class from my Servlet-Application it can be 
loaded successfully.

Can andybody help me please? This already gonna drive me crazy.


Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Strange Problem with Tomcat 4.1.24

Posted by shyam <sh...@adamshand.net>.
Do you have the java_home variable set to ur java directory. if not that
might be the problem.
----- Original Message ----- 
From: "Roland Kaeser" <ro...@israel-jugendtag.ch>
To: <to...@jakarta.apache.org>
Sent: Friday, June 13, 2003 12:02 PM
Subject: Strange Problem with Tomcat 4.1.24


> Hello
>
> I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24.
> In my .jsp files I'm using a class for getting the content out of a
> MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun
> JRE 1.4.1 is the same as before. But now, i get the following Output
> when i try to call the jsp Page:
>
> ------------------------------------------------------------->
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> An error occurred at line: 202 in the jsp file: /home.jsp
>
> Generated servlet error:
>      [javac] Since fork is true, ignoring compiler setting.
>      [javac] Compiling 1 source file
>      [javac] Since fork is true, ignoring compiler setting.
>      [javac]
>
/usr/jakarta-tomcat-4.1.24/work/Standalone/localhost/israel/home_jsp.java:17
8:
> cannot resolve symbol
>      [javac] symbol  : variable IsraelMySQL
>      [javac] location: class org.apache.jsp.home_jsp
>      [javac]       out.print( IsraelMySQL.getNews() );
>      [javac]                  ^
> <-------------------------------------------------------------
>
> But if I load the the same class from my Servlet-Application it can be
> loaded successfully.
>
> Can andybody help me please? This already gonna drive me crazy.
>
>
> Roland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org