Tomcat 4.1.x don't find libs to compile the *.jsp

2003-01-08 Thread Matthias Salewski
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: [EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.1.x don't find libs to compile the *.jsp

2003-01-08 Thread Peter Choe
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: [EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat 4.1.x don't find libs to compile the *.jsp

2003-01-08 Thread Wendy Smoak

 did you check the spelling of the jar file?
 you have:
 import usingj2ee.*;
 but you are deploying using2je.jar.

Even so... can you really import a jar file??  News to me... IME you have to
import each package within it, and the name of the jar file is irrelevant
except for making sure it's in the classpath somewhere.

So I'd suggest a 'jar -tvf usingj2ee.jar' and look at the directory
structure within it.  Do those files really all live in a directory called
'usingj2ee' within the .jar file?  And is it definitely in the 'lib'
directory?

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management




RE: Tomcat 4.1.x don't find libs to compile the *.jsp

2003-01-08 Thread Ralph Einfeldt
The name of the jar is not relevant.

The only thing that counts is, wether
a package with the correct name exists 
within the jar or not.

 -Original Message-
 From: Peter Choe [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 08, 2003 5:12 PM
 To: Tomcat Users List
 Subject: Re: Tomcat 4.1.x don't find libs to compile the *.jsp 
 
 did you check the spelling of the jar file?
 
 you have:
 
 import usingj2ee.*;
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]