cancel
Showing results for 
Search instead for 
Did you mean: 

Java classes missing but compiled in the war file? Help!

Former Member
0 Kudos

I have installed XI and XI server on my Win2k Server. I have JDK 1.4 and am happily running Jrun4 Java server. When I installed Crystal, I chose Tomcat to host the server settings. I know that there is Webcompadapter.WAR that I need to reload with the right settings and that it has the com.crystaldecisions.* classes and I did that, I modded my CRConfig.XML file to point the classpath to the directories but I get this error:

****************************************

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:

C:\Program Files\Business Objects\Tomcat\work\Catalina\localhost\_\org\apache\jsp\test\jrc_005fexport_005freport_jsp.java:6: package com.crystaldecisions.reports.sdk does not exist

import com.crystaldecisions.reports.sdk.*;

^

import com.crystaldecisions.sdk.occa.report.reportsource.*;

^

import com.crystaldecisions.sdk.occa.report.lib.*;

^

import com.crystaldecisions.sdk.occa.report.exportoptions.*;

^

import com.crystaldecisions.report.web.viewer.*;

^

****************************************

I shortened the error, those are the files I'm 'missing'. How do I configure this?

I am trying to get JSP to show the RPTs and this is frustrating.

Thanks for any help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You appear to be mixing various components that aren't necessarily meant to be mixed. I'm inferring from your description that you've installed Crystal Reports Server, you've installed the Java Web Apps for CR Server, but you're trying to run a sample based on the Java Reporting Component.

The Crystal Report Server Enterprise and Report Application Server SDKs are separate from the Java Reporting Component. Furthermore, the WebComponentAdapter is used for URL reporting and executing CSP and CWR pages, and aren't needed for the Java Reporting Component.

If you want to run the Java Reporting Component, you'll need to deploy its jar files.

I recommend referring to the Developer Library:

http://diamond.businessobjects.com/developer/library

and look up the documentation for the JRC.

Sincerely,

Ted Ueda

Answers (0)