- This topic has 7 replies, 3 voices, and was last updated 10 years, 2 months ago by support-piotr.
-
AuthorPosts
-
maiconramonesParticipantMyEclipse 2015 always displaying an error message when build my web app (maven clean or CTRL + s).
See my print screen and log file.
PS: work perfectly in Netbeans 8.0.1 and MyEclipse 2014.
We doing some tests with MyEclipse 2015.
Version: 2015 CI
Build id: 13.0.0-20140917
OS: Mac OS X 10.9.5Attachments:
You must be logged in to view attached files.
support-swapnaModeratormaiconramones,
Sorry that you are seeing issues with MyEclipse 2015 CI. The screenshot and the log file are missing from your post.
Can you please give us some more information ?
1. Can you please check if the issue persists on a new maven project created in MyEclipse 2015 CI ?
2. Please switch to a new workspace, import the project and replicate the issue. Please send us the .log file which is located at <workspace dir>/.metadata/.log.Also send us the entire contents of the Console, which are logged when you select Maven clean on the project.
3. If possible, please send us all the .* files of the project, along with the pom.xml to help us replicate the issue at our end.
maiconramonesParticipantFirst, attached print screen and log
1 – yes, the same problem occurred in a new project
2 – attached
3 – It’s not necessary because the same problem occurred in a new project
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Thank you for the details.
Can you please give us some more information?
1. Can you please recheck if the proxy settings for MyEclipse 2015 and MyEclipse 2014 are the same in both MyEclipse and Maven ?
2. Can you please go to Window>Preferences>MyEclipse>Maven4MyEclipse>User Settings and check if the path to the settings.xml is right?
3. Make sure there are no extra spaces at the start of the settings.xml file. Please make sure the host,username and password are correct in the settings.xml.Also check if the proxy is working by trying to telnet it : telnet [proxy] [port number]
4. If everything looks good, please let us know the archetype used to create the new Maven project.
maiconramonesParticipantSwana I Have some news…
I removed the folder maven-resources-plugin/2.6 from my .m2 and after this I performed “Run As -> Maven clean/install” in the sequence I performed “Project -> Clean”.
After other problem was displayed now with maven-surefire-plugin/2.12.4, but for solved this error was necessary execute all previous steps plus “Maven4MyEclipse -> Update Project…”
Now works.
The process was very strange and is necessary be a magic to run a simple project. I’m very frustrated with MyEclipse.
support-piotrParticipantmaiconramones,
The error you have seen is de facto an error inside of Maven. It means that Maven failed to download dependency correctly and it subsequently fails when dependency is requested. However, this is very confusing for our users and we will try to handle such issues in Maven engine (badly downloaded artifacts) in a better way. This wasn’t an issue with your project setup, but something which was affecting all Maven projects; a badly downloaded artifact due to internet issues.
We definitely want you to be satisfied with MyEclipse, not frustrated! If you have any other frustrating issues, please do not hesitate to ask us for support.
maiconramonesParticipantYeh but the question is why work perfectly in Netbeans 8.0.1 and MyEclipse 2014?
MyEclipse 2014 use the same .m2 repository.
support-piotrParticipantmaiconramones,
MyEclipse 2015 internally uses newer version of Maven than ME 2014 and possibly NetBeans. From the error it seems that Maven in ME 2015 requires version 2.6 of resources plugin, which failed to be downloaded, whereas ME 2014 require lower version of that plugin, which possibly downloaded fine at first attempt. This plugin is required by MyEclipse for e.g. providing you list of jars in the Maven Dependencies container and has nothing to do with the version of this plugin required by your Maven project.
I hope this answers your question!
-
AuthorPosts