Jump to content
Changes to the Jaspersoft community edition download ×

dori.jasper.engine not found in import ???


Recommended Posts

By: Anne Dirkse - dirkse

dori.jasper.engine not found in import ???

2002-07-10 11:53

Hi Guys --

 

I am having problems getting my Reports to work correctly in a webapp, and hope you can help.

 

The classes that create the reports are in WEB-INF/classes and the jasperreports.jar is in WEB-INF/lib. The exception I am getting is strange, since it says that dori.jasper.engine isn't found, but its a JRException from that same package. Here's the relevant part of the stack trace...

 

dori.jasper.engine.JRException: Errors were encountered when compiling report de

sign:

UnassignedPhotos.java:4: Package dori.jasper.engine not found in import.

import dori.jasper.engine.*;

^

UnassignedPhotos.java:5: Package dori.jasper.engine.fill not found in import.

import dori.jasper.engine.fill.*;

^

UnassignedPhotos.java:17: Superclass JRCalculator of class UnassignedPhotos not

found.

public class UnassignedPhotos extends JRCalculator

^

3 errors

 

at dori.jasper.engine.design.JRCompiler.compileReport(JRCompiler.java:82

)

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCom

pileManager.java:82)

at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCom

pileManager.java:54)

at dori.jasper.engine.JasperManager.compileReportToFile(JasperManager.ja

va:845)

 

Any ideas would be greatly appreciated!

 

Thanks,

Anne

 

 

By: Teodor Danciu - teodord

RE: dori.jasper.engine not found in import ???

2002-07-16 01:32

 

Hi,

 

Put the jasperreports.jar file also in the classpath

when you launch your web server.

You might fins some answers here:

 

http://sourceforge.net/forum/message.php?msg_id=1530535

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...