java-up icon indicating copy to clipboard operation
java-up copied to clipboard

下载源码无法编译,麻烦老师帮忙看一下这几个问题,谢谢

Open wxywizard opened this issue 2 years ago • 0 comments

  1. idea提示17不支持这个特性
CleanShot 2023-08-23 at 14 56 14@2x
  1. src下的文件在idea里面无法编译 CleanShot 2023-08-23 at 14 57 49@2x

  2. 使用maven clean报错

/Library/Java/JavaVirtualMachines/graalvm-jdk-17.0.8+9.1/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/will/develop/myworkspaceAll/java/daily_practice/java-up -Djansi.passthrough=true -Dmaven.home=/Users/will/develop/maven/apache-maven-3.8.6 -Dclassworlds.conf=/Users/will/develop/maven/apache-maven-3.8.6/bin/m2.conf -Dmaven.ext.class.path=/Users/will/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/maven/lib/maven-event-listener.jar -javaagent:/Users/will/Applications/IntelliJ IDEA Ultimate.app/Contents/lib/idea_rt.jar=65525:/Users/will/Applications/IntelliJ IDEA Ultimate.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Users/will/develop/maven/apache-maven-3.8.6/boot/plexus-classworlds.license:/Users/will/develop/maven/apache-maven-3.8.6/boot/plexus-classworlds-2.6.0.jar org.codehaus.classworlds.Launcher -Didea.version=2023.2 -s /Users/will/develop/maven/apache-maven-3.8.6/conf/settings.xml clean
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] 'dependencies.dependency.[co.ivi:jus.crypto:01]' for co.ivi:jus.crypto:01 is referencing itself. @ co.ivi:java-up:01, /Users/will/develop/myworkspaceAll/java/daily_practice/java-up/pom.xml, line 29, column 21
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project co.ivi:jus.crypto:01 (/Users/will/develop/myworkspaceAll/java/daily_practice/java-up/jus.crypto/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.[co.ivi:jus.crypto:01]' for co.ivi:jus.crypto:01 is referencing itself. @ co.ivi:java-up:01, /Users/will/develop/myworkspaceAll/java/daily_practice/java-up/pom.xml, line 29, column 21
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Process finished with exit code 1

wxywizard avatar Aug 23 '23 06:08 wxywizard