LoginSignup
0
1

More than 5 years have passed since last update.

JBossでVisualVMのCPUプロファイルを実行するとNoClassDefFoundErrorが発生する

Posted at

JBossを起動し、VisualVMのCPUプロファイラを実行しようとすると以下のエラーが発生。

NoClassDefFoundError: org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr

色々調べたところ、JBossのVM引数に以下のシステムプロパティを設定することで回避できるみたい。

-Djboss.modules.system.pkgs=org.netbeans.lib.profiler.server -Dorg.osgi.framework.bootdelegation=org.netbeans.lib.profiler.server,org.netbeans.lib.profiler.server.*

参考URL

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1