Home
Developing Analytics Applications
How do you set up Eclipse and Birt Runtime together
Migrateduser
<p>Hi, </p>
<p> </p>
<p>I am hoping someone can help me with the following:</p>
<p> </p>
<p>I just installed a fresh copy of eclipse (windows 64bit neon3) and a fresh copy of birt runtime engine (4.6).</p>
<p>When I try to generate a pdf report via runtime birt jar, I get the following message</p>
<p> </p>
<p>A JNI error had occured, please check your installation and try again. </p>
<p> </p>
<p>and the following error at the console:</p>
<div> </div>
<div>Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/birt/core/exception/BirtException</div>
<div>at java.lang.Class.getDeclaredMethods0(Native Method)</div>
<div>at java.lang.Class.privateGetDeclaredMethods(Unknown Source)</div>
<div>at java.lang.Class.privateGetMethodRecursive(Unknown Source)</div>
<div>at java.lang.Class.getMethod0(Unknown Source)</div>
<div>at java.lang.Class.getMethod(Unknown Source)</div>
<div>at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)</div>
<div>at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)</div>
<div>Caused by: java.lang.ClassNotFoundException: org.eclipse.birt.core.exception.BirtException</div>
<div>at java.net.URLClassLoader.findClass(Unknown Source)</div>
<div>at java.lang.ClassLoader.loadClass(Unknown Source)</div>
<div>at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)</div>
<div>at java.lang.ClassLoader.loadClass(Unknown Source)</div>
<div>... 7 more</div>
<div> </div>
<p> </p>
<p>This looks like a jar is missing with a class but I find it hard to believe as ALL of birt jars are on path. </p>
<p> </p>
<p>I know for a fact there is nothing wrong with the code. It used to run great on a different machine. The problem is with the setup. Anyone had to deal with similar problem? What am I missing here? </p>
<p> </p>
<p>Thanks,</p>
Find more posts tagged with
Comments
There are no comments yet