wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Problems with Using ReportWriter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Problems with Using ReportWriter" Watch "Problems with Using ReportWriter" New topic

Problems with Using ReportWriter

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
All these lines of code say they can't be resolved in WebSphere.

import com.ibm.xsl.composer.flo.*;
import com.ibm.xsl.composer.areas.*;
import com.ibm.xsl.composer.framework.*;
import com.ibm.xsl.composer.java2d.*;
import com.ibm.xsl.composer.prim.*;
import com.ibm.xsl.composer.properties.*;
import com.ibm.as400.util.reportwriter.processor.*;
import com.ibm.as400.util.reportwriter.pdfwriter.*;
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Perhaps you just need to add a missing JAR or two to the build path of your IDE. (For example, jt400.jar contains com.ibm.as400.util.CommandHelpRetriever and so jt400.jar must be present in the build path in order to use CommandHelpRetriever. I don't know what JARs or other resources contain the classes you're missing.)

Sometimes adding libraries such as JARs to the build path is as simple as copying JAR files to the WEB-INF/lib folder within your project, if it's a web application.

I'm assuming you just need help configuring your IDE, so I'm moving this to the IDEs forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
I have got this issue resolved. However, when I try to run this in my app I get an error:

[6/25/07 12:18:25:580 CDT] 0000003b ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet ReportProcesserServlet. Exception thrown : java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser

My Servlet Code:

My Class Code:

I agree. Here's the link: http://aspose.com/file-tools
subject: Problems with Using ReportWriter