Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 11:52 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.