将项目的java build jdk版本改为1.7就可以了,但实际我的项目需要是1.6来编译
可能是因为maven 3.3 需要java 1.7以上才能运行,eclipse 的m2e插件运行run maven 来打包时会用pom配置中的jdk来打包,跟eclipse项目配置没有关系。
参考:http://blog.csdn.net/hjwang1/article/details/50085839
将项目的java build jdk版本改为1.7就可以了,但实际我的项目需要是1.6来编译
可能是因为maven 3.3 需要java 1.7以上才能运行,eclipse 的m2e插件运行run maven 来打包时会用pom配置中的jdk来打包,跟eclipse项目配置没有关系。
参考:http://blog.csdn.net/hjwang1/article/details/50085839
tjccn_wx@hotmail.com
这个人很懒,什么都没留下
文章评论