Hi I'm a first time user of Maven and am trying to build a very simple class that prints a string to the console.When I do D:\Maven\Sample-Maven-Project>maven java:compile from my project's directory I get the following error message : __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 java.lang.NullPointerException at org.apache.maven.MavenUtils.getInterpolatedPOM(MavenUtils.java:373) at org.apache.maven.MavenUtils.getJellyProject(MavenUtils.java:348) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:145) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java :235) at org.apache.maven.MavenSession.initialize(MavenSession.java:175) at org.apache.maven.cli.App.doMain(App.java:473) at org.apache.maven.cli.App.main(App.java:1215) 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:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: - read the Maven FAQ at http://maven.apache.org/faq.html - run the same command again with the '-e' parameter, eg maven -e jar - search the maven-user archives for the error at http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] - post the output of maven -e to JIRA at http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above
I've checked the FAQ and can't find any clues.What am I doing wrong? jeff mutonho --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!