You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Shannon Scott <ss...@gwi.net> on 2003/05/27 21:07:38 UTC
4.0.4 to 4.1.24 Upgrade problems
Hello,
I tried to upgrade to the latest and greatest tomcat version today ( 4.1.24 ), but whenever I try to run my index.jsp, I get the following error.
An error occurred at line: 2 in the jsp file: /index.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] /var/tomcat4/work/Apache-Integrate/192.168.200.63/_/index_jsp.java:7: '.' expected
[javac] import MyBean;
[javac] ^
[javac] /var/tomcat4/work/Apache-Integrate/192.168.200.63/_/index_jsp.java:42: cannot resolve symbol
[javac] symbol : class MyBean
[javac] location: class org.apache.jsp.index_jsp
[javac] MyBean mb = null;
My page starts like this:
<%@ page session="false" %>
<%@ page import="MyBean" %>
<jsp:useBean id="mb" scope="request" class="MyBean"/>
<% ...
Everything was good under the 4.0.4. version.
Any Ideas?
Thank You for Any Help... everything is appreciated.
Shannon
Apache 1.3
Tomcat 4.0.4
Redhat 7.2
JKD 1.4
Re: 4.0.4 to 4.1.24 Upgrade problems
Posted by John Turner <to...@johnturner.com>.
There are two separate errors here...
To resolve the first one, you will need to put JAVA_HOME/bin in your PATH.
For JAVA_HOME, use the value of JAVA_HOME, not the variable itself.
To resolve the second error, I think Yoav has already replied.
John
On Tue, 27 May 2003 15:07:38 -0400, Shannon Scott <ss...@gwi.net> wrote:
> Hello,
> I tried to upgrade to the latest and greatest tomcat version today (
> 4.1.24 ), but whenever I try to run my index.jsp, I get the following
> error.
>
> An error occurred at line: 2 in the jsp file: /index.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] /var/tomcat4/work/Apache-
> Integrate/192.168.200.63/_/index_jsp.java:7: '.' expected
> [javac] import MyBean;
> [javac] ^
> [javac] /var/tomcat4/work/Apache-
> Integrate/192.168.200.63/_/index_jsp.java:42: cannot resolve symbol
> [javac] symbol : class MyBean
> [javac] location: class org.apache.jsp.index_jsp
> [javac] MyBean mb = null;
>
>
> My page starts like this:
>
> <%@ page session="false" %>
> <%@ page import="MyBean" %>
> <jsp:useBean id="mb" scope="request" class="MyBean"/>
> <% ...
>
> Everything was good under the 4.0.4. version.
> Any Ideas?
> Thank You for Any Help... everything is appreciated.
> Shannon
>
> Apache 1.3
> Tomcat 4.0.4
> Redhat 7.2
> JKD 1.4
>
>
>
>
>
>
>
>
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org