[英]Spring Project is not building in the eclipse
我在Eclipse 4.17 for Mac OS X
構建路徑中的 Java 版本: Java SE 15
我在構建 spring 項目時遇到了這個問題。
它拋出一個錯誤:
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'Project'.
Could not initialize class org.codehaus.plexus.archiver.jar.JarArchiver
** 它與舊版本的 eclipse 一起工作正常,但新版本的 eclipse 不支持 Java v1.8
讓我知道是否需要任何進一步的信息。
任何幫助將非常感激。 提前致謝:)
舊版本的 maven 不包括用於構建項目的org.codehaus.plexus.archiver.jar
。
Updated the version of maven to 3.6.3
it downloaded the jar on the local repository and while building the project the jar was found by maven in the path.
此外,它也適用於舊版本的 Java。 所以,我回到 Java v1.8 所以這個問題與 java 版本無關。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.