-
Notifications
You must be signed in to change notification settings - Fork 261
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
Could not find or load main class net.virtualvoid.perf.AttachOnce #17
Comments
@stepancheg I recently changed the directory structure. Can you try to |
I did build in clean checkout, it didn't help. Problem must be in cmake. Seems like CMake 2.8 which I use doesn't understand |
Not sure about that:
|
I'm on Ubuntu 14.04.3 btw. |
I'm having the same problem with |
Is "the same problem", that |
indeed |
Can you try if adding this line to
|
Yep, it seems it did the trick! Thanks!
|
Cool, thanks for verifying. |
no problem. Thanks for your work on this! |
FYI I got the same error In my case it was due to the fact that the user that was being su'ed to (ie the user that owned the java process being attached to) did not have access to the directory where the software was installed. |
Hi Team, Even i got the same error "Error: Could not find or load main class net.virtualvoid.perf.AttachOnce" Any help greatly appreciated. Thanks |
@donsi I think I have the same issue. I have tomcat running my Java app and I get the error. How did you resolve your issue? |
@Liron24 my issue was that the user that the java process (eg tomcat) was running under did not have access to the directory where perf-map-agent was installed. Ensuring that the user had access fixed the problem for me. |
@donsi thank you. Now I'm getting the following: |
Sorry @Liron24 I don't recall getting that error. |
Hi @Liron24, |
@alex-dukhno thank you for the response, do you know how can change the Java version for the perf-map-agent? |
@Liron24 I haven't built perf-map-agent in a while, but I assume that you can change Java with |
@alex-dukhno Thank you! |
scripts expects
attach-main.jar
to be found inout
dir, while it is in the project root dir.The text was updated successfully, but these errors were encountered: