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

addElement() Exception


2005 IR Help

Recommended Posts

By: ranjithsmail - ranjithsmail

addElement() Exception

2004-06-23 14:43

Hi,

 

When i execute the following code i get error like

 

java.lang.NoSuchMethodException: No such accessible method: addElement() on obje

ct: dori.jasper.engine.xml.JRXmlLoader

 

Please help me.

 

<%

File reportFile = new File(application.getRealPath("/reports/DBreport.xml"));

System.out.println(reportFile.getAbsolutePath());

 

JasperDesign jrDesign = JasperManager.loadXmlDesign(reportFile.getAbsolutePath());

dori.jasper.engine.design.JRBshCompiler theCompiler = new dori.jasper.engine.design.JRBshCompiler();

JasperReport result = theCompiler.compileReport(jrDesign);

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