问题
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:
- 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
来源:https://stackoverflow.com/questions/48521247/errors-occurred-during-the-build-errors-running-builder-cdi-contexts-and-depe