PDA

View Full Version : Problem in Pentaho reporting engine bootup.



abhinavjg
03-21-2013, 09:20 AM
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.

Taqua
03-21-2013, 01:39 PM
So where is your libfonts-1.2.1.jar in that list?

abhinavjg
03-26-2013, 01:36 AM
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.