title: BIRT NoClassDefFoundError
body: <p>I have been searching the web for a while now and no solutions found have been working out for me. So, I turn to you. </p>
  
  <p>I get a java.lang.NoClassDefFoundError when I try to integrate the API of BIRT (an eclipse plugin for reports and documents). I copy paste their code, include ALL of the jar file in the lib folder (birt-runtime-4_2_2\ReportEngine\lib) and still I get the NoClassDefFoundError. What am I doing wrong? I cant find any useful information on their page. Furthermore, I have tried out a couple of other source codes, yet I still get the same problem. So i would argue that the imports of the jar-files might be faulty. But I cannot for the love of God find the fault is.</p>
  
  <p>The code I have copy pasted (just to try out) is found here:
  <a href="http://wiki.eclipse.org/Java_-_Simple_Design_Engine_API_%28BIRT%29" rel="nofollow">http://wiki.eclipse.org/Java_-_Simple_Design_Engine_API_%28BIRT%29</a></p>
  
  <p>The complete error message is this:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Platform
      at org.eclipse.birt.core.framework.jar.ServicePlatform.getExtensionRegistry(ServicePlatform.java:72)
      at org.eclipse.birt.core.framework.jar.ServicePlatform.createFactoryObject(ServicePlatform.java:98)
      at org.eclipse.birt.core.framework.Platform$1.run(Platform.java:297)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.birt.core.framework.Platform.createFactoryObject(Platform.java:293)
      at org.eclipse.birt.report.model.api.DesignEngine.&lt;init&gt;(DesignEngine.java:90)
      at org.eclipse.birt.report.model.api.DesignEngine.newSession(DesignEngine.java:142)
      at standard.Main.main(Main.java:36)
  Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.Platform
      at java.net.URLClassLoader$1.run(Unknown Source)
      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)
      ... 8 more
  </code></pre>