on 2005 Jul 22 10:50 AM
Hi,
I try to connect via jdbc in a Web Dynpro to the MaxDB (I have installed the Sneak Preview only with Java WebAS). I know that i not the correct way, but I it is only a test.
I have add the sabdb.jar in the Web dynpro project - and add it to Order and Export - than I wrote following code into the wdDoInit() method:
/*
parse arguments
*/
try{
Class.forName ("com.sap.dbtech.jdbc.DriverSapDB");
}catch(ClassNotFoundException e1){
}
- But I get always a java.lang.ClassNotFoundException:
com.sap.dbtech.jdbc.DriverSapDB
I find no way out - can anybody help?
Thanks
Stefan Porges
Hi Stefan,
pls check the corresponding sabdb.jar exits in the "lib" folder of your WebDynpro project.Normally you get this kind of ClassNotFound Exception when the classpath is not being set ie the the application is unable to find the driver file to connect to the particular Database.
Pls close this thread if it helps.
Regards,
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.