Menu

#4408 [HHQ-4218] Command line plugin invocation throws NoClassDefF

Bug
open
None
5
2012-10-09
2010-09-17
No

http://jira.hyperic.com/browse/HHQ-4218


~/hyperic/git/hq_ee/build/agent(4.4.0.x) $ java -jar bundles/agent-4.4.0.1-EE-1509/pdk/lib/hq-product.jar -m discover


Exception in thread "main" java.lang.NoClassDefFoundError: org/hyperic/hq/agent/server/AgentStorageProvider


        at java.lang.Class.getDeclaredConstructors0(Native Method)


        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)


        at java.lang.Class.getConstructor0(Class.java:2699)


        at java.lang.Class.newInstance0(Class.java:326)


        at java.lang.Class.newInstance(Class.java:308)


        at org.hyperic.hq.product.ProductPlugin.getPlugin(ProductPlugin.java:265)


        at org.hyperic.hq.product.ProductPlugin.getPlugin(ProductPlugin.java:285)


        at org.hyperic.hq.product.ProductPluginManager.addPluginTypes(ProductPluginManager.java:1099)


        at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:1065)


        at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:752)


        at org.hyperic.hq.product.ProductPluginManager.registerPlugins(ProductPluginManager.java:844)


        at org.hyperic.hq.product.util.PluginDumper.loadPlugins(PluginDumper.java:519)


        at org.hyperic.hq.product.util.PluginDumper.init(PluginDumper.java:360)


        at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:310)


Caused by: java.lang.ClassNotFoundException: org.hyperic.hq.agent.server.AgentStorageProvider


        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)


        at java.security.AccessController.doPrivileged(Native Method)


        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)


        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)


        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)


        ... 14 more

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.