Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
maven commands throw NoSuch FieldError
C:\maven\bin>maven -g
__ __
| \/ | __ Apache_ ___ | |||||
| \/ | / ` \ V / -) ' \ ~ intelligent projects ~ | |||||
| _ | _,_ | _/___ | _ | _ | v. 1.0.1 |
|---|
Plugin cache will be regenerated
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.plugin.JellyScriptHousing.getProject(JellyScriptHousing.java:105)
at org.apache.maven.plugin.PluginManager.createPluginHousing(PluginManager.java:339)
at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:235)
at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:304)
at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204)
at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
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: 1 seconds
Finished at: Wed Dec 01 10:06:06 CST 2004
Issue Links
| This issue duplicates: | ||||
| MAVEN-1501 | maven seems not to evaluate .properties of parent pom |
|
|
|