Jump to content
JasperReports Library 7.0 is now available ×

compiling - External entity not found (DTD)


jin

Recommended Posts

Hello,

 

when I compile jrxml template with my method I get XML parser exception.

 

org.xml.sax.SAXParseException (External entity not found: "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd".)

 

The parser is triing get DTD from internet. How can I tell compiler not to do that?

Thanx for help.

 

Jin

 

Using:

- Jasper 1.3.0

-JDK 1.4.2

 

My method:

 

Code:
private void compileReportToFile2 ( File xmlFile) throws SiraelException {
try {
JasperCompileManager.compileReportToFile (xmlFile.getAbsolutePath ());
} catch ( JRException jrexc) {


throw new SiraelException ( jrexc );
}
}
Link to comment
Share on other sites

  • Replies 1
  • 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...