开发者

m2e in Eclipse Indigo no longer working

开发者 https://www.devze.com 2023-04-03 12:49 出处:网络
m2e is no longer working in my Eclipse Indigo. Nothing is printed to the Maven console, I can\'t download any sources and some dependencies won\'t be resolved.

m2e is no longer working in my Eclipse Indigo. Nothing is printed to the Maven console, I can't download any sources and some dependencies won't be resolved. I'm using the embedded Maven installation.

D开发者_运维问答o you know how to fix this issue?


Just a wild guess (due to similar problems I had in the past):

  • If you use the embedded m2e Maven installation, Maven has no information to your settings.
  • If you are in a corporate environment, you have to set your proxy in a Maven related location:
    • In your users settings.xml file.
    • In your Maven installation settings.xml file

m2e can only use the proxy set in your Maven settings file, not the one in your eclipse environment. So as a result, you could see all the old libraries contained in local repositories, but no new ones contained only in remote repositories located somewhere on the internet.

Please add some more information about your configuration in eclipse (does eclipse find your user settings.xml file?) and the errors you get.


Try -clean workspace option. Or if it doesn't help, create new workspace, test if m2e started working and import your old projects. I just resolved issue very similar to yours using second option.

Here is good explanation of such kind of troubles: http://www.eclipsezone.com/eclipse/forums/t61566.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号