druid mac无法本地编译最新master源码

6yoyoihd  于 2023-02-04  发布在  Druid
关注(0)|答案(1)|浏览(266)

mac无法本地编译最新master源码

代码更新至

commit e89063a
Author: wenshao szujobs@hotmail.com
Date: Thu Oct 26 11:18:54 2017 +0800

#1878
为了解决 #1878 这个问题,想要尝试本地编译。去掉getCatalog()方法调用,直接置null,结果发现本地无法编译成功。不知作者有什么好的建议没?mysql审计日志中,目前出现大量的select database()。领导嫌弃对数据库有性能损耗,想要干掉。

详细报错信息

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project druid: Compilation failure: Compilation failure:
[ERROR] 读取/Users/changle/.m2/repository/simple-jndi/simple-jndi/0.11.4.1/simple-jndi-0.11.4.1.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/springframework/spring-ibatis/2.0.8/spring-ibatis-2.0.8.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/slf4j/slf4j-log4j12/1.7.9/slf4j-log4j12-1.7.9.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/net/sourceforge/jtds/jtds/1.3.0/jtds-1.3.0.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/kylin/kylin-jdbc/2.0.0/kylin-jdbc-2.0.0.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/httpcomponents/httpclient/4.2.5/httpclient-4.2.5.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/httpcomponents/httpcore/4.2.4/httpcore-4.2.4.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/calcite/avatica/avatica-metrics/1.9.0/avatica-metrics-1.9.0.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/com/google/protobuf/protobuf-java/3.1.0/protobuf-java-3.1.0.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/simple-jndi/simple-jndi/0.11.4.1/simple-jndi-0.11.4.1.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/springframework/spring-ibatis/2.0.8/spring-ibatis-2.0.8.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/slf4j/slf4j-log4j12/1.7.9/slf4j-log4j12-1.7.9.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/net/sourceforge/jtds/jtds/1.3.0/jtds-1.3.0.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/kylin/kylin-jdbc/2.0.0/kylin-jdbc-2.0.0.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/httpcomponents/httpclient/4.2.5/httpclient-4.2.5.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/httpcomponents/httpcore/4.2.4/httpcore-4.2.4.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/org/apache/calcite/avatica/avatica-metrics/1.9.0/avatica-metrics-1.9.0.jar时出错; error in opening zip file
[ERROR] 读取/Users/changle/.m2/repository/com/google/protobuf/protobuf-java/3.1.0/protobuf-java-3.1.0.jar时出错; error in opening zip file
[ERROR] /Users/changle/IdeaProjects/github/druid/src/main/java/com/alibaba/druid/pool/xa/JtdsXAConnection.java:[28,33] 程序包net.sourceforge.jtds.jdbc不存在
[ERROR] /Users/changle/IdeaProjects/github/druid/src/main/java/com/alibaba/druid/support/simplejndi/DruidDataSourceConverter.java:[22,36] 程序包org.osjava.sj.loader.convert不存在
[ERROR] /Users/changle/IdeaProjects/github/druid/src/main/java/com/alibaba/druid/support/simplejndi/DruidDataSourceConverter.java:[53,50] 找不到符号
[ERROR] 符号: 类 Converter
[ERROR] /Users/changle/IdeaProjects/github/druid/src/main/java/com/alibaba/druid/pool/xa/JtdsXAResource.java:[25,33] 程序包net.sourceforge.jtds.jdbc不存在
[ERROR] -> [Help 1]
[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/MojoFailureException

zmeyuzjn

zmeyuzjn1#

本地maven的jar出错了,删掉再编译试试看

相关问题