【解决】Maven myeclipse出现Could not find the main class
2013-08-23 09:21
519 查看
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了。
解决思路如下:
按照以往的经验,做如下检查:
编译环境检查 window->preferences->installed JREs
编译级别检查 右击工程名->properties->java compiler
编译路径检查 右击工程名->build path->coufiguration build path
执行clean project->clean
我重新搞了一下 jres 就ok 了。
重新运行maven的命令就ok了。
相关文章推荐
- myeclipse启动tomcat 出现could not find the main class Program will exit
- 安装MyEclipse时,双击安装包后出现“could not find main class”的错误提示的解决方法
- 双击jar包出现:could not find the main class .和could not create the java virtual machine.win7/xp解决方法详解
- 运行jar文件时,出现“could not find the main class”的解决方法
- maven项目,多个依赖,打成一个可执行jar包,可根据profiles进行打包,出现的Could not find or load main class的解决方法。
- 双击jar包出现:could not find the main class .和could not create the java virtual machine.win7/xp解决方法详解
- 解决Win7/XP中双击jar文件出现could not find the main class的方法
- 双击jar包出现:could not find the main class .和could not create the java virtual machine.win7/xp解决方法详解
- myeclipse出现Could not find the main class原因分析
- 双击jar包出现:could not find the main class .和could not create the java virtual machine.win7/xp解决方法详解
- 用MyEclipse启动tomcat 报错Could not find the main class
- Eclipse中执行Ant出现Could not find the main class的问题及解
- 解决运行java application时提示Could not find the main class.Program will exit.问题
- could not find the main class win7/xp 双击执行jar包出现:could not find the main class
- could not find the main class win7/xp 双击执行jar包出现:could not find the main class
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- windows 双击执行jar包出现:could not find the main class
- Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 错误的解决办法
- jdk版本不同造成问题解决could not find the main class, Program will exit(2)
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法