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

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

问题描述

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)


推荐答案

转到Windows - > 首选项

< kbd> Java - > 已安装的JRE - > 执行环境

Java -> Installed JREs –> Execution Environment

JavaSE1.x - > JDE 1.x

如果没有 JDK 在已安装的 JRE 中,然后

If you don’t have the JDK in the Installed JRE, then

选择安装 JRE 并添加 JDK 安装路径

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

之后,您只需将干净安装在您的Maven目标中,如下所示:

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天全站免登陆