I want using firebase database for my java web app, but I have problems...
My application can not connection to firebase-batabase. When I starting my web app I getting java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions
error. Even if using simple java application with main method, application don't connection to db.
Asked
Active
Viewed 42 times
0

Vladimir
- 51
- 1
- 4
-
Did you add the firebase libs to your class path? What build tool are you using (e.g. maven)? – Lonzak Aug 07 '18 at 15:53
-
I'm using maven, added dependency form firebase docs... But this work if version 5.0.0 (latest version 6.3.0). Application not for android (android application good work). I want create web application (using technologies- java server faces and firebase-database, build tool- maven). – Vladimir Aug 07 '18 at 16:59