shivkant84 Posted March 17, 2010 Share Posted March 17, 2010 Hi All,I am trying to upgrade my application to 3.7.1 version. Initially my application was using jasperreports-1.3.2 but after replacing by jasperreports-3.7.1 version i am getting following error.java.lang.IllegalArgumentException: When using array of Objects as the value of SCHEMA_SOURCE property , no two Schemas should share the same targetNamespace. at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(Unknown Source)I have attched jrxml and stacktrace with this post too.ThanksShivkantCode:java.lang.IllegalArgumentException: When using array of Objects as the value of SCHEMA_SOURCE property , no two Schemas should share the same targetNamespace. org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(Unknown Source) org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source) org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) org.apache.xerces.parsers.XMLParser.parse(Unknown Source) org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) org.apache.commons.digester.Digester.parse(Digester.java:1647) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:235) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:222) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:210) net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:199) com.openq.web.controllers.ReportsUserController.handleRequestInternal(ReportsUserController.java:65) org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) Link to comment Share on other sites More sharing options...
shivkant84 Posted March 18, 2010 Author Share Posted March 18, 2010 Could some one help us in this issue as we are blocked with this issue.I am using following versions of jars:- commons-beanutils-1.7.jar- commons-collections-2.1.1.jar- commons-digester-1.7.jar- commons-logging-1.0.4.jar- jasperreports-3.7.1.jar- xercesImpl-2.7.0.jar- xerces-2.4.0.jar- xalan-2.4.0.jar- spring.jar [version 1.2.8]- jcommon-1.0.0.jar- jdt-compiler-3.1.1.jar- jfreechart-1.0.0.jar Let us know if i am using wrong version of jars? Link to comment Share on other sites More sharing options...
shivkant84 Posted March 26, 2010 Author Share Posted March 26, 2010 This problem was resolved after removing xerces-2.4.0.jar and upgrading xalan jar to 2.6.0 version. Link to comment Share on other sites More sharing options...
shridevica Posted May 19, 2012 Share Posted May 19, 2012 it worked by removing xerces-2.4.0.jar for me.....thanks a lot..... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now