@greggwonderly Using Postgresql worked for me. Although I realized if you had initially selected MySql, this error is still thrown. The solution is to do a fresh installation of fusionauth and only select Postgresql while filling the maintenance mode form.
Posts made by chekikeja
-
RE: FusionAuth 1.37 is released
-
RE: FusionAuth 1.37 is released
Hello @greggwonderly
Have you managed to solve this issue? I am getting the same error log when running the startup script on windows.
-
RE: FusionAuth 1.37 is released
I am facing the following error after I run the startup.bat script on windows.
Exception in thread "main" java.lang.NoClassDefFoundError: com/inversoft/mysql/MySQLHelper
at com.inversoft.maintenance.db.JDBCMaintenanceModeDatabaseService.loadDriver(JDBCMaintenanceModeDatabaseService.java:430)
at com.inversoft.maintenance.db.JDBCMaintenanceModeDatabaseService.determineDatabaseStatus(JDBCMaintenanceModeDatabaseService.java:162)
at com.inversoft.maintenance.db.DatabaseInteractiveWorkflowTask.perform(DatabaseInteractiveWorkflowTask.java:27)
at com.inversoft.maintenance.DefaultMaintenanceModeWorkflow.getCurrentStage(DefaultMaintenanceModeWorkflow.java:63)
at com.inversoft.maintenance.BaseMaintenanceModePrimeMain.modules(BaseMaintenanceModePrimeMain.java:71)
at org.primeframework.mvc.BasePrimeMain.hup(BasePrimeMain.java:65)
at org.primeframework.mvc.BasePrimeMain.start(BasePrimeMain.java:93)
at io.fusionauth.app.FusionAuthMain.main(FusionAuthMain.java:23)
Caused by: java.lang.ClassNotFoundException: com.inversoft.mysql.MySQLHelper
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 8 more
Exception in thread "Thread-0" java.lang.NullPointerException: Cannot invoke "org.primeframework.mvc.netty.PrimeHTTPServer.shutdown()" because "this.server" is null
at org.primeframework.mvc.BasePrimeMain.shutdown(BasePrimeMain.java:84)
at org.primeframework.mvc.BasePrimeMain$PrimeHTTPServerShutdown.run(BasePrimeMain.java:106)