java2uml icon indicating copy to clipboard operation
java2uml copied to clipboard

Could not find or load main class br.com.luque.Main when trying to get the sequence diagram

Open h-mole opened this issue 1 year ago • 0 comments

Describe the bug Thanks for this nice project! I am trying to get the sequence diagram from this tool, however when I tried the command inside README.md, I got the error below:

root@ASUS142023SKYG:~/tools/java2uml/target/classes# java -javaagent:"/root/tools/java2uml/target/java2uml-1.0.0.jar=br.com.luque" br.com.luque.Main
Error: Could not find or load main class br.com.luque.Main
Caused by: java.lang.ClassNotFoundException: br.com.luque.Main
##########
PlantUML sequence diagram:
@startuml
 actor Actor as actor

@enduml

If this is due to the class br.com.luque.Main is missing, I am wondering that which class can be used as the parameter?

Thanks for your help!

h-mole avatar Apr 05 '24 07:04 h-mole