org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/META-INF/spring/applicationContext.xml]; nested exception is java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas]

Spring JIRA | Nigel V Thomas | 4 years ago
  1. 0

    After downloading 1.2.2 from http://s3.amazonaws.com/dist.springframework.org/release/ROO/spring-roo-1.2.2.RELEASE.zip Ran the script for expenses, script reported numerous tailoring errors such as {code} field reference --type Employee supervisor Error tailoring, cancelled command execution: You cannot add more than one default option ('supervisor') in a single command ... field number --type java.lang.Double amount Error tailoring, cancelled command execution: You cannot add more than one default option ('amount') in a single command {code} On running mvn gwt:run receive the following error on launching in my default browser (chrome): {code} HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/ApplicationScaffold.html Powered by jetty:// {code} Shell std out is: {code} $ mvn gwt:run [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building extrack 0.1.0.BUILD-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> gwt-maven-plugin:2.2.0:run (default-cli) @ extrack >>> [INFO] [INFO] --- aspectj-maven-plugin:1.2:compile (default) @ extrack --- [WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch] [WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch] [WARNING] advice defined in org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect has not been applied [Xlint:adviceDidNotMatch] [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ extrack --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:2.4:compile (default-compile) @ extrack --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- exec-maven-plugin:1.2:exec (default) @ extrack --- error: error reading /Users/nigelthomas/.m2/repository/org/springframework/spring-jdbc/3.1.1.RELEASE/spring-jdbc-3.1.1.RELEASE.jar; cannot read zip file entry [INFO] [INFO] <<< gwt-maven-plugin:2.2.0:run (default-cli) @ extrack <<< [INFO] [INFO] --- gwt-maven-plugin:2.2.0:run (default-cli) @ extrack --- [INFO] create exploded Jetty webapp in /Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextGetCTM: invalid context 0x0 [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextSetBaseCTM: invalid context 0x0 [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextGetCTM: invalid context 0x0 [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextSetBaseCTM: invalid context 0x0 [INFO] 2012-08-21 20:48:53,008 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started [INFO] 2012-08-21 20:48:53,113 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Aug 21 20:48:53 BST 2012]; root of context hierarchy [INFO] 2012-08-21 20:48:53,197 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/META-INF/spring/applicationContext.xml] [INFO] 2012-08-21 20:48:53,238 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed [INFO] org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/META-INF/spring/applicationContext.xml]; nested exception is java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas] [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) [INFO] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) [INFO] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) [INFO] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) [INFO] at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) [INFO] at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) [INFO] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131) [INFO] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522) [INFO] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436) [INFO] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385) [INFO] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284) [INFO] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [INFO] at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543) [INFO] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [INFO] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) [INFO] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) [INFO] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) [INFO] at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:468) [INFO] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) [INFO] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [INFO] at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) [INFO] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) [INFO] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [INFO] at org.mortbay.jetty.Server.doStart(Server.java:222) [INFO] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) [INFO] at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672) [INFO] at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509) [INFO] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068) [INFO] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811) [INFO] at com.google.gwt.dev.DevMode.main(DevMode.java:311) [INFO] Caused by: java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas] [INFO] at org.springframework.beans.factory.xml.PluggableSchemaResolver.getSchemaMappings(PluggableSchemaResolver.java:153) [INFO] at org.springframework.beans.factory.xml.PluggableSchemaResolver.resolveEntity(PluggableSchemaResolver.java:110) [INFO] at org.springframework.beans.factory.xml.DelegatingEntityResolver.resolveEntity(DelegatingEntityResolver.java:85) [INFO] at org.springframework.beans.factory.xml.ResourceEntityResolver.resolveEntity(ResourceEntityResolver.java:74) [INFO] at com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:107) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:1098) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:599) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2438) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1788) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:711) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3104) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:921) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) [INFO] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) [INFO] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) [INFO] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) [INFO] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) [INFO] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) [INFO] at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75) [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388) [INFO] ... 31 more [INFO] Caused by: java.util.zip.ZipException: invalid LOC header (bad signature) [INFO] at java.util.zip.ZipFile.read(Native Method) [INFO] at java.util.zip.ZipFile.access$1200(ZipFile.java:31) [INFO] at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:459) [INFO] at java.util.zip.ZipFile$1.fill(ZipFile.java:242) [INFO] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) [INFO] at java.io.FilterInputStream.read(FilterInputStream.java:116) [INFO] at java.io.FilterInputStream.read(FilterInputStream.java:90) [INFO] at java.util.Properties$LineReader.readLine(Properties.java:418) [INFO] at java.util.Properties.load0(Properties.java:337) [INFO] at java.util.Properties.load(Properties.java:325) [INFO] at org.springframework.core.io.support.PropertiesLoaderUtils.loadAllProperties(PropertiesLoaderUtils.java:112) [INFO] at org.springframework.beans.factory.xml.PluggableSchemaResolver.getSchemaMappings(PluggableSchemaResolver.java:144) [INFO] ... 54 more {code}

    Spring JIRA | 4 years ago | Nigel V Thomas
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/META-INF/spring/applicationContext.xml]; nested exception is java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas]
  2. 0

    After downloading 1.2.2 from http://s3.amazonaws.com/dist.springframework.org/release/ROO/spring-roo-1.2.2.RELEASE.zip Ran the script for expenses, script reported numerous tailoring errors such as {code} field reference --type Employee supervisor Error tailoring, cancelled command execution: You cannot add more than one default option ('supervisor') in a single command ... field number --type java.lang.Double amount Error tailoring, cancelled command execution: You cannot add more than one default option ('amount') in a single command {code} On running mvn gwt:run receive the following error on launching in my default browser (chrome): {code} HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/ApplicationScaffold.html Powered by jetty:// {code} Shell std out is: {code} $ mvn gwt:run [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building extrack 0.1.0.BUILD-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> gwt-maven-plugin:2.2.0:run (default-cli) @ extrack >>> [INFO] [INFO] --- aspectj-maven-plugin:1.2:compile (default) @ extrack --- [WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch] [WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch] [WARNING] advice defined in org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect has not been applied [Xlint:adviceDidNotMatch] [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ extrack --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:2.4:compile (default-compile) @ extrack --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- exec-maven-plugin:1.2:exec (default) @ extrack --- error: error reading /Users/nigelthomas/.m2/repository/org/springframework/spring-jdbc/3.1.1.RELEASE/spring-jdbc-3.1.1.RELEASE.jar; cannot read zip file entry [INFO] [INFO] <<< gwt-maven-plugin:2.2.0:run (default-cli) @ extrack <<< [INFO] [INFO] --- gwt-maven-plugin:2.2.0:run (default-cli) @ extrack --- [INFO] create exploded Jetty webapp in /Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextGetCTM: invalid context 0x0 [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextSetBaseCTM: invalid context 0x0 [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextGetCTM: invalid context 0x0 [ERROR] Aug 21 20:48:50 Nigels-MacBook-Pro-2.local java[19938] <Error>: CGContextSetBaseCTM: invalid context 0x0 [INFO] 2012-08-21 20:48:53,008 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started [INFO] 2012-08-21 20:48:53,113 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Aug 21 20:48:53 BST 2012]; root of context hierarchy [INFO] 2012-08-21 20:48:53,197 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/META-INF/spring/applicationContext.xml] [INFO] 2012-08-21 20:48:53,238 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed [INFO] org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/META-INF/spring/applicationContext.xml]; nested exception is java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas] [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) [INFO] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) [INFO] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) [INFO] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) [INFO] at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) [INFO] at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) [INFO] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131) [INFO] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522) [INFO] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436) [INFO] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385) [INFO] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284) [INFO] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [INFO] at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543) [INFO] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [INFO] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) [INFO] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) [INFO] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) [INFO] at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:468) [INFO] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) [INFO] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [INFO] at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) [INFO] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) [INFO] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [INFO] at org.mortbay.jetty.Server.doStart(Server.java:222) [INFO] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) [INFO] at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672) [INFO] at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509) [INFO] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068) [INFO] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811) [INFO] at com.google.gwt.dev.DevMode.main(DevMode.java:311) [INFO] Caused by: java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas] [INFO] at org.springframework.beans.factory.xml.PluggableSchemaResolver.getSchemaMappings(PluggableSchemaResolver.java:153) [INFO] at org.springframework.beans.factory.xml.PluggableSchemaResolver.resolveEntity(PluggableSchemaResolver.java:110) [INFO] at org.springframework.beans.factory.xml.DelegatingEntityResolver.resolveEntity(DelegatingEntityResolver.java:85) [INFO] at org.springframework.beans.factory.xml.ResourceEntityResolver.resolveEntity(ResourceEntityResolver.java:74) [INFO] at com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:107) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:1098) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:599) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2438) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1788) [INFO] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:711) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3104) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:921) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) [INFO] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) [INFO] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) [INFO] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) [INFO] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) [INFO] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) [INFO] at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75) [INFO] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388) [INFO] ... 31 more [INFO] Caused by: java.util.zip.ZipException: invalid LOC header (bad signature) [INFO] at java.util.zip.ZipFile.read(Native Method) [INFO] at java.util.zip.ZipFile.access$1200(ZipFile.java:31) [INFO] at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:459) [INFO] at java.util.zip.ZipFile$1.fill(ZipFile.java:242) [INFO] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) [INFO] at java.io.FilterInputStream.read(FilterInputStream.java:116) [INFO] at java.io.FilterInputStream.read(FilterInputStream.java:90) [INFO] at java.util.Properties$LineReader.readLine(Properties.java:418) [INFO] at java.util.Properties.load0(Properties.java:337) [INFO] at java.util.Properties.load(Properties.java:325) [INFO] at org.springframework.core.io.support.PropertiesLoaderUtils.loadAllProperties(PropertiesLoaderUtils.java:112) [INFO] at org.springframework.beans.factory.xml.PluggableSchemaResolver.getSchemaMappings(PluggableSchemaResolver.java:144) [INFO] ... 54 more {code}

    Spring JIRA | 4 years ago | Nigel V Thomas
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/Users/nigelthomas/springsource/spring-roo-1.2.2.RELEASE/samples/expenses/target/extrack-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/META-INF/spring/applicationContext.xml]; nested exception is java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas]
  3. 0

    Publishing to Tomcat v7.0 Server at localhost has encountered problem (Tomcat forum at Coderanch)

    coderanch.com | 8 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/beans.xml]; nested exception is java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Erreur lors de la compilation d'un projet importé

    developpez.net | 1 month ago
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/applicationContext.xml]; nested exception is java.lang.IllegalStateException: Unable to load schema mappings from location [META-INF/spring.schemas]
  6. 0

    Creation of Simple Spring Hibernate Utility Project with Template: app-context file in error

    Stack Overflow | 5 years ago | Pascal
    java.lang.IllegalStateException: Failed to load ApplicationContext

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.zip.ZipException

      invalid LOC header (bad signature)

      at java.util.zip.ZipFile.read()
    2. Java RT
      Properties.load
      1. java.util.zip.ZipFile.read(Native Method)
      2. java.util.zip.ZipFile.access$1200(ZipFile.java:31)
      3. java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:459)
      4. java.util.zip.ZipFile$1.fill(ZipFile.java:242)
      5. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
      6. java.io.FilterInputStream.read(FilterInputStream.java:116)
      7. java.io.FilterInputStream.read(FilterInputStream.java:90)
      8. java.util.Properties$LineReader.readLine(Properties.java:418)
      9. java.util.Properties.load0(Properties.java:337)
      10. java.util.Properties.load(Properties.java:325)
      10 frames
    3. Spring Core
      PropertiesLoaderUtils.loadAllProperties
      1. org.springframework.core.io.support.PropertiesLoaderUtils.loadAllProperties(PropertiesLoaderUtils.java:112)
      1 frame
    4. Spring Beans
      ResourceEntityResolver.resolveEntity
      1. org.springframework.beans.factory.xml.PluggableSchemaResolver.getSchemaMappings(PluggableSchemaResolver.java:144)
      2. org.springframework.beans.factory.xml.PluggableSchemaResolver.resolveEntity(PluggableSchemaResolver.java:110)
      3. org.springframework.beans.factory.xml.DelegatingEntityResolver.resolveEntity(DelegatingEntityResolver.java:85)
      4. org.springframework.beans.factory.xml.ResourceEntityResolver.resolveEntity(ResourceEntityResolver.java:74)
      4 frames
    5. Java RT
      DocumentBuilderImpl.parse
      1. com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:107)
      2. com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:1098)
      3. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:599)
      4. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2438)
      5. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1788)
      6. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:711)
      7. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
      8. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
      9. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3104)
      10. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:921)
      11. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
      12. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      13. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
      14. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
      15. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      16. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
      17. com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232)
      18. com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
      18 frames
    6. Spring Beans
      AbstractBeanDefinitionReader.loadBeanDefinitions
      1. org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
      2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
      3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
      4. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      5. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
      6. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
      7. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
      7 frames
    7. Spring
      XmlWebApplicationContext.loadBeanDefinitions
      1. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
      2. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
      2 frames
    8. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
      2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
      3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
      3 frames
    9. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
      3 frames
    10. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
      5 frames
    11. GWT dev
      JettyLauncher$WebAppContextWithReload.doStart
      1. com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:468)
      1 frame
    12. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      1 frame
    13. Jetty Server
      RequestLogHandler.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      2. org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
      2 frames
    14. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      1 frame
    15. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      2. org.mortbay.jetty.Server.doStart(Server.java:222)
      2 frames
    16. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
      1 frame
    17. GWT dev
      DevMode.main
      1. com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672)
      2. com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
      3. com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
      4. com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
      5. com.google.gwt.dev.DevMode.main(DevMode.java:311)
      5 frames