简体   繁体   中英

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.

在此处输入图像描述

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.

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

There is an error in: Window > Preferences > JBoss Tools > Maven Intagration > Uncheck "CDI Facet" It´s Window > Preferences > JBoss Tools > JBoss Maven Integration > Uncheck "CDI Facet" I lost various hours because that. Thanks anyway.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM