V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  bqdong  ›  全部回复第 1 页 / 共 1 页
回复总数  7
可复现
2023-07-10 21:10:06 +08:00
回复了 bqdong 创建的主题 问与答 jdk11 使用 maven 编译会卡住
@Biluesgakki 中央仓库或者阿里云都试过,就是那个依赖 taobao-sdk-java-auto 导致的问题,但是不知道为什么
2023-07-10 09:07:53 +08:00
回复了 bqdong 创建的主题 问与答 jdk11 使用 maven 编译会卡住
@mmdsun 不大,就 github 里的那个项目,是一个示例。我感觉可能是依赖问题,本地装了个 jar 依赖
2023-07-09 19:14:11 +08:00
回复了 bqdong 创建的主题 问与答 jdk11 使用 maven 编译会卡住
@hhjswf 老哥,已经补充上了,github 的 readme 中也有写重现步骤
2023-07-09 19:13:18 +08:00
回复了 bqdong 创建的主题 问与答 jdk11 使用 maven 编译会卡住
@yyyxxx109876 谢谢回复。我用的是 JDK11 ,Maven 3.6.3 ,命令是下面的,执行完就卡在 search path for classes file

JDK11, maven 3.6.3

- 执行 mvn clean package

[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< com.mycompany.app:my-app >----------------------
[INFO] Building my-app 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ my-app ---
[INFO] Deleting /home/bqdong/temp/java/my-app/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ my-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/bqdong/temp/java/my-app/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ my-app ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/bqdong/temp/java/my-app/target/classes
[parsing started SimpleFileObject[/home/bqdong/temp/java/my-app/src/main/java/com/mycompany/app/App.java]]
[parsing completed 23ms]
[loading /modules/java.xml/module-info.class]
[loading /modules/jdk.localedata/module-info.class]
[loading /modules/jdk.internal.opt/module-info.class]
[loading /modules/jdk.jdwp.agent/module-info.class]
[loading /modules/jdk.internal.vm.compiler/module-info.class]
[loading /modules/java.management/module-info.class]
[loading /modules/jdk.jcmd/module-info.class]
[loading /modules/jdk.httpserver/module-info.class]
[loading /modules/jdk.management/module-info.class]
[loading /modules/java.instrument/module-info.class]
[loading /modules/jdk.aot/module-info.class]
[loading /modules/jdk.unsupported.desktop/module-info.class]
[loading /modules/jdk.internal.ed/module-info.class]
[loading /modules/jdk.scripting.nashorn/module-info.class]
[loading /modules/java.prefs/module-info.class]
[loading /modules/jdk.crypto.cryptoki/module-info.class]
[loading /modules/java.rmi/module-info.class]
[loading /modules/jdk.accessibility/module-info.class]
[loading /modules/java.management.rmi/module-info.class]
[loading /modules/jdk.pack/module-info.class]
[loading /modules/jdk.jlink/module-info.class]
[loading /modules/jdk.jdeps/module-info.class]
[loading /modules/jdk.management.jfr/module-info.class]
[loading /modules/jdk.internal.vm.compiler.management/module-info.class]
[loading /modules/jdk.internal.le/module-info.class]
[loading /modules/jdk.dynalink/module-info.class]
[loading /modules/jdk.security.jgss/module-info.class]
[loading /modules/jdk.charsets/module-info.class]
[loading /modules/jdk.internal.jvmstat/module-info.class]
[loading /modules/jdk.jartool/module-info.class]
[loading /modules/jdk.jdi/module-info.class]
[loading /modules/java.smartcardio/module-info.class]
[loading /modules/jdk.jfr/module-info.class]
[loading /modules/java.logging/module-info.class]
[loading /modules/jdk.management.agent/module-info.class]
[loading /modules/java.naming/module-info.class]
[loading /modules/jdk.editpad/module-info.class]
[loading /modules/jdk.unsupported/module-info.class]
[loading /modules/jdk.naming.rmi/module-info.class]
[loading /modules/java.scripting/module-info.class]
[loading /modules/jdk.internal.vm.ci/module-info.class]
[loading /modules/jdk.scripting.nashorn.shell/module-info.class]
[loading /modules/jdk.sctp/module-info.class]
[loading /modules/jdk.crypto.ec/module-info.class]
[loading /modules/jdk.naming.dns/module-info.class]
[loading /modules/java.compiler/module-info.class]
[loading /modules/java.base/module-info.class]
[loading /modules/java.se/module-info.class]
[loading /modules/java.sql/module-info.class]
[loading /modules/jdk.net/module-info.class]
[loading /modules/java.security.jgss/module-info.class]
[loading /modules/jdk.javadoc/module-info.class]
[loading /modules/java.net.http/module-info.class]
[loading /modules/jdk.compiler/module-info.class]
[loading /modules/jdk.jconsole/module-info.class]
[loading /modules/java.security.sasl/module-info.class]
[loading /modules/jdk.rmic/module-info.class]
[loading /modules/java.datatransfer/module-info.class]
[loading /modules/java.xml.crypto/module-info.class]
[loading /modules/jdk.xml.dom/module-info.class]
[loading /modules/jdk.jstatd/module-info.class]
[loading /modules/java.transaction.xa/module-info.class]
[loading /modules/jdk.hotspot.agent/module-info.class]
[loading /modules/jdk.security.auth/module-info.class]
[loading /modules/jdk.zipfs/module-info.class]
[loading /modules/jdk.jshell/module-info.class]
[loading /modules/jdk.jsobject/module-info.class]
[loading /modules/java.desktop/module-info.class]
[loading /modules/jdk.attach/module-info.class]
[loading /modules/java.sql.rowset/module-info.class]
[search path for source files: /home/bqdong/temp/java/my-app/src/main/java,/home/bqdong/temp/java/my-app/target/generated-sources/annotations]
[search path for class files: /home/bqdong/.bin/jdk-11.0.0.1/lib/modules,/home/bqdong/temp/java/my-app/target/classes,/home/bqdong/.m2/repository/com/dingtalk/open/taobao-sdk-java-auto/0.0.1/taobao-sdk-java-auto-0.0.1.jar,.]

- 然后就一直卡在这里不动了
2023-05-16 21:01:57 +08:00
回复了 qianyeyixi 创建的主题 Linux 新手入坑 Linux 有啥推荐的系统么
i cannot use chinese input method in chrome and vscode in ubuntu23.04, who can use? if can, how to install and setup? thanks
2022-05-20 12:36:19 +08:00
回复了 sinohsxzw 创建的主题 问与答 闲置在家,迷茫不知道怎么办
最近也正在找工作,多背一些八股文,只要能进公司胜任开发就行
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2574 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 01:38 · PVG 09:38 · LAX 17:38 · JFK 20:38
Developed with CodeLauncher
♥ Do have faith in what you're doing.