I have reasons to store some values like URLs, Strings etc. in a sqlite database instead of using the amazon features for these kinds of tasks.
dbfile = new File(""); url = "jdbc:sqlite:" + dbfile.getAbsolutePath() + "\\src\\main\\resources\\myDb.sqlite";
Unfortunately I get the error
java.sql.SQLException: opening db: '/\src\main\resources\myDb.sqlite': Read-only file system
How can I get the correct path and get around the "read-only" error? Locally everthing works fine!
Thanks
Flo