赞
踩
Fatal error compiling: java.lang.ExceptionInInitializerError: Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @402c3dce -> [Help 1]
先用mvn -v查看mvn版本信息,如果jdk设置了 jdk16,则说明jdk版本过高,需要降级。建议使用jdk8.
Failed to execute goal on project xxx-base-core: Could not resolve dependencies
for project org.dekunframework.boot:xxxx-base-core:jar:2.4.0: The following artifacts
could not be resolved: org.hibernate:hibernate-re:jar:2.3.07,
org.jeecgframework.boot:codegenerate:jar:1.2.5: Cannot access nexus-aliyun
(http://maven.aliyun.com/nexus/content/groups/public) in offline mode and the artifact
org.hibernate:hibernate-re:jar:2.3.07 has not been downloaded from it before. -> [Help 1]
mvn换镜像源:
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*,!jeecg,!jeecg-snapshots,!getui-nexus</mirrorOf>
<name>Nexus aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
</mirrors>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。