Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
unable to start platform from within a jar...
WFG
Hello.
I wrote some classes using the birt enginge. Everything is fine, while I'm debugging in eclipse (I've added ALL jars from the engine folder as external jars).
Also I can run my app from the commandline via "java.exe myclass etc." (I've also added ALL jars from the engine folder to the CLASS_PATH-environment).
Now I'm trying to export may classes to a jar file (starting with "java.exe -jar myclasses.jar") and it doesn't start (I assume, the main class is found but the static main isn't invoked):
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/birt/core/framework/PlatformConfig
Caused by: java.lang.ClassNotFoundException: org.eclipse.birt.core.framework.PlatformConfig
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
anyone any idea????
many thanks and sorry, if this is not a birt-specific problem!
Find more posts tagged with
Comments
WFG
this is a general java issue and I found the answer at:<br />
<a class='bbc_url' href='
http://fjep.sourceforge.net/'>http://fjep.sourceforge.net/</a>
;