Hello appfuse-light-wicket-spring-ibatis-mysql users, I have nabbled, marked,
gmailed and googled. In the final analysis I ran a search on this forum and
only 2 citations were returned. Only one of the citations described in the
previous sentence is relevant but provided no hints, rants or raves. As you
may have guessed by now, if you are still reading, I have an
appfuse-light-wicket-spring-ibatis-mysql CRUD project. I have the original
User demo version running successfully on my beta system (deployed on
Tomcat).

I ran a second ant new and created a new Eclipse project after convincing
myself that appfuse is the way-to-go for my CRUD project. With my new
project under steam I then: file-for-file and directory-for-directory
created a parallel JavaBean similar to the class User JavaBean such that I
could have a hand at mapping the new JavaBean to an explicit resultMap and
then run some testcases just like the testcases for the class User JavaBean.
The class User JavaBean uses implicit resultMapping and so I needed to make
that difference change. Except for the explicit resultMap there is little
difference between the original appfuse-light CRUD and my present Eclipse
project appfuse-light CRUD.

Herein lies the issue: when I run my testcase with only setting properties
all is copacetic. As soon as I try to execute something defined in my
<sqlmap> the testcase throws this exception log:

**************************
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec
<<< FAILURE!
testGetBulls(com.sexingtechnologies.dao.BullmasterDAOTestCase)  Time
elapsed: 0.031 sec  <<< ERROR!
java.lang.IllegalArgumentException: No SqlMapClient specified
        at org.springframework.util.Assert.notNull(Assert.java:112)
        at
org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:166)
        at
org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(SqlMapClientTemplate.java:271)
-- 
View this message in context: 
http://www.nabble.com/No-SqlMapClient-specified%3A-forum-search-returns-2-%28OK-to-ask-%29-tp24039556s2369p24039556.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to