Open 651332399 opened 3 years ago
1.1.21也有这个问题
好烦,1.2.6不能正常用啊,这种bug都有
+1
我这边1.2.6也遇到类似问题,回退到1.2.5没有问题。我这边是运行mvn package
有如下错误提示:
Could not resolve dependencies for project com.ruoyi:ruoyi-framework:jar:3.6.0: The following artifacts could not be resolved: com.sun:tools:jar:1.8, com.sun:jconsole:jar:1.8: Could not find artifact com.sun:tools:jar:1.8 at specified path /home/mj/.m2/repository/com/alibaba/druid/1.2.6/lib/openjdk-1.8-tools.jar
运行环境:
同问
同问+1
这啥问题啊
把那两个包排除掉就ok了
<exclusions>
<exclusion>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun</groupId>
<artifactId>jconsole</artifactId>
</exclusion>
</exclusions>
把那两个包排除掉就ok了
<exclusions> <exclusion> <groupId>com.sun</groupId> <artifactId>tools</artifactId> </exclusion> <exclusion> <groupId>com.sun</groupId> <artifactId>jconsole</artifactId> </exclusion> </exclusions>
关键是这个问题之前就有 然后又几个版本没有了 现在又来 😔
错误信息: 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${project.basedir}/lib/openjdk-1.8-tools.jar in com.alibaba:druid:1.2.6
修改pom 删除以下下依赖,因为在profile中已经指定了