mitreid-connect / OpenID-Connect-Java-Spring-Server

An OpenID Connect reference implementation in Java on the Spring platform.
Other
1.48k stars 765 forks source link

Cannot read SQL script from class path resource #1545

Open DanielWolf1212 opened 3 years ago

DanielWolf1212 commented 3 years ago

hi i am new to this is the error

org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.jdbc.datasource.init.DataSourceInitializer#0': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.CannotReadScriptException: Cannot read SQL script from class path resource [db/tables/mysql_database_tables.sql]; nested exception is java.io.FileNotFoundException: class path resource [db/tables/mysql_database_tables.sql] cannot be opened because it does not exist

but the xml file is present still i am getting this error

josephscott123 commented 2 years ago

look under classes there is no tables folder. Everything is under the mysql subfolder under db.