/    Sign up×
Community /Pin to ProfileBookmark

given file does not exist: .assetsbc000000000.accdb

given file does not exist

Exception Error
net.ucanaccess.jdbc.UcanaccessSQLException: UCAExc:::4.0.4 given file does not exist: .assetsbc000000000.accdb

//////////////////////////////////////////////////////////////////////////////////// My Code

Class.forName(“net.ucanaccess.jdbc.UcanaccessDriver”);
String path = “.assetsbc000000000.accdb”;
String url = “jdbc:ucanaccess://” + path;
Connection con = DriverManager.getConnection(url);
Here is my directory and dbfile

Here is main project folder

Here is System DSN image Conneciton variable

My Database Handling COde

Class.forName(“net.ucanaccess.jdbc.UcanaccessDriver”);
String path = “.assetsbc000000000.accdb”;
String url = “jdbc:ucanaccess://” + path;
Connection con = DriverManager.getConnection(url);
try
{
Statement s =con.createStatement();

to post a comment
Java

1 Comments(s)

Copy linkTweet thisAlerts:
@waheedakhter0078authorJan 11.2020 — i want to use short path using dots .assetsbc000000000.accdb like this

but not working

but full path working like C:........................assetsbc000000000.accdb
×

Success!

Help @waheedakhter0078 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...