|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
New Topic: Cannot run 2.0-RC1, NoClassDefFoundDefErrorA new topic, 'Cannot run 2.0-RC1, NoClassDefFoundDefError', has been made on a board you are watching.
You can see it at http://liquibase.org/forum/index.php?topic=203.new#new The text of the topic is shown below: We're trying to test Liquibase 2.0-RC1 the jar seems to have all sorts of problems around finding Main and Logger. See 3 test cases and results below... can anyone assist? Seems like the manifest is seriously broken. Thanks in advance. 1) When we try just running the jar, we get: $ java -jar liquibase.jar Failed to load Main-Class manifest attribute from liquibase.jar 2) If we hack the manifest, we get this far: Exception in thread "main" liquibase.exception.ServiceNotFoundException: liquibase.exception.ServiceNotFoundException: liquibase.exception.ServiceNotFoundException: Could not find implementation of liquibase.logging.Logger at liquibase.logging.LogFactory.getLogger(LogFactory.java:19) at liquibase.logging.LogFactory.getLogger(LogFactory.java:30) at liquibase.integration.commandline.Main.main(Main.java:132) Caused by: liquibase.exception.ServiceNotFoundException: liquibase.exception.ServiceNotFoundException: Could not find implementation of liquibase.logging.Logger at liquibase.servicelocator.ServiceLocator.newInstance(ServiceLocator.java:146) at liquibase.logging.LogFactory.getLogger(LogFactory.java:17) ... 2 more Caused by: liquibase.exception.ServiceNotFoundException: Could not find implementation of liquibase.logging.Logger at liquibase.servicelocator.ServiceLocator.findClass(ServiceLocator.java:101) at liquibase.servicelocator.ServiceLocator.newInstance(ServiceLocator.java:144) ... 3 more 3) We tried just running the bar Java command and providing the absolute path to liquibase.integration.commandline.Main class, and we tried using the bundled liquibase script. In that case we get this error: $ ./liquibase status Exception in thread "main" java.lang.NoClassDefFoundError: liquibase/integration/commandline/Main Caused by: java.lang.ClassNotFoundException: liquibase.integration.commandline.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Could not find the main class: liquibase.integration.commandline.Main. Program will exit. Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0 Regards, The LiquiBase Community Forum Team. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Liquibase-user mailing list Liquibase-user@... https://lists.sourceforge.net/lists/listinfo/liquibase-user |
| Free embeddable forum powered by Nabble | Forum Help |