Errors occurred during the build. Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project

做~自己de王妃 提交于 2020-08-24 11:03:43

问题


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

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.


回答1:


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:

  1. try to clean your local maven repo by Maven > Update project > Check "Clean projects" and the project for which you apply clean action
  2. disable it (if you don't need CDI Tools support) in Window > Preferences > JBoss Tools > Maven Intagration > Uncheck "CDI Facet" and then disable in Project Properties > CDI Settings > Uncheck "CDI Support" for your project as well


来源:https://stackoverflow.com/questions/48521247/errors-occurred-during-the-build-errors-running-builder-cdi-contexts-and-depe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!