org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement at line 7 of resource class path resource [sql/test-data-insert.sql]: INSERT INTO [...]

Spring JIRA | Johannes Mockenhaupt | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. org.springframework.jdbc.datasource.init.ScriptStatementFailedException

      Failed to execute SQL script statement at line 7 of resource class path resource [sql/test-data-insert.sql]: INSERT INTO [...]

      at org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript()
    2. org.springframework.jdbc
      ScriptUtils.executeSqlScript
      1. org.springframework.jdbc.datasource.init.ScriptUtils.executeSqlScript(ScriptUtils.java:474)[spring-jdbc-4.0.6.RELEASE.jar:4.0.6.RELEASE]
      1 frame