Details
Description
Not sure what can be done about this, but felt it better to report it than let it slide.
C:\source\wsad\workspace\Deployment>set JAVA_HOME=c:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v
5\java
C:\source\wsad\workspace\Deployment>maven clean
__ __
| \/ | __ Apache_ ___ | |||||
| \/ | / ` \ V / -) ' \ ~ intelligent projects ~ | |||||
| _ | _,_ | _/___ | _ | _ | v. 1.0.1 |
|---|
java.lang.NoSuchFieldError: org.apache.maven.repository.AbstractArtifact: field OVERRIDE_NONE not found
at org.apache.maven.repository.AbstractArtifact.<init>(AbstractArtifact.java:53)
at org.apache.maven.repository.GenericArtifact.<init>(GenericArtifact.java:40)
at org.apache.maven.repository.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:53)
at org.apache.maven.ArtifactListBuilder.build(ArtifactListBuilder.java:59)
at org.apache.maven.project.Project.buildArtifactList(Project.java:1407)
at org.apache.maven.project.Project.initialize(Project.java:1341)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:148)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at java.lang.reflect.Method.invoke(Native Method)
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/SummarizeList?listName=users@maven.apache.org - 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
Total time: 3 seconds
Finished at: Wed Nov 17 14:06:21 EST 2004
C:\source\wsad\workspace\Deployment>"%JAVA_HOME%\bin\java" -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20030711a (JIT enabled: jitc))
Issue Links
| This issue is depended upon by: | ||||
| MAVEN-1515 | I installed Maven, and Maven -v is ok, but |
|
|
|
are you sure you don't have a rogue maven.jar in the classpath, or in your local repository?
That's a bit odd.