查看某個class是從那個jar包中load進來的,避免不同jar包打架的情況

add -verbose:class to your JVM argument

and it will show info like:

[Loaded org.testng.remote.RemoteTestNG from file:/Users/nick/workspace/myproject/testng-eclipse/testng-e‌​clipse-plugin/lib/te‌​stng-remote.jar]


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章