Strange NoClassDefFoundError with 1.4.178

377 views
Skip to first unread message

Peter Schütt

unread,
Jun 11, 2014, 2:52:13 AM6/11/14
to h2-da...@googlegroups.com
Hallo,
I got a strange error with the following configuration

jdbc:h2:file:c:\\temp\\h2\\mydatabase;AUTO_SERVER=TRUE;MODE=Oracle

Allgemeiner Fehler: "java.lang.NoClassDefFoundError: org/h2/mvstore/db/TransactionStore$1"
General error: "java.lang.NoClassDefFoundError: org/h2/mvstore/db/TransactionStore$1" [50000-178]
HY000/50000 (Hilfe)
org.h2.jdbc.JdbcSQLException: Allgemeiner Fehler: "java.lang.NoClassDefFoundError: org/h2/mvstore/db/TransactionStore$1"
General error: "java.lang.NoClassDefFoundError: org/h2/mvstore/db/TransactionStore$1" [50000-178]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
    at org.h2.message.DbException.get(DbException.java:167)
    at org.h2.message.DbException.convert(DbException.java:290)
    at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:222)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:155)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: org/h2/mvstore/db/TransactionStore$1
    at org.h2.mvstore.db.TransactionStore.getChanges(TransactionStore.java:511)
    at org.h2.mvstore.db.TransactionStore$Transaction.getChanges(TransactionStore.java:800)
    at org.h2.engine.Session.rollbackTo(Session.java:602)
    at org.h2.command.Command.executeUpdate(Command.java:278)
    at org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:199)
    at org.h2.server.TcpServer.addConnection(TcpServer.java:140)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:152)
    ... 1 more


    at org.h2.engine.SessionRemote.done(SessionRemote.java:610)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:129)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:434)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:348)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
    at org.h2.Driver.connect(Driver.java:74)
    at org.h2.server.web.WebServer.getConnection(WebServer.java:684)
    at org.h2.server.web.WebApp.login(WebApp.java:958)
    at org.h2.server.web.WebApp.process(WebApp.java:212)
    at org.h2.server.web.WebApp.processRequest(WebApp.java:171)
    at org.h2.server.web.WebThread.process(WebThread.java:138)
    at org.h2.server.web.WebThread.run(WebThread.java:94)
    at java.lang.Thread.run(Unknown Source)


I used H2 in combination with Hibernate 4.3.5. and a Tomcat 7.

This error also comes in the h2 console.

I go back to 1.3.176 and now it's worked.

Perhaps it helps someone to fix the error.

Ciao
  Peter Schütt

Thomas Mueller

unread,
Jun 13, 2014, 9:20:11 AM6/13/14
to H2 Google Group

--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2-database...@googlegroups.com.
To post to this group, send email to h2-da...@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Aydin K.

unread,
May 18, 2015, 12:48:57 AM5/18/15
to h2-da...@googlegroups.com
Hi Thomas,

this issue seems to affect multiple users (me including) so it's not just a local configuration issue. 

Please see also:

Grüße,
Aydin

Thomas Mueller

unread,
May 23, 2015, 3:35:41 AM5/23/15
to H2 Google Group
Hi,

> this issue seems to affect multiple users (me including) so it's not just a local configuration issue

Sorry I can't follow your reasoning. Just because multiple people get the same problem doesn't mean it's _not_ a local configuration issue. Most likely it _is_ a local configuration problem.


Regards,
Thomas

Reply all
Reply to author
Forward
0 new messages