[Mondrian] [MondrianFoodMartLoader] java.lang.NoClassDefFoundError

Yanis Guenane yg at cassini-solutions.com
Thu Oct 28 04:00:51 EDT 2010


Hi guys !

Second day of Mondrian installation.
Now I am facing problems trying to feed the mart.

I could read several post about user getting the same problem but most of
the post were out dated (2006-2007).

This is my command line (it's a one line command)

java -cp
> "/home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/lib/log4j.jar:/home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/lib/eigenbase-xom.jar:/home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/lib/eigenbase-resgen.jar:/home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/lib/eigenbase-properties.jar:/home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/lib/postgresql-8.4-702.jdbc4.jar:/home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/lib/mondrian.jar" /home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/testsrc/main/mondrian/test/loader/MondrianFoodMartLoader.java
> -verbose -tables -data -indexes -jdbcDrivers=com.postgresql.jdbc.Driver
> -inputFile=/home/postgres/Apps/Mondrian/mondrian-3.2.0.13583/demo/FoodMartCreateData.sql
> -outputJdbcURL="jdbc:postgresql://localhost/foodmart?user=postgres&password=xxx""


There is the error I am getting

Exception in thread "main" java.lang.NoClassDefFoundError:
> MondrianFoodMartLoader/java

Caused by: java.lang.ClassNotFoundException: MondrianFoodMartLoader.java

        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: MondrianFoodMartLoader.java. Program will
> exit.


Does someone has an idea of the why ?
-- 
*Yanis Guenane*
*Cassini Solutions** *
*BI Developer*
5 rue Sextius Michel
75015, Paris, FRANCE

Phone : (+33)1.71.19.45.33
E-mail  : yg at cassini-solutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20101028/3ac96bcb/attachment.html 


More information about the Mondrian mailing list