Test.java:8: package xxx does not exist
Hi,
I am trying to compile the Test.java file using cmd. I have set the Java home and class path properly. why i am getting follwing error.
Test.java:8: package com.test.db does not exist
import com.test.db.ConnectJDBC;
The ConnectJDBC is the one of the java class used to connect the oracle server. It is compiled without any errors. But i am getting the error in Test.java class where i am using ConnectJDBC class as below.
package com.test.dao;
import java.io.*;
import java.sql.*;
import com.test.db.ConnectJDBC;
public class GetData
{
ConnectJDBC jdbc = new ConnectJDBC();
Connection con = null;
/* other codes*/
}