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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via nabble.com by Unknown author, 1 year ago
/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]] -----------------------------------------------------
via tomcat-dev by Olivier Lamy (*$^¨%`£) (JIRA), 1 year ago
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
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]] -----------------------------------------------------
at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.parseContextFile(AbstractRunMojo.java:589)
at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.createContext(AbstractRunMojo.java:539)
at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:929)
at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:478)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.