Darin Perusich
2014-Jun-13 13:21 UTC
[Puppet Users] Could not find or load main class com.puppetlabs.puppetdb.core
Hello, I'm attempting to build puppetdb-2.0.0 from source and the resulting jar fails to start and errors with "Could not find or load main class com.puppetlabs.puppetdb.core". When inspecting the puppetdb.jar it doesn't contain any of the classes so it would appear that 'lein uberhar' is failing to build said classes. When listing the content of puppetdb-2.0.0-standalone.jar the do not exist. Also compiling the source, 'lein compile' doesn't appear to be compiling the classes, no "Compiling com.puppetlabs.puppetdb.core" or "Compiling clj-time.core" output like when I build 1.6.3 and nothing created under target/classes. Any thoughts on what might be causing this? This system is openSUSE 13.1, puppet-3.0.2, and Oracle java 1.7.0_55-b13. To recreate do: wget https://github.com/puppetlabs/puppetdb/archive/2.0.0/puppetdb-2.0.0.tar.gz tar -zxf puppetdb-2.0.0.tar.gz cd puppetdb-2.0.0/ echo 2.0.0 > version lein uberjar Check for puppetdb.core in resulting jar: jar tf target/puppetdb-2.0.0-standalone.jar |grep puppetdb.core com/puppetlabs/puppetdb/core.clj -- Later, Darin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADaviKv3z69S86eJBzaE%2B5dK%2BOWmGEX_Mc2DQ0O_mV8Yo1tokw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.