Hi,
File file = new File("../TestMapDB/src/main/java/com/demotest/tempFile.txt");
dbDisk =DBMaker.fileDB(file).executorEnable().closeOnJvmShutdown().checksumStoreEnable().allocateStartSize(1024).make();
Error :- Exception in thread "main" org.mapdb.DBException$WrongFormat: Wrong file header, not MapDB file
at org.mapdb.StoreDirectAbstract.fileHeaderCheck(StoreDirectAbstract.kt:93)
at org.mapdb.StoreDirect.<init>(StoreDirect.kt:93)
Plz i want to know what mistake i am doing.
Thanks