Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start dinky, java.lang.ClassNotFoundException: org.dinky.Dinky Exception occurred #3235

Closed
2 of 3 tasks
MarkZeng222 opened this issue Mar 5, 2024 · 2 comments
Closed
2 of 3 tasks
Labels
Discussing The problem is being discussed

Comments

@MarkZeng222
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

执行sh auto.sh start后,
powershell显示:
........................................Start Dinky Successfully........................................
(base) PS D:\dlink\dinky-release-1.18-1.0.0-rc4> nohup: appending output to 'nohup.out'

日志显示如下:
Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.

错误: 找不到或无法加载主类 org.dinky.Dinky
原因: java.lang.ClassNotFoundException: org.dinky.Dinky

使用的Java版本是:
当前使用的是Java 1.8
(base) PS D:\dlink\dinky-release-1.18-1.0.0-rc4> java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

JDK也是1.8:
[Loaded java.lang.Shutdown from C:\Program Files\Java\jdk1.8.0_271\jre\lib\rt.jar]
[Loaded java.lang.Shutdown$Lock from C:\Program Files\Java\jdk1.8.0_271\jre\lib\rt.jar]

结果dinky无法启动

What you expected to happen

正常启动Dinky

How to reproduce

在powershell 中 执行sh auto.sh start

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@MarkZeng222 MarkZeng222 added Bug Something isn't working Waiting for reply Waiting for reply labels Mar 5, 2024
@Zzm0809
Copy link
Contributor

Zzm0809 commented Mar 5, 2024

你在 win 上执行 sh 文件??

@Zzm0809
Copy link
Contributor

Zzm0809 commented Mar 5, 2024

如果你想本地调试,请参考官网的本地调试章节 通过 idea 调试, 目前没有测试过 win 上执行启停脚本的兼容性

@Zzm0809 Zzm0809 added Invalid Invalid Discussing The problem is being discussed and removed Bug Something isn't working Waiting for reply Waiting for reply Invalid Invalid labels Mar 5, 2024
@Zzm0809 Zzm0809 closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussing The problem is being discussed
Projects
None yet
Development

No branches or pull requests

2 participants