问题列表写给自己备注的

驱动相关

openGauss-connector-jdbc\pom.xml does not exist

D:\program\Java\jdk1.8.0_171\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\program\merge\git_project\openGaussJdbc2.0\openGauss-connector-jdbc -Dmaven.home=D:\program\apache-maven-3.6.3 -Dclassworlds.conf=D:\program\apache-maven-3.6.3\bin\m2.conf "-Dmaven.ext.class.path=D:\program\IntelliJ IDEA 2020.1.2\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\program\IntelliJ IDEA 2020.1.2\lib\idea_rt.jar=57600:D:\program\IntelliJ IDEA 2020.1.2\bin" -Dfile.encoding=UTF-8 -classpath D:\program\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;D:\program\apache-maven-3.6.3\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version2020.1.2 -s D:\program\apache-maven-3.6.3\conf\settings.xml_aliyun -Dmaven.repo.local=D:\program\m2\aliyunRepo -DskipTests=true clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module D:\program\merge\git_project\openGaussJdbc2.0\openGauss-connector-jdbc\jdbc of D:\program\merge\git_project\openGaussJdbc2.0\openGauss-connector-jdbc\pom.xml does not exist @ 
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.huawei:pgjdbc-aggregate:42.2.5 (D:\program\merge\git_project\openGaussJdbc2.0\openGauss-connector-jdbc\pom.xml) has 1 error
[ERROR]     Child module D:\program\merge\git_project\openGaussJdbc2.0\openGauss-connector-jdbc\jdbc of D:\program\merge\git_project\openGaussJdbc2.0\openGauss-connector-jdbc\pom.xml does not exist
[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/ProjectBuildingException

解决方式
先将hw-java-sdk-core.jar包给推到本地仓库

mvn install:install-file -DgroupId=com.huawei.apigateway -DartifactId=hw-java-sdk-core -Dversion=3.0.12 -Dpackaging=jar -Dfile=D:\java-sdk-core-3.0.12.jar --settings D:\program\apache-maven-3.6.3\conf\settings.xml_aliyun

然后编译shade
在这里插入图片描述
最后直接将pgjdbc的目录直接导入到idea 作为项目
在这里插入图片描述
编译即可
在这里插入图片描述

jdk

java.lang.IllegalMonitorStateException

在这里插入图片描述

Exception in thread "Thread-0" java.lang.IllegalMonitorStateException
	at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:151)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1261)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.fullyRelease(AbstractQueuedSynchronizer.java:1723)

sharding相关

Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:jar (attach-javadocs) on project shardingsphere-standalone-mode-repository-file: MavenReportException: Error while generating Javadoc: Unable to execute javadoc command: Error while executing process.: Cannot run program “cmd.exe”

解决方式:
clean install -DskipTests -Dmaven.javadoc.skip=true -f pom.xml
在这里插入图片描述

INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20:32 min
[INFO] Finished at: 2021-11-17T20:35:08+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.0:jar (attach-javadocs) on project shardingsphere-standalone-mode-repository-file: MavenReportException: Error while generating Javadoc: Unable to execute javadoc command: Error while executing process.: Cannot run program "cmd.exe" 
(in directory "D:\program\merge\git_project\shardingsphere-5.0.0
\shardingsphere-mode\shardingsphere-mode-type\
shardingsphere-standalone-mode\shardingsphere-standalone-mode-repository
\shardingsphere-standalone-mode-repository-provider
\shardingsphere-standalone-mode-repository-file\target\apidocs"): 
CreateProcess error=267, 目录名称无效。 -> [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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :shardingsphere-standalone-mode-repository-file
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值