Jump to content
Changes to the Jaspersoft community edition download ×

compile error


Recommended Posts

By: CARLOS ALBERTO SILVA - csilva2001

compile error

2002-12-30 18:05

Hi. I use the code:

String oldSaxDriver = System.setProperty(

"org.xml.sax.driver",

"org.apache.xerces.parsers.SAXParser"

);

 

JasperCompileManager.compileReportToFile("C:\SSS_RPT\rptClasse.xml");

 

if (oldSaxDriver != null)

{

System.setProperty(

"org.xml.sax.driver",

oldSaxDriver

);

}

 

and when execute, I receive the message:

 

javax.servlet.ServletException: loader constraints violated when linking org/xml/sax/SAXParseException class

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)

at org.apache.jsp.pgCrystal$jsp._jspService(pgCrystal$jsp.java:352)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)

 

Anybody could help me?

 

Carlos

 

 

 

 

By: CARLOS ALBERTO SILVA - csilva2001

RE: compile error

2003-01-01 11:27

Hi. It is ok. I fixed the my error.

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