Jump to content
We've recently updated our Privacy Statement, available here ×

package net.sf.jasperreports.engine does not exist


daniele

Recommended Posts

Hi,

I made a template with a report but when I compile it under Tomcat I found the following error.

 

org.apache.jasper.JasperException: java.lang.RuntimeException: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:

C:WINDOWSsystem32prova_1168868704541_322002.java:4: package net.sf.jasperreports.engine does not exist

 

what am i doing wrong?

 

thanks in advance

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Did you include the other jars like :

 

commons-beanutils-x.x.jar

commons-collections-x.x.jar

commons-digester-x.x.jar

commons-logging-x.x.x.jar

commons-logging-api-x.x.x.jar

itext-x.x.x.jar

jdt-compiler-x.x.x.jar

jxl-x.x.jar

png-encoder-x.x.jar

poi-x.x.x-x.jar

<jdbc-driver>.jar

 

itext-x.x.x.jar needs for export to pdf

jxl-x.x.jar needs for export to excel

 

all files need to be placed in your

<webapps>WEB-INFlib folder

 

May you try this ???

 

Because, if you only jasperreports-x.x.x.jar included and recompile your .jrxml you will be get that error messages, same with my problem.

After include all files listed in above, compiling the .jrxml is no problem...

 

May this can help you.;)

Post edited by: manz_jasper, at: 2007/01/18 00:45

Link to comment
Share on other sites

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...