Hi Matt,
I was following a jsf basic trail, I'm at this page...
http://appfuse.org/display/APF/Using+JSF, about to run
mvn test -Dtest=PersonListTest
for the first time then i get this error,
testSearch(com.mycompany.app.webapp.action.FruitListTest) Time
elapsed: 2.729 sec <<< ERROR!
org.springframework.orm.hibernate3.HibernateSystemException: Unknown
entity: com.mycompany.app.model.Fruit; nested exception is
org.hibernate.MappingException: Unknown entity:
com.mycompany.app.model.Fruit
I found out that there have been no instructions to include the pojo
mapping in the src/test/resources/hibernate.cfg.xml. Included the
mapping fixed the tests error.
Wonder if this would have been auto included that I missed something
or should be included in
the tutorial?
Richard