Fork me on GitHub

【解决】Maven myeclipse出现Could not find the main class

 

maven报错:maven org/codehaus/plexus/classworlds/launcher/Launcher (Unsupported major.m...)

 

解决思路如下:

 

按照以往的经验,做如下检查:

 

  • 编译环境检查 window->preferences->installed JREs

  • 编译级别检查 右击工程名->properties->java compiler

  • 编译路径检查 右击工程名->build path->coufiguration build path

  • 执行clean     project->clean

我重新搞了一下 jres 就ok 了。

重新运行maven的命令就ok了。

posted @ 2013-08-23 09:21  _落雨  阅读(738)  评论(0编辑  收藏  举报