Does your execution directory contains a project.xml file? Maven needs such a file, but in beta-9 no correct error message is displayed, I think.
> -----Urspr�ngliche Nachricht----- > Von: Pritesh [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 27. Juni 2003 09:33 > An: [EMAIL PROTECTED] > Betreff: 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: > [EMAIL PROTECTED] bin]$ sh maven > > java.lang.NullPointerException > at > org.apache.maven.plugin.PluginManager.attainGoals(PluginManage > r.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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
