You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rohan chauhan <ro...@yahoo.com> on 2008/10/22 14:07:19 UTC
FATAL ERROR xpp3 jar... plz help.. its urgent
hi all i'm getting following error even though i specify dependency tag in pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] Building aabb Web
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [andromda-multi-source:add-source {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading itext:itext:0.99
This artifact has been relocated to com.lowagie:itext:0.99.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[copy] Warning: C:\c2 andro\e\aabb\web\src\main\jsp not found.
[INFO] Executed tasks
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to C:\c2 andro\e\aabb\web\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] XPP3 pull parser library not present. Specify another driver. For example
: new XStream(new DomDriver())
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specif
y another driver. For example: new XStream(new DomDriver())
at com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java:
42)
at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java
:29)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781)
at org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(We
bappStructureSerializer.java:73)
at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMo
jo.java:404)
at org.apache.maven.plugin.war.AbstractWarMojo..buildExplodedWebapp(Abstr
actWarMojo.java:375)
at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:181
)
at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:143)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun..reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 43 seconds
[INFO] Finished at: Wed Oct 22 17:36:06 IST 2008
[INFO] Final Memory: 36M/65M
[INFO] ------------------------------------------------------------------------
________________________________
Do not follow where the path may lead. Go instead where there is no path and leave a trail ! ! !
________________________________
________________________________
* Learn to enjoy every minute of your life. Be happy now. Don't wait for
something outside of yourself to make you happy in the future. Think how
really precious is the time you have to spend, whether it's at work or with
your family. Every minute should be enjoyed and savored
by forgetting problems. * - My Thought
________________________________
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
RE: FATAL ERROR xpp3 jar... plz help.. its urgent
Posted by Jörg Schaible <Jo...@scalaris.com>.
Hi Rohan,
rohan chauhan wrote:
> hi all i'm getting following error even though i specify
> dependency tag in pom.xml
>
>
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] Building aabb Web
> [INFO] task-segment: [install]
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] [andromda-multi-source:add-source {execution: default}] [INFO]
> [resources:resources] [INFO] Using default encoding to copy filtered
> resources. [WARNING] While downloading itext:itext:0.99
> This artifact has been relocated to com.lowagie:itext:0.99.
>
>
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
> [copy] Warning: C:\c2 andro\e\aabb\web\src\main\jsp not found.
> [INFO] Executed tasks [INFO] [compiler:compile]
> [INFO] Compiling 3 source files to C:\c2
> andro\e\aabb\web\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources. [INFO]
> [compiler:testCompile] [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [war:war]
> [INFO] Packaging webapp
> [INFO]
> --------------------------------------------------------------
> ----------
> [ERROR] FATAL ERROR
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] XPP3 pull parser library not present. Specify another
> driver. For example
>> new XStream(new DomDriver())
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] Trace
> java.lang.IllegalArgumentException: XPP3 pull parser library
> not present. Specif
> y another driver. For example: new XStream(new DomDriver()) at
> com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java:
> 42) at
> com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java
>> 29)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781)
> at
> org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(We
> bappStructureSerializer.java:73) at
[snip]
Strange. The dependencies of the war plugin are suddenly no longer present! It's missing the xpp3:xpp3_min artifact. Can you run mvn with -X option and post the classpath that is used to run the war:war goal? What happens if you omit the antrun and the andomda-multi-source plugins ?
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org