You need to run build with JDK or have tools.jar on the classpath.
If this occures during eclipse build make sure you run eclipse under JDK as well
(com.mysema.maven:apt-maven-plugin:1.0.6:process:default:generate-sources)
//
Try setting this to your eclipse.ini file and restarting eclipse to make sure that it's also using your JDK:
-vm
C:\jdk1.7\bin\javaw.exe
Cautions:
this must go just above -vmargs
you're full path to your VM maybe different than the one above
See this as reference.
You need to run build with JDK or have tools.jar on the classpath
原创
©著作权归作者所有:来自51CTO博客作者mb64216b23e45d0的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:论文调研
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Java中将JDK中tools.jar配置在maven中
我想把JDK tools.jar作为编译依赖。在配置过程中遇
jar linux maven配置