Maven构建失败。致命错误编译:tools.jar中未找到: [英] Maven build failed. Fatal error compiling: tools.jar not found:

查看:403
本文介绍了Maven构建失败。致命错误编译:tools.jar中未找到:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 发生内部错误:加载描述符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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆