I'm trying to turn an intellij project into a executable so I can run it outside of the intellij environment.
This project works perfectly inside the environment but when i turn it into a jar file the jar file has atleast one run time error.
The error I get first is:
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V
at com.google.firebase.FirebaseApp.checkNotDeleted(FirebaseApp.java:314)
at com.google.firebase.FirebaseApp.getOptions(FirebaseApp.java:260)
at com.google.firebase.database.FirebaseDatabase.getInstance(FirebaseDatabase.java:80)
at com.google.firebase.quickstart.Database.main(Database.java:90)
This seems like something to do with not being connected to the Firebase libraries/frameworks I was connected to. However this is where I don't have much knowledge. I built the Jar file using project settings and then building an aritfact and that seemed fine but obviously some connection has been lost along the way. I'm wondering if anyone has similar issues or knows what to try?
Thanks