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
  1. 0

    Error : Injection of autowired dependencies failed :: 4programmers.net

    4programmers.net | 8 months ago
    org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [data/hsqldb/data.sql]: INSERT INTO Greeting (text) VALUES ("Hello World!"); nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: Hello World!
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error : Injection of autowired dependencies failed :: 4programmers.net

    4programmers.net | 8 months ago
    org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [data/hsqldb/data.sql]: INSERT INTO Greeting (text) VALUES ("Hello World!"); nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: Hello World!
  4. 0

    Error : Injection of autowired dependencies failed :: 4programmers.net

    4programmers.net | 8 months ago
    org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of class path resource [data/hsqldb/data.sql]: INSERT INTO Greeting (text) VALUES ("Hello World!"); nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: Hello World!

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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