On Thu, May 1, 2008 at 12:12 PM, javaunixsolaris <[EMAIL PROTECTED]> wrote: > > 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.
The Persistence tutorial (the one before Hibernate), sets the columns of the fields so it matches: @Column(name="first_name", length=50) public String getFirstName() { return this.firstName; } ... @Column(name="last_name", length=50) public String getLastName() { return this.lastName; } Matt > > > > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]