Jsondb / jsondb-core

JsonDB a pure java database that stores its data as Json Files

Home Page:http://www.jsondb.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot access JsonDBTemplate

NightCrawlerX1 opened this issue · comments

commented

Every time I try to connect my application it generates the same error.

C:\Users\Thomaz\Desktop\Bot\src\main\java\bot\finn\discord\Main.java:15: error: cannot access JsonDBTemplate
import io.jsondb.JsonDBTemplate;
^
bad class file: C:\Users\Thomaz.gradle\caches\modules-2\files-2.1\io.jsondb\jsondb-core\1.0.115-j11\28dd0e74b2dfc45748de1a683b025a71913cc6fd\jsondb-core-1.0.115-j11.jar(io/jsondb/JsonDBTemplate.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

This happens when you are trying to use jsondb.jar compiled with higher version of javac in a project that uses a lower version of javac.
Exactly for this reason I have started releases two versions please use the version 1.0.115-j8