[WARNING] The POM for com.alibaba:druid:jar:1.1.21 is invalid, transitive dependencies (if any) will not be available: 2 problems were encountered while building the effective model for com.alibaba:druid:1.1.21
[ERROR] ‘dependencies.dependency.systemPath’ for com.sun:tools:jar must specify an absolute path but is ${project.basedir}/lib/openjdk-1.8-tools.jar @
[ERROR] ‘dependencies.dependency.systemPath’ for com.sun:jconsole:jar must specify an absolute path but is ${project.basedir}/lib/openjdk-1.8-jconsole.jar @
- 这是一个典型的 Maven 警告和错误,表明您的项目中 com.alibaba:druid:1.1.21 的 POM 文件存在问题,并且系统路径依赖未正确配置。让我们逐步分析这些问题,并提出解决方案。