Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Problem in Pentaho reporting engine bootup.

  1. #1
    Join Date
    Mar 2013
    Posts
    3

    Default Problem in Pentaho reporting engine bootup.

    Hi Guys,


    I am very new to this Pentaho. I want to learn this pentaho reporting with java. When I try to execute the following statement

    ClassicEngineBoot.getInstance().start();

    I have been getting the following error

    Exception in thread "main" java.lang.NoClassDefFoundError: org/pentaho/reporting/libraries/fonts/LibFontInfo
    at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.<init>(ClassicEngineBoot.java:220)
    at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.getInstance(ClassicEngineBoot.java:232)
    at Chapter2SwingApp.main(Chapter2SwingApp.java:81)
    Caused by: java.lang.ClassNotFoundException: org.pentaho.reporting.libraries.fonts.LibFontInfo
    at 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)
    ... 3 more


    My assumption is some .jar got missed out. But I have placed the below specified jars with reference to the Pentaho Reporting e-book. So I even placed another jar "libfonts-1.2.1.jar.zip" even then my problem was not resolved. Can anybody please help me out.

    commons-logging-1.1.1.jar
    itext-2.1.7.jar
    libbase-1.2.2.jar
    libdocbundle-1.2.3.jar
    libformat-1.2.4.jar
    libformula-1.2.3.jar
    libloader-1.2.2.jar
    librepository-1.2.3.jar
    libserializer-1.2.2.jar
    libxml-1.2.2.jar
    pentaho-reporting-engine-classic-core-3.8.1-GA.jar
    pentaho-reporting-engine-classic-extensions-3.8.1-GA.jar
    poi-3.6.jar


    Thanks & Regards,
    Abhinav.

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    So where is your libfonts-1.2.1.jar in that list?
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3
    Join Date
    Mar 2013
    Posts
    3

    Default

    Quote Originally Posted by Taqua View Post
    So where is your libfonts-1.2.1.jar in that list?
    Thanks for the reply. As I mentioned in the above description I also have placed libfonts-1.2.1.jar along with the list of jars that I have mentioned. even then I got the same problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.