1 Reply Latest reply on Sep 12, 2006 11:03 AM by David Johnson

    mySQL: NoClassDefFound forName(Native method)

    T. Meyer Newbie

      Hello,

      I use the birt-viewer application under JBoss AS.
      My report works well under Eclipse/BIRT development environment.
      But if I deploy teh same report to JBoss AS and try to run it, I get just a blank page back, instead of a chart which I developed.

      The log of the BIRT application says:

      ...
      22.03.2006 09:46:42 org.eclipse.birt.report.model.metadata.ChoicePropertyType validateXml
      FEIN: return internal name for choice hyperlink
      22.03.2006 09:46:42 org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
      SCHWERWIEGEND: Error happened while running the report.
      java.lang.NoClassDefFoundError
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
      at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
      at java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1031)
      ...

      I installed the JBoss AS as described in the documentation.

      My system:

      JBoss is 4.0.3SP1
      JDK 1.4.2_06
      Eclipse 3.1.1
      BIRT 2.0.0

      Any help is highly appreciated! Thanks!