Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I get the below build error in Eclipse Oxygen whenver I try to edit the files and save the changes.

enter image description here

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.

like image 550
Asif Kamran Malick Avatar asked Jan 30 '18 12:01

Asif Kamran Malick


1 Answers

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
like image 163
Dino Avatar answered Nov 02 '22 12:11

Dino