org.h2.message.DbException

General error: "java.lang.NoClassDefFoundError: org/h2/index/PageBtreeCursor"; SQL statement: SELECT ID FROM INFORMATION_SCHEMA.LOBS WHERE TABLE = ? [50000-161]

Samebug tips1

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web19

  • General error: "java.lang.NoClassDefFoundError: org/h2/index/PageBtreeCursor"; SQL statement: SELECT ID FROM INFORMATION_SCHEMA.LOBS WHERE TABLE = ? [50000-161]
  • General error: "java.lang.NoClassDefFoundError: org/h2/index/PageBtreeCursor"; SQL statement: SELECT ID FROM INFORMATION_SCHEMA.LOBS WHERE TABLE = ? [50000-161]
  • via Google Groups by iJava, 1 year ago
    General error: "java.lang.NoClassDefFoundError: org/h2/result/SimpleRowValue"; SQL statement: SELECT ID FROM INFORMATION_SCHEMA.LOBS WHERE TABLE = ? [50000-176]
  • Stack trace

    • org.h2.message.DbException: General error: "java.lang.NoClassDefFoundError: org/h2/index/PageBtreeCursor"; SQL statement: SELECT ID FROM INFORMATION_SCHEMA.LOBS WHERE TABLE = ? [50000-161] at org.h2.message.DbException.convert(DbException.java:269) at org.h2.store.LobStorage.removeAllForTable(LobStorage.java:158) at org.h2.engine.Database.close(Database.java:1080) at org.h2.engine.DatabaseCloser.run(DatabaseCloser.java:80) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.NoClassDefFoundError: org/h2/index/PageBtreeCursor"; SQL statement: SELECT ID FROM INFORMATION_SCHEMA.LOBS WHERE TABLE = ? [50000-161] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:158) at org.h2.message.DbException.convert(DbException.java:277) at org.h2.command.Command.executeQuery(Command.java:189) at org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96) at org.h2.store.LobStorage.removeAllForTable(LobStorage.java:152) ... 2 more Caused by: java.lang.NoClassDefFoundError: org/h2/index/PageBtreeCursor at org.h2.index.PageBtreeIndex.find(PageBtreeIndex.java:186) at org.h2.index.PageBtreeIndex.find(PageBtreeIndex.java:178) at org.h2.index.BaseIndex.find(BaseIndex.java:102) at org.h2.index.IndexCursor.find(IndexCursor.java:145) at org.h2.table.TableFilter.next(TableFilter.java:321) at org.h2.command.dml.Select.queryFlat(Select.java:512) at org.h2.command.dml.Select.queryWithoutCache(Select.java:617) at org.h2.command.dml.Query.query(Query.java:298) at org.h2.command.dml.Query.query(Query.java:268) at org.h2.command.dml.Query.query(Query.java:37) at org.h2.command.CommandContainer.query(CommandContainer.java:82) at org.h2.command.Command.executeQuery(Command.java:185) ... 4 more Caused by: java.lang.ClassNotFoundException: org.h2.index.PageBtreeCursor at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    445 more bugmates