Maven构建失败。致命错误编译:tools.jar中未找到: [英] Maven build failed. Fatal error compiling: tools.jar not found:
问题描述
发生内部错误:加载描述符XXX。
org.eclipse.emf.ecore.xmi.FeatureNotFoundException:功能'的taglib找不到。 (平台:/resource/xxx/src/main/webapp/WEB-INF/web.xml,226,11)
<大骨节病>转到视窗骨节病> - > <大骨节病> preferences 骨节病>
<大骨节病>的Java 骨节病> - > <大骨节病>已安装的JRE 骨节病> - > <大骨节病>执行环境骨节病>
<大骨节病> JavaSE1.x 骨节病> - > <大骨节病> JDE的1.x 骨节病>
如果你没有在 JDK
在安装 JRE
,然后
选择安装的 JRE
并添加 JDK
安装路径
让我们尝试配置运行配置全新安装
点击黑色的小箭头,然后运行配置
之后,你只要把干净的安装在你的Maven目标,如:
然后,尝试运行你的汇编,我们将看看会发生什么...:)
An internal error occurred during: "Loading descriptor for xxx.".
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'taglib' not found. (platform:/resource/xxx/src/main/webapp/WEB-INF/web.xml, 226, 11)
Goto Windows -> Preferences
Java -> Installed JREs –> Execution Environment
JavaSE1.x -> JDE 1.x
If you don’t have the JDK
in the Installed JRE
, then
Select the Installed JRE
and Add the JDK
installed path
Let's try to configure your run configurations to clean install
Click on the small black arrow and then Run Configurations
After, you just put clean install in your Maven goal, like this :
And then, try to run your compilation, and we will see what happens... :)
这篇关于Maven构建失败。致命错误编译:tools.jar中未找到:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!