szerhusenBC/jwt-spring-security-demo

Error executing DDL "# noinspection SqlNoDataSourceInspectionForFile" via JDBC Statement

jmdopereiro opened this issue · 1 comments

I am getting the following error when running the default H2 database:

Error executing DDL "# noinspection SqlNoDataSourceInspectionForFile" via JDBC Statement

org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "# noinspection SqlNoDataSourceInspectionForFile" via JDBC Statement
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67) ~[hibernate-core-5.3.11.Final.jar!/:5.3.11.Final]

It gets fixed removing the first line of the import.sql file

# noinspection SqlNoDataSourceInspectionForFile

thank