<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">1) Check if MondrianDef.class is in the JAR<br>2) Write a JSP that checks if Class.forName() finds the class. (e.g. <html><body><%String n = request.getParameter("clazz"); if (n!= null) {try {Class c=Class.forName(clazz);%><H1>Found <%=c%></H1><%}catch (ClassNotFoundException ex) {%><H1>Not found:<%=clazz%></H1><%}}%><FORM><INPUT type="text" name="clazz" value="<%=clazz == null ? "" : clazz%>"><input type="submit" value="Go"></FORM></BODY></HTML><br>3) If that doesn't work, see if you can check the context class loader used.<br><br>Michael<br><br><div style="font-family: times new roman,new york,times,serif; font-size:
12pt;">----- Message d'origine ----<br>De : Laurent Valdes <valderama@gmail.com><br>À : Mondrian developer mailing list <mondrian@pentaho.org><br>Envoyé le : Dimanche, 4 Mars 2007, 14h10mn 41s<br>Objet : Re: Re : [Mondrian] Re: Mondrian in my Java Program<br><br>Nope, it does the same thing.<br><br>Laurent<br><br><div><span class="gmail_quote">2007/3/4, Laurent Valdes <<a rel="nofollow" target="_blank" href="mailto:valderama@gmail.com">valderama@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Glassfish libraries are in classpath, but I'm not using glassfish. The program is run from the command line.<br>However I'll have a look at this.<br><br>Many thanks,<br><br>Laurent.<br><br><br><div><span class="gmail_quote">
2007/3/4, michael bienstein <<a rel="nofollow" target="_blank" href="mailto:mbienstein@yahoo.fr">mbienstein@yahoo.fr</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_1111d0f4aed65187_1">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Just a guess:<span><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
/C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-2.2.2/lib/mondrian.jar<br>
/C:/Documents%20and%20Settings/VALDES.SUPRATEC_NT/Bureau/pentaho/mondrian-2.2.2/mondrian-2.2.2-src/mondrian-2.2.2/src/main/<br></div><br></span>Why do you have the src and the jar at the same time? The source isn't compiled so it shouldn't be there. BUT if Glassfish does some on-the-fly compiling and that directory is higher in the class path, then the inner class for MondrianDef might - just might - be found and bind to the wrong classpath entry blocking MondrianDef from being found correctly since it is a generated file?
<br><span><br><br></span></div></div><span><br>
                <hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a rel="nofollow" target="_blank" href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">
Yahoo! Questions/Réponses</a>.</span></div><br></span></div><span class="q">_______________________________________________<br>Mondrian mailing list<br><a rel="nofollow" target="_blank" href="mailto:Mondrian@pentaho.org">
Mondrian@pentaho.org
</a><br><a rel="nofollow" target="_blank" href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br><br></span></blockquote>
</div><div><span class="e" id="q_1111d0f4aed65187_4">
<br><br clear="all"><br>-- <br>«À attendre que l'herbe pousse, le boeuf meurt de faim»<br>«Le boeuf» @<<a rel="nofollow" target="_blank" href="http://www.le-valdo.com">http://www.le-valdo.com
</a>>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>«À attendre que l'herbe pousse, le boeuf meurt de faim»<br>«Le boeuf» @<<a rel="nofollow" target="_blank" href="http://www.le-valdo.com">http://www.le-valdo.com</a>>
<div>_______________________________________________<br>Mondrian mailing list<br>Mondrian@pentaho.org<br><a target="_blank" href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br></div></div><br></div></div><br>
                <hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.</body></html>