当我尝试编辑文件并保存更改时,我在Eclipse Oxygen中得到以下构建错误。
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
文件夹(正如其他与构建错误相关的帖子中所建议的那样),但错误仍然存在。
答案 0 :(得分:9)
您项目使用的本地maven存储库中的某些jar文件可能未正确下载或已损坏。你可以:
Maven > Update project > Check "Clean projects"
和您应用清洁操作的项目清理您当地的maven仓库Window > Preferences > JBoss Tools > Maven Intagration > Uncheck "CDI Facet"
中禁用它(如果您不需要CDI工具支持),然后在Project Properties > CDI Settings > Uncheck "CDI Support"
中为您的项目禁用