java - 在“导入 Maven 项目”和“构建 Maven 项目”期间发生内部错误
问题描述
从 STS 的 git 存储库导入 maven 项目时出现以下错误。
在“导入 Maven 项目”期间发生内部错误。没有枚举常量 org.eclipse.m2e.core.lifecyclemapping.model.PluginExecutionAction.items
解决方案
转到window-> preferences-> Maven -> Installations
并将路径添加到您的 maven 文件夹(使用外部 maven)。看起来嵌入在 eclipse maven 中已损坏
或者
尝试右键单击项目选择Run as -> maven
构建并添加目标:clean install
推荐阅读
- java - Java源代码中带有vimdiff命令的Shell脚本在Git bash上运行时卡住了
- html - 在表单的第二行制作更大的文本框
- javascript - 无法加载 Jitsi Meet API - initJitsiConference 期间 lib-jitsi-meet 中的错误(类型错误:无法读取属性“substr”)
- google-apps-script - 坚持使用快速入门检查 Google Meet 课程中的学生出勤率
- javascript - 如何将数据集属性名称转换为数据属性名称?
- php - Vimeo + SameSite + Chrome 80 + PHP 7.2
- java - 如何检查字符串是否是 regx 模式的开头?
- azure - 将一些 API 请求从一个 Web 应用重定向到另一个
- clojure - 如何获取哈希映射集合中给定键的值并创建一个新集合,其中该值是新键
- python - Python concurrent.futures 对导入模块的多次调用