By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,557 Members | 1,184 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,557 IT Pros & Developers. It's quick & easy.

Tomcat 5.0.24 can't see third party packages?!

P: n/a
Hi,
I run Tomcat5.0.24 on Fedora Core 1. I have a jsp site that works
without a problem on a Red Hat 9 box with Tomcat 4, but when I ran it
on Fedora and Tomcat 5.0.24 I get the following 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] Compiling 1 source file

/var/tomcat5/work/Catalina/localhost/WebTest/org/apache/jsp/someJsp_jsp.java:15:
package com.crystaldecisions.sdk.occa.report does not exist
import com.crystaldecisions.sdk.occa.report.*;
^
1 error

I have about 5 jar files containing
com.crystaldecisions.sdk.occa.report.* in
/var/tomcat5/webapps/WebTest/WEB-INF/lib
I have all other jsp working all of them reference packages that are
defined locally.
com.crystaldecisions.sdk.occa.report.* is a third party package and
that is what kills my app. I have seen a posting with the same exact
question but there were no responses.

I would appreciate any help.
Thanks in advance
N.K.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Liza wrote:
Hi,
I run Tomcat5.0.24 on Fedora Core 1. I have a jsp site that works
without a problem on a Red Hat 9 box with Tomcat 4, but when I ran it
on Fedora and Tomcat 5.0.24 I get the following 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] Compiling 1 source file

/var/tomcat5/work/Catalina/localhost/WebTest/org/apache/jsp/someJsp_jsp.java:15:
package com.crystaldecisions.sdk.occa.report does not exist
import com.crystaldecisions.sdk.occa.report.*;
^
1 error

I have about 5 jar files containing
com.crystaldecisions.sdk.occa.report.* in
/var/tomcat5/webapps/WebTest/WEB-INF/lib
I have all other jsp working all of them reference packages that are
defined locally.
com.crystaldecisions.sdk.occa.report.* is a third party package and
that is what kills my app. I have seen a posting with the same exact
question but there were no responses.

I would appreciate any help.
Thanks in advance
N.K.


Hmm, may be a config error in your Tomcat setup,
or you JSP setup -or- incorrect filesystem security
settings on a directory or file.

Try the Tomcat mailing lists:
http://jakarta.apache.org/site/mail2.html#Tomcat
--
Anti-spam address, change each 'X' to '.' to reply directly.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.