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

错误: 找不到或无法加载主类 io.github.hengyunabc.dumpclass.DumpMain #13

Open
showyoulove1990 opened this issue Nov 3, 2022 · 2 comments

Comments

@showyoulove1990
Copy link

java -cp './dumpclass.jar:$JAVA_HOME/lib/sa-jdi.jar' io.github.hengyunabc.dumpclass.DumpMain

用这个命令提示找不到主类是什么原因?

@hktalent
Copy link

hktalent commented Nov 8, 2022

me too
/jdk1.8.0_151/bin/java -cp /home/weblogic/dumpclass.jar:/jdk1.8.0_151/lib/sa-jdi.jar io.github.hengyunabc.dumpclass.DumpMain -p 45 -o /tmp/dump *
Error: Could not find or load main class io.github.hengyunabc.dumpclass.DumpMain

@isxiangyang
Copy link

spring结构问题,可以修改pom.xml或者用另一个已经改好的项目:https://github.com/GenuineX/dumpClass?tab=readme-ov-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants