Hi,

See
http://stackoverflow.com/questions/34413/why-am-i-getting-a-noclassdeffounderror-in-java

Regards,
Thomas



On Wed, Jun 11, 2014 at 8:52 AM, Peter Schütt <goo...@pstt.de> wrote:

> 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]
> <http://10.12.111.141:8082/login.do?jsessionid=a164e3daa845fac830cad2320b880769#>
> HY000/50000 (Hilfe)
> <http://h2database.com/javadoc/org/h2/constant/ErrorCode.html#c50000>
> 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
> <http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=344&build=178>)
>
>     at org.h2.message.DbException.get(DbException.java:167
> <http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=167&build=178>)
>
>     at org.h2.message.DbException.convert(DbException.java:290
> <http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=290&build=178>)
>
>     at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:222
> <http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=222&build=178>)
>
>     at org.h2.server.TcpServerThread.run(TcpServerThread.java:155
> <http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=155&build=178>)
>
>     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
> <http://h2database.com/html/source.html?file=org/h2/mvstore/db/TransactionStore.java&line=511&build=178>)
>
>     at
> org.h2.mvstore.db.TransactionStore$Transaction.getChanges(TransactionStore.java:800
> <http://h2database.com/html/source.html?file=org/h2/mvstore/db/TransactionStore.java&line=800&build=178>)
>
>     at org.h2.engine.Session.rollbackTo(Session.java:602
> <http://h2database.com/html/source.html?file=org/h2/engine/Session.java&line=602&build=178>)
>
>     at org.h2.command.Command.executeUpdate(Command.java:278
> <http://h2database.com/html/source.html?file=org/h2/command/Command.java&line=278&build=178>)
>
>     at
> org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:199
> <http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcPreparedStatement.java&line=199&build=178>)
>
>     at org.h2.server.TcpServer.addConnection(TcpServer.java:140
> <http://h2database.com/html/source.html?file=org/h2/server/TcpServer.java&line=140&build=178>)
>
>     at org.h2.server.TcpServerThread.run(TcpServerThread.java:152
> <http://h2database.com/html/source.html?file=org/h2/server/TcpServerThread.java&line=152&build=178>)
>
>     ... 1 more
>
>
>     at org.h2.engine.SessionRemote.done(SessionRemote.java:610
> <http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=610&build=178>)
>
>     at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:129
> <http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=129&build=178>)
>
>     at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:434
> <http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=434&build=178>)
>
>     at
> org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:348
> <http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=348&build=178>)
>
>     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107
> <http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=107&build=178>)
>
>     at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91
> <http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=91&build=178>)
>
>     at org.h2.Driver.connect(Driver.java:74
> <http://h2database.com/html/source.html?file=org/h2/Driver.java&line=74&build=178>)
>
>     at org.h2.server.web.WebServer.getConnection(WebServer.java:684
> <http://h2database.com/html/source.html?file=org/h2/server/web/WebServer.java&line=684&build=178>)
>
>     at org.h2.server.web.WebApp.login(WebApp.java:958
> <http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=958&build=178>)
>
>     at org.h2.server.web.WebApp.process(WebApp.java:212
> <http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=212&build=178>)
>
>     at org.h2.server.web.WebApp.processRequest(WebApp.java:171
> <http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=171&build=178>)
>
>     at org.h2.server.web.WebThread.process(WebThread.java:138
> <http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=138&build=178>)
>
>     at org.h2.server.web.WebThread.run(WebThread.java:94
> <http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=94&build=178>)
>
>     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
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to h2-database@googlegroups.com.
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to