PDA

View Full Version : Junit error during Rolap connection



osallou
12-12-2002, 05:37 AM
Hi,
I created my own servler to display demo data (FoodMart).
I got error "Error: junit/framework/Test " during :
DriverManager.getConnection(connectString, null, false);
My connectString is correct (tested with Demo servlet)
Could you help me ? I don't understand how Junit is invloced in my code.
Olivier

jhyde
12-12-2002, 05:41 AM
Suspect that this is a linking error, because JUnit is not on your classpath. We don't call JUnit at runtime, but some of the classes have dependencies on it, and will therefore fail to load if you don't have JUnit.
Add Junit.jar to your classpath, and try it again. Please let me know if this works.

osallou
12-12-2002, 05:49 AM
Yeah, it worked, thanks.
Now I have a
Error: Internal error: Failed to parse query [select {[Measures].[Unit Sales]} on
columns from Sales]
I gonna investigate, but it looks better.
THANKS!

jhyde
12-12-2002, 07:13 AM
First thing I would check is the URL to FoodMart.xml.