I have a project organized this:
-LIBRERIA CLIENT/
   -SRC/
     -CONNECTION/
      CONNECTIONdB.JAVA
      CONFIG.PROPERTIES
In CONNECETIONDB I have this code to read the CONFIG.PROPERTIES file:
public static void connect() throws RemoteException
{
        //read file config.properties:
        String dbHost="",dbUser="",dbPassword="";
        Properties prop=new Properties();
        try
        {
            //load il file:
            prop.load(new FileInputStream("src/Connectionconfig.properties"));
            //read the property of file
            dbHost=prop.getProperty("host");
            dbUser=prop.getProperty("user");
            dbPassword=prop.getProperty("password");
        }catch(FileNotFoundException fe){
            System.out.println("File not found");
        }catch(IOException ex){
            System.out.println("Error reading configuration file");
        }
But I have this error:
     FILE NOT FOUND 
Could someone tell me where am I going wrong?
 
     
     
     
    