java.lang.NoSuchMethodError: javax.xml.stream.XMLInputFactory.newFactory()  error for 2.1-SNAPSHOT and 2.0-RELEASE ------------------------------------------------------------------------------------------------------------------                 Key: MTOMCAT-183                 URL: >             Project: Apache Tomcat Maven Plugin          Issue Type: Bug          Components: tomcat7    Affects Versions: 2.0         Environment: os: win7-64x  jdk: jdk1.6.0_12  maven:apache-maven-3.0.4            Reporter: ZHANG Frank            Assignee: Olivier Lamy (*$^¨%`£)              Labels: maven   Original Estimate: 12h  Remaining Estimate: 12h when run tomcat7:run, errors as follow: ... urls[45] = file:/C:/Users/Administrator/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[46] = file:/C:/Users/Administrator/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar Number of foreign imports: 1 import: Entry[import  from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------

nabble.com | 4 months ago
  1. 0

    [jira] [Closed] (MTOMCAT-183) java.lang.NoSuchMethodError: javax.xml.stream.XMLInputFactory.newFactory() error for 2.1-SNAPSHOT and 2.0-RELEASE

    tomcat-dev | 3 years ago | Olivier Lamy (*$^¨%`£) (JIRA)
    java.lang.NoSuchMethodError: javax.xml.stream.XMLInputFactory.newFactory() error for 2.1-SNAPSHOT and 2.0-RELEASE ------------------------------------------------------------------------------------------------------------------ Key: MTOMCAT-183 URL: https://issues.apache.org/jira/browse/MTOMCAT-183 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.0 Environment: os: win7-64x jdk: jdk1.6.0_12 maven:apache-maven-3.0.4 Reporter: ZHANG Frank Assignee: Olivier Lamy (*$^¨%`£) Labels: maven Original Estimate: 12h Remaining Estimate: 12h when run tomcat7:run, errors as follow: ... urls[45] = file:/C:/Users/Administrator/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[46] = file:/C:/Users/Administrator/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  2. 0

    Tomcat - Dev - [jira] [Closed] (MTOMCAT-183) java.lang.NoSuchMethodError: javax.xml.stream.XMLInputFactory.newFactory() error for 2.1-SNAPSHOT and 2.0-RELEASE

    nabble.com | 4 months ago
    java.lang.NoSuchMethodError: javax.xml.stream.XMLInputFactory.newFactory()  error for 2.1-SNAPSHOT and 2.0-RELEASE ------------------------------------------------------------------------------------------------------------------                 Key: MTOMCAT-183                 URL: >             Project: Apache Tomcat Maven Plugin          Issue Type: Bug          Components: tomcat7    Affects Versions: 2.0         Environment: os: win7-64x  jdk: jdk1.6.0_12  maven:apache-maven-3.0.4            Reporter: ZHANG Frank            Assignee: Olivier Lamy (*$^¨%`£)              Labels: maven   Original Estimate: 12h  Remaining Estimate: 12h when run tomcat7:run, errors as follow: ... urls[45] = file:/C:/Users/Administrator/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[46] = file:/C:/Users/Administrator/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar Number of foreign imports: 1 import: Entry[import  from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  3. 0

    NoClassDefFoundError in JBoss Console at Startup

    Google Groups | 3 years ago | Hovanes Gambaryan
    java.lang.NoSuchMethodError: javax.xml.stream.XMLInputFactory.newFactory()Ljavax/xml/stream/XMLInputFactory;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DSpace - Tech - DSpace 5.1 & oai

    nabble.com | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DSpaceOAIDataProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.dspace.xoai.services.api.cache.XOAICacheService org.dspace.xoai.controller.DSpaceOAIDataProvider.cacheService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xoaiCacheService' defined in class path resource [org/dspace/xoai/app/BasicConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.xoai.services.api.cache.XOAICacheService org.dspace.xoai.app.BasicConfiguration.xoaiCacheService()] threw exception; nested exception is java.lang.NoSuchMethodError: org.codehaus.stax2.XMLInputFactory2.newFactory()Ljavax/xml/stream/XMLInputFactory;
  6. 0

    Can not open Workspace in Enterprise Edition Studio on Windows, but I can on Community Edition Studio

    Stack Overflow | 2 years ago | user3407479
    java.lang.NoSuchMethodError: javax/xml/stream/XMLInputFactory.newFactory()Ljavax/xml/stream/XMLInputFactory;

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

      javax.xml.stream.XMLInputFactory.newFactory()Ljavax/xml/stream/XMLInputFactory;

      at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.parseContextFile()
    2. org.apache.tomcat
      AbstractRunMojo.execute
      1. org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.parseContextFile(AbstractRunMojo.java:589)
      2. org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.createContext(AbstractRunMojo.java:539)
      3. org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:929)
      4. org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:478)
      4 frames
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      2. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      3. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:139)
      3 frames
    4. Maven Core
      MojoExecutor.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      1 frame