chazbone Posted June 6, 2013 Share Posted June 6, 2013 We are attempting to export reports from a bitnami Jasperserver 4.1 CE installation in preparation for an upgrade, however it seems that the export script is unable to locate one of its dependencies:vagrant@localhost:/opt/bitnami/apps/jasperserver/buildomatic$ ./js-export.sh --uris / --output-dir export.zipUsing CE setup/opt/bitnami/java/bin/java -cp "./..install_resources/" -Xms128m -Xmx512m -XX:PermSize=32m com.jaspersoft.jasperserver.export.ExportCommand ./js-export.sh --uris / --output-dir export.zipException in thread "main" java.lang.NoClassDefFoundError: com/jaspersoft/jasperserver/export/ExportCommandCaused by: java.lang.ClassNotFoundException: com.jaspersoft.jasperserver.export.ExportCommandat 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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)at java.lang.ClassLoader.loadClass(ClassLoader.java:248)Could not find the main class: com.jaspersoft.jasperserver.export.ExportCommand. Program will exit.[/code]How can we add this dependency to the class path for the execution of this script?Thanks in advance,Chaz Link to comment Share on other sites More sharing options...
blog_1 Posted June 29, 2013 Share Posted June 29, 2013 I had a similar problem when I wasn't in the buildomatic directory.on a side note: shouldn't you use the output-zip option if you want to export a zip file? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now