When I try to change the Dynamic web project into Maven project it shows the error:
Please anyone share your suggestion.
Related
I have imported a Maven project but actual package type is not getting displayed. It gives and error.
As maven project is a party of Main Java and test Java Package but it is not showing.
enter image description here
enter image description here
Please help me to take proper to take proper checkout
After reading lots of questions about same issue here on SO, I was unable to resolve it.
I am trying to do a quick basic restfull web app in eclipse (Oxygen 3A) using Jersey framework. However, I am unable to add the archetype for some reason and get this error
"Could not resolve archetype org.glassfish.jersey.archetypes:jersey-quickstart-webapp:2.30.1".
I went to Window > Properties > Maven > Archetypes and added remote archetype catalog like on image below
As you can see, it found about 37K archetypes, so next I create new maven project and filter for "jersey" and as you can see below, I select "jersey-quickstart-webapp":
Click Next and enter the groupId, artifact id, version, package for my project
Click Finish and I get this error
I tried also few older versions of this archetype but keep getting same error. Here is more detail about the error:
I'm trying to convert an eclipse Java project to a Maven project. When I convert the project to a Maven project, the pom.xml displays the following error:
Cannot read lifecycle mapping metadata for artifact
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.3.2:runtime
Cause: error in opening zip file
When I check the lifecycle file, it's blank. Any idea of why I can't convert this project without getting this error?
Thanks for the assistance!
If that file is empty, it might have been caused by a bad download of the maven artifact. Therefore check your proxy settings in Eclipse as well as in Maven itself (~/.m2/settings.xml)
One thing you can try is deleting the project(from the workspace, not from your computer!) and importing it as a maven project using the deleted project's folder as your source. I've had a lot of trouble in the past with converting projects with m2e, but deleting/re-importing always seems to do the trick.
To import an existing project as a maven project go to file->import and select "Existing Maven Project". Select your project's folder, and import. I realize it's basically the equivalent of "turn it off and turn it on again", but like I said, it has always worked for me in the past. At the very least it will help you narrow your scope.
Hope this helps!
I have imported a project in spring tool suite,i am not able to get the content assist ,i am getting an error "project not found in build path".
Check that your build paths are set up correctly for the project you imported. It may be the case that the imported project is expecting another project to also be present but that is not there.
Coming from Visual Studio, I'm pretty new to the Eclipse IDE.
And finding it very difficult. I seem to get error messages of the type "missing ..." a LOT.
The latest issue I'm having, where I just can't get around is this:
I"m trying to compile & run this sample project: http://code.google.com/p/gwtgae2011/
When I choose "checkout maven projects from SCM" my SCM drop down is empty...
So I just checked it out with Hg manually. No problem.
Trying Import > Existing Maven Project. Seems to read the pom.xml alright, but shows an error:
"No marketplace entries found to handle maven-gae-plugin:0.8.1:unpack in Eclipse. Please see Help for more information."
Since I can't find it through updates or market within eclipse I downloaded maven-gae-plugin (http://code.google.com/p/maven-gae-plugin/downloads/list). I figured just dropping it into the "plugins" or "dropins" folder should be enough. Apparently not so...
Question: How do I fix this error?
(I tried both 3.6 & 3.7)
Links to some good eclipse tutorials covering these kinds of topics are very welcome too!
THANKS!
maven-gae-plugin is in central repo so it should be found.
Did you set the path to your local repo? http://united-coders.com/phillip-steffensen/maven-2-part-3-configuring-eclipse-for-apache-maven-2-projects
I ran into this error, what worked for me was:
Comment the plugin
Import into eclipse
Uncomment the plugin
Discover an error in the plugin XML
Fix error found in the plugin XML
I am not certain, but it seems like this is a unclear error that something about the pom.xml is invalid.