You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matthias Salewski <ms...@csc.com> on 2003/01/08 16:44:08 UTC
Tomcat 4.1.x don't find libs to compile the *.jsp
Hallo,
I include in my jsp - File an private-lib as follows
...
<%@ page language="java" import="java.util.*,usingj2ee.*" %>
...
When I call this Page, I get error message
...
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] Compiling 1 source file
C:
\Adler\JBoss\tomcat-4.1.x\work\Standalone\localhost\login\Login_jsp.java:8:
package usingj2ee does not exist
import usingj2ee.*;
^
1 error
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
...
I deploy usingj2e.jar in directory ..\WEB-INF\lib but the same error.
I also copy this File in directory ..\shared\lib and in ..\common\lib but
the same result.
Can you help me!
Thanks!
Matthias Salewski
CSC Ploenzke AG
Business-Center-Administration
Abraham-Lincoln-Park 1
65189 Wiesbaden
Germany
Tel.: 0611 142 21295
Fax.: 0611 142 921295
e-Mail: msalewsk@csc.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Tomcat 4.1.x don't find libs to compile the *.jsp
Posted by Peter Choe <ch...@mindspring.com>.
did you check the spelling of the jar file?
you have:
import usingj2ee.*;
but you are deploying using2je.jar.
At 10:44 AM 1/8/2003, you wrote:
>Hallo,
>
>I include in my jsp - File an private-lib as follows
>...
><%@ page language="java" import="java.util.*,usingj2ee.*" %>
>...
>When I call this Page, I get error message
>...
>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] Compiling 1 source file
>
>C:
>\Adler\JBoss\tomcat-4.1.x\work\Standalone\localhost\login\Login_jsp.java:8:
>package usingj2ee does not exist
>import usingj2ee.*;
>^
>1 error
>
>
> at
>org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
>
> at
>org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
>
> at
>org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
> at
>org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
>...
>
>
>
>
>I deploy usingj2e.jar in directory ..\WEB-INF\lib but the same error.
>I also copy this File in directory ..\shared\lib and in ..\common\lib but
>the same result.
>
>Can you help me!
>Thanks!
>
>Matthias Salewski
>
>CSC Ploenzke AG
>Business-Center-Administration
>Abraham-Lincoln-Park 1
>65189 Wiesbaden
>Germany
>
>Tel.: 0611 142 21295
>Fax.: 0611 142 921295
>e-Mail: msalewsk@csc.com
>
>
>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>