Hi,
I am pretty new to MyEclipse, all i am trying to do is to connect to pointbase DB thru my struts application.
But it says ClassNotFound exception for “com.pointbase.jdbc.jdbcUniversalDriver”.
But when i run the application without struts on MyEclipse or on JBuilder, it runs fine.
Here is the code to connect to pointbase DB.
//********************
Connection getConnection() throws DAOException
{
// The PointBase Universal JDBC Driver
String l_driver = “com.pointbase.jdbc.jdbcUniversalDriver”;
String l_URL = “”;
Connection l_conn=null;
l_URL = “jdbc:pointbase:server://localhost//demo”;
// Database UserID (4.2)
String l_UID = “MEDREC”;
// Database Password
String l_PWD = “medrec”;
try {
// Load the PointBase JDBC Driver
Class.forName(l_driver);//.newInstance();
// Establish connection with the database and return a Connection object
l_conn = DriverManager.getConnection(l_URL, l_UID, l_PWD);
System.out.println(“got connection”);
}catch(Exception e)
{
System.out.print(“here in errors :: “+e.getMessage());
e.printStackTrace();
}
return l_conn;
}
//*******************
Please help
Ashu