java.lang.NoClassDefFoundError: org/h2/command/dml/SetClauseList

33 views
Skip to first unread message

Martin Lichtin

unread,
Apr 4, 2024, 4:43:29 PMApr 4
to H2 Database
Seeing this NoClassDefFoundError, looks like it's from the Server side.
Anyone has an idea? H2 version 2.2.224

Caused by: org.h2.jdbc.JdbcSQLNonTransientException: General error: "java.lang.NoClassDefFoundError: org/h2/command/dml/SetClauseList" [50000-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:566) ~[?:?] at org.h2.engine.SessionRemote.readException(SessionRemote.java:650) ~[?:?] at org.h2.engine.SessionRemote.done(SessionRemote.java:619) ~[?:?] at org.h2.command.CommandRemote.prepare(CommandRemote.java:78) ~[?:?] at org.h2.command.CommandRemote.<init>(CommandRemote.java:50) ~[?:?] at org.h2.engine.SessionRemote.prepareCommand(SessionRemote.java:487) ~[?:?] at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) ~[?:?] at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:93) ~[?:?] at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) ~[?:?]

Evgenij Ryazanov

unread,
Apr 4, 2024, 9:43:42 PMApr 4
to H2 Database
Hello!

Make sure you have only one version of H2 in classpath of your application.

If you have a standalone H2 Server process, check its classpath instead. If you use auto-server mode, check classpaths of all involved applications.
Reply all
Reply to author
Forward
0 new messages