Jump to content
Changes to the Jaspersoft community edition download ×

Could not instantiate report compiler


Recommended Posts

By: arash bijanzadeh - arashb

Could not instantiate report compiler

2006-04-08 05:04

Trying to use jasperreports with jBoss I get this error message when I call jasperPrint = JasperFillManager.fillReport(jasperReport, map, jr) ;

 

error message is :

net.sf.jasperreports.engine.JRException: Could not instantiate report compiler : net.sf.jasperreports.engine.design.JRJavacCompiler

 

 

 

 

 

 

 

By: Sanjeev Saha - sanjeevsaha

RE: Could not instantiate report compiler

2006-04-08 07:51

"JasperFillManager.fillReport(jasperReport, map, jr) ; "

 

Is the 'jr' parameter an instance of JRDatasSource, JREmptyDataSource or a regular java.sql.Connection?

 

-Sanjeev

 

 

 

 

By: khandan - khandan

RE: Could not instantiate report compiler

2006-04-08 23:15

yes, the jr is a JRDataSource.

 

 

 

 

By: Lucian Chirita - lucianc

RE: Could not instantiate report compiler

2006-04-10 09:04

Could you post the full stack trace?

 

Do you have the full JR jar in the classpath of your application?

 

Regards,

Lucian

Link to comment
Share on other sites

  • 1 year later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I just got the same problem.

I use Jasperreport with Jboss and an xml-datasource.

Running on Windows XP, Jboss 3.2 and Java 1.4 it works.

Running on Linux 6.10 (Ubuntu)

Jboss 4.0.2

Java 1.6.0 it throws a

java.lang.NoClassDefFoundError:

Could not initialize class net.sf.jasperreports.engine.design.JRJavacCompiler

 

Do you have any suggestions on how to solve this?

Link to comment
Share on other sites

  • 7 years later...

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