You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not resolve dependencies for project com.ruoyi:ruoyi-framework:jar:3.5.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
运行环境
出现的问题
运行
mvn package
,提示maven依赖错误,错误内容如下:问题原因
我将版本切换到v3.4.0之后就可以顺利编译了。比较v3.4.0和之后的版本,发现druid从1.2.4升级到1.2.6。之后我将druid的版本改为1.2.4之后就可以顺利编译了。因此我认为这是升级druid导致的问题。
解决方案
暂时除了降低druid的版本号外,还没有找到更好的办法。希望有人可以解决这个问题,欢迎大家探讨。
The text was updated successfully, but these errors were encountered: