У меня следующая структура проекта:
![enter image description here](https://i.stack.imgur.com/3g3FV.png)
![enter image description here](https://i.stack.imgur.com/Ec0gL.png)
Я хочу открыть файл user_config.db в SQLiteConnector класс, и я использую следующий код:
public boolean isDatabaseFileExist(){
File databaseFile = new File(getClass().getResource("/remotecontrolserverfx/databases/user_config.db").toString());
return databaseFile.exists();
}
И он всегда возвращает false
. Как исправить?
Заранее спасибо. С уважением ...