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

上马失败 #3

Open
Kai5174 opened this issue Apr 23, 2021 · 0 comments
Open

上马失败 #3

Kai5174 opened this issue Apr 23, 2021 · 0 comments

Comments

@Kai5174
Copy link

Kai5174 commented Apr 23, 2021

搭了个测试环境,Tomcat 8, JDK-1.8.0,Linux环境,用Agent上马提示报错

Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.tools.attach.WindowsVirtualMachine.init()V
        at sun.tools.attach.WindowsVirtualMachine.init(Native Method)
        at sun.tools.attach.WindowsVirtualMachine.<clinit>(WindowsVirtualMachine.java:192)
        at sun.tools.attach.WindowsAttachProvider.attachVirtualMachine(WindowsAttachProvider.java:69)
        at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:208)
        at zhouyu.agent.ZhouYu.main(ZhouYu.java:45)

emm 是哪里有问题吗?Tomcat是用tomcat启动的,运行java -jar ZhouYu.jar使用了root权限和tomcat权限,但都报同样错误。

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

1 participant