I got it to work, I think it's because I accidentally put the PersonDaoTest
inside "src/main/webap/**" instead of "src/test/java/**".  Also you need to
change sample-data.xml from "first_name" "last_name" to "firstName" and
"lastName".  See
http://appfuse.org/display/APF/Using+Hibernate#UsingHibernate-daotest the
XML snippet, that should be modified.



javaunixsolaris wrote:
> 
> Following the Tutorial (R1) to the 'T' I still get this:
> $ mvn -e test-compile
> ...
> PersonDaoTest.java:[14,7] cannot access
> org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
> class file for
> org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
> not found
> public class PersonDaoTest extends BaseDaoTestCase
> ...
> My package name isn't the same as "org.appfuse.tutorial.dao" but I don't
> think that matters.
> 
> R1: http://appfuse.org/display/APF/Using+Hibernate#UsingHibernate-daoimpl
> 

-- 
View this message in context: 
http://www.nabble.com/AppFuse-Tutorial-%22cannot-access-org.springframework.test.AbstractTransactionalDataSourceSpringContextTests%22-tp16990296s2369p16993554.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to