简体   繁体   中英

Netbeans Profiler for a Maven project

When I try to attach a Profiler to my project, Netbeans prompts me to choose bewtween my main class and org.codehaus.plexus.classworlds.launcher.Launcher . I was wondering if someone knows which one I should use and why.

Thanks,

org.codehaus.plexus.classworlds.launcher.Launcher is the main class for the maven build. netbeans executes the maven build jvm which in turn via exec-maven-plugin starts the jvm that your main class executes in.

So if you want to profile the build you choose the classworld's Launcher, otherwise you choose your your main class.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM