Hello
I'm back in bussines but I've changed version of Tomcat
from 3.X to 4.1.24. And bean-problems appears!
Here's my configuration:
Tomcat: Tomcat/4.1.24-LE-jdk14
JSDK: j2sdk1.4.2_03
WIN2000
And this is my error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
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] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\rog\jsp\select_zmiana_jsp.java:50: cannot
access beanservlets.Select_zmiana
[javac] bad class file: C:\Program Files\Apache Group\Tomcat
4.1\webapps\rog\WEB-INF\classes\beanservlets\Select_zmiana.class
[javac] class file contains wrong class: Select_zmiana
[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
[javac] beanservlets.Select_zmiana select_zmiana = null;
[javac] ^
[javac] 1 error
I've found on this mailing-list that my problems are related with packages.
Well, in my java file I've declared use of beanservlets package and I've
created directory:
C:\Program Files\Apache Group\Tomcat
4.1\webapps\rog\WEB-INF\classes\beanservlets
And in mu jsp file I've loaded my bean just like this:
<jsp:useBean class="beanservlets.Select_zmiana" id="select_zmiana" />
But it looks that I must change something with my CLASSPATH. Am I right?
Greetings
Wojtek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]