Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ibatis - Class not found: java.lang.BigDecimal. Could not set result class.

Brian Elfers
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Created a new unit test which depends on ibatis. Process works ok from Tomcat. However from the unit test it (ibatis) can not find the java.lang.BigDecimal class. Did not know there is another BigDecimal class besides java.math.BigDecimal, however IBATIS depends on it (java.lang.BigDecimal).

Here is the error for reference...

[junit] Caused by: com.ibatis.sqlmap.client.SqlMapException: Error. Could not set result class. Cause: java.lang.ClassNotFoundException: java.lang.BigDecimal

Any ideas? The java.lang.BigDecimal class does not appear to be part of the JDK rt.jar.
[ March 01, 2006: Message edited by: Brian Elfers ]
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!