构建期间发生错误.在项目上运行构建器"CDI(上下文和依赖项注入)构建器"时出错 [英] Errors occurred during the build. Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project
本文介绍了构建期间发生错误.在项目上运行构建器"CDI(上下文和依赖项注入)构建器"时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试编辑文件并保存更改时,我在Eclipse Oxygen中遇到以下构建错误.
I get the below build error in Eclipse Oxygen whenver I try to edit the files and save the changes.
Building workspace has encountered a problem.
Errors occurred during build.
Errors occurred during the build.
Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project 'EmployeesManagementSystem'.
Unknown tag! pos=4 poolCount = 18
我尝试删除Eclipse工作区的.metadata
文件夹(如与构建错误有关的其他帖子所述),但错误仍然存在.
I have tried deleting the .metadata
folder of the eclipse workspace(as suggested in other posts related to build error) , but the error is still there.
推荐答案
您的项目使用的本地maven存储库中的某些jar文件可能未正确下载或已损坏.您可以:
It's possible that some of jar files in your local maven repository, which are used by your project, was not downloaded correctly or it's corrupted. You can:
- 尝试通过
Maven > Update project > Check "Clean projects"
和您要对其执行清理操作的项目清理本地Maven存储库 - 在
Window > Preferences > JBoss Tools > Maven Intagration > Uncheck "CDI Facet"
中禁用它(如果不需要CDI工具支持),然后在Project Properties > CDI Settings > Uncheck "CDI Support"
中也为您的项目禁用
- try to clean your local maven repo by
Maven > Update project > Check "Clean projects"
and the project for which you apply clean action - disable it (if you don't need CDI Tools support) in
Window > Preferences > JBoss Tools > Maven Intagration > Uncheck "CDI Facet"
and then disable inProject Properties > CDI Settings > Uncheck "CDI Support"
for your project as well
这篇关于构建期间发生错误.在项目上运行构建器"CDI(上下文和依赖项注入)构建器"时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文