On Fri, May 22, 2009 at 4:41 PM, fachhoch <[email protected]> wrote:
> > my mvn version > > Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) > Java version: 1.6.0_11 > Java home: C:\Program Files\Java\jdk1.6.0_11\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > > this is the same version and still I am getting this error . > sairam The war PLUGIN version has been fixed. It has nothing to do with Maven. Lock down the war plugin to 2.1-beta-1. S. > > > > > snicoll wrote: > > > > It's a bug of the war plugin that has been fixed a while back. Please use > > the latest version. > > > > S. > > > > On Tue, May 19, 2009 at 8:55 PM, tubin gen <[email protected]> wrote: > > > >> my project has subprojects one for ear , one for war and one for jar > . > >> > >> > >> I get this error when I run mvn install > >> > >> > >> java.lang.NullPointerException > >> at > >> > >> > org.apache.maven.plugin.war.util.WebappStructure.getDependencies(WebappStructure.java:109) > >> at > >> > >> > org.apache.maven.plugin.war.util.WebappStructure.analyseDependencies(WebappStructure.java:288) > >> at > >> > >> > org.apache.maven.plugin.war.packaging.DependenciesAnalysisPackagingTask.performPackaging(DependenciesAnalysisPackagingTask.java:46) > >> at > >> > >> > org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:439) > >> at > >> > >> > org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.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(DefaultPluginManager.java:483) > >> at > >> > >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) > >> at > >> > >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) > >> at > >> > >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519) > >> at > >> > >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) > >> at > >> > >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) > >> at > >> > >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) > >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> at > >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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) > >> > >> > >> please help me, what is causing this error ? > >> > > > > > > > > -- > > Large Systems Suck: This rule is 100% transitive. If you build one, you > > suck" -- S.Yegge > > > > > > -- > View this message in context: > http://www.nabble.com/mvn-install-for-ear-project-tp23622756p23671801.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge
