Total Pageviews

2011/06/15

net.sf.jasperreports.engine.JRException: Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found

Problem
As I use iReport 4.0.2 to open jrxml file, but it show this error message:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
    at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134)
    at org.netbeans.lib.uihandler.LogRecords.scan(LogRecords.java:127)
    at org.netbeans.modules.uihandler.Installer.getLogs(Installer.java:681)
    at org.netbeans.modules.uihandler.Installer$Submit.(Installer.java:1317)
    at org.netbeans.modules.uihandler.Installer$SubmitInteractive.(Installer.java:1771)
    at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:983)
    at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:912)
    at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:920)
    at org.netbeans.modules.uihandler.UIHandler.run(UIHandler.java:140)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)


Solution
Change your JAVA_HOME to standard JDK instead of IBM JDK.
WHAT THE HELL!

No comments: