You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pritesh <lo...@coolgoose.com> on 2003/06/27 09:32:31 UTC
Error while running Maven first time
Hi all,
I had jus downloaded maven-1.0-beta-9 and set the classpath in
/etc/profile like this
export PATH=/usr/local/java/bin:$PATH
export JDK_HOME=/usr/local/java/
export JAVA_HOME=/usr/local/java/
export ANT_HOME=/usr/local/ant
export PATH=${PATH}:${ANT_HOME}/bin
export MAVEN_HOME=/home/pritesh/pritesh/Maven/maven-1.0-beta-9
export PATH=${PATH}:${MAVEN_HOME}/bin
iam using Redhat Linux 7.1,and iam already using Ant1.5.3. ok now what kind of
error maven is giving is follows:
[pritesh@pritesh bin]$ sh maven
java.lang.NullPointerException
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:362)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)
at org.apache.maven.cli.App.doMain(App.java:524)
at org.apache.maven.cli.App.main(App.java:1080)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time: 5 seconds
can anybody help me out why this error is coming.
regards
pritesh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Error while running Maven first time
Posted by di...@multitask.com.au.
Do you have a project.xml file?
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Work: http://www.multitask.com.au
"Pritesh" <lo...@coolgoose.com> wrote on 27/06/2003 11:22:31 PM:
> Hi all,
> I had jus downloaded maven-1.0-beta-9 and set the classpath in
> /etc/profile like this
> export PATH=/usr/local/java/bin:$PATH
> export JDK_HOME=/usr/local/java/
> export JAVA_HOME=/usr/local/java/
> export ANT_HOME=/usr/local/ant
> export PATH=${PATH}:${ANT_HOME}/bin
> export MAVEN_HOME=/home/pritesh/pritesh/Maven/maven-1.0-beta-9
> export PATH=${PATH}:${MAVEN_HOME}/bin
>
> iam using Redhat Linux 7.1,and iam already using Ant1.5.3. ok now what
kind of
> error maven is giving is follows:
> [pritesh@pritesh bin]$ sh maven
>
> java.lang.NullPointerException
> at
>
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:362)
> at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)
> at org.apache.maven.cli.App.doMain(App.java:524)
> at org.apache.maven.cli.App.main(App.java:1080)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.werken.forehead.Forehead.run(Forehead.java:543)
> at com.werken.forehead.Forehead.main(Forehead.java:573)
> Total time: 5 seconds
>
> can anybody help me out why this error is coming.
>
> regards
> pritesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>