db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas <jrom...@logic-factory.com>
Subject java.lang.NoClassDefFoundError: java.math.BigDecimal
Date Tue, 26 Dec 2006 13:35:50 GMT
I'm trying to use Derby 10.2.2 with IBM WSDD and it does not work for me.
I always get a 
java.lang.NoClassDefFoundError: java.math.BigDecimal
	at java.lang.Class.verifyImpl(Native Method)
	at java.lang.Class.verify(Class.java:253)
	at java.lang.Class.initialize(Class.java:315)
	at org.apache.derby.jdbc.Driver20.newEmbedResultSet(Driver20.java:149)
	at ....jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1197)
	at ..jdbc.EmbedStatement.execute(EmbedStatement.java:585)
	at ..jdbc.EmbedStatement.executeQuery(EmbedStatement.java:154)
	at com.lf.MiniBD.main(MiniBD.java:64)
when using a simple resultset like 

   rs = stt.executeQuery("SELECT * FROM TEST");.

I use EmbeddedSimpleDataSource to obtain a jdbc Connection and can create and
insert data in a new database. However, when i use a resultset to query the
database, i get the BigDecimal error.

Thank you in advance.

View raw message