Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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 ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!