Matt, this also happens when using Hibernate. Aakhunaten
mraible wrote: > > I've entered an issue for this in JIRA: > > http://issues.appfuse.org/browse/APF-998 > > Matt > > On Jan 7, 2008, at 3:02 AM, Aakhunaten wrote: > >> >> I was trying to upgrade all our projects that run on AppFuse 2.0 >> final to >> 2.0.1. And all the tests fail with the >> 'UnsatisfiedDependencyException'. If >> the temporary fix is to move code to applicationContext- >> resources.xml, then >> I would rather wait until the next update get in. >> >> Currently even the quickstart/tutorial on the website will not >> work. :( >> >> Aakhunaten >> >> >> >> Rene Guenther wrote: >>> >>> I had this problem too. Sometimes logging out and logging in again >>> gives >>> you >>> finally the permission to create issue. >>> >>> René >>> >>> -----Ursprüngliche Nachricht----- >>> Von: base7691 [mailto:[EMAIL PROTECTED] >>> Gesendet: Freitag, 14. Dezember 2007 08:52 >>> An: [email protected] >>> Betreff: Re: [appfuse-user] AppFuse 2.0.1 - Error while testing the >>> tutorial-jpa module from appfuse-demos >>> >>> >>> I would create an issue in JIRA but I could not get the permission >>> to do >>> that >>> till now. >>> After logging in in JIRA I have no possibility to create an new >>> issue. >>> >>> Wolfgang >>> >>> Stephiems wrote: >>>> >>>> Was this ever reported or fixed? I'm also getting this error, but I >>>> searched JIRA and couldn't find anything matching. >>>> >>>> If I put the definitions in applicationContext-resources.xml it >>>> works >>>> fine, but not in applicationContext.xml. I guess it doesn't >>>> matter too >>>> much, but it would be nice to put it in applicationContext.xml >>>> because it >>>> keeps it cleaner and more seperated. >>>> >>>> Cheers, >>>> Steph >>>> >>>> >>>> mraible wrote: >>>>> >>>>> I don't know why this is happening - all the tests pass in >>>>> Bamboo. I >>>>> was able to reproduce your problem, but I don't know what's >>>>> causing it >>>>> or how to fix it. Can you please enter an issue in JIRA? >>>>> >>>>> http://issues.appfuse.org/browse/APF >>>>> >>>>> Thanks, >>>>> >>>>> Matt >>>>> >>>>> On 12/10/07, base7691 <[EMAIL PROTECTED]> wrote: >>>>>> >>>>>> I tried the tutorial-jpa module from appfuse-demos. If you run >>>>>> mvn test >>>>>> -Dtest=PersonDaoTest you get the following error message: >>>>>> >>>>>> >>> --------------------------------------------------------------------- >>> ------- >>> --- >>>>>> Test set: org.appfuse.tutorial.dao.PersonDaoTest >>>>>> >>> --------------------------------------------------------------------- >>> ------- >>> --- >>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: >>>>>> 0.444 >>>>>> sec >>>>>> <<< FAILURE! >>>>>> testFindPersonByLastName >>>>>> (org.appfuse.tutorial.dao.PersonDaoTest) Time >>>>>> elapsed: 0.401 sec <<< >>>>>> ERROR! >>>>>> org.springframework.beans.factory.UnsatisfiedDependencyException: >>>>>> Error >>>>>> creating bean >>>>>> with name 'org.appfuse.tutorial.dao.PersonDaoTest': Unsatisfied >>>>>> dependency >>>>>> expressed >>>>>> through bean property 'personDao': Set this property value or >>>>>> disable >>>>>> dependency >>>>>> checking for this bean. >>>>>> >>>>>> I only can avoid it if I move the <bean id="personDao" >>>>>> class="org.appfuse.tutorial.dao.jpa.PersonDaoJpa"/> entry from >>>>>> src/main/webapp/WEB-INF/applicationContext.xml to >>>>>> src/main/resources/applicationContext-resources.xml. >>>>>> >>>>>> If this is the only way to do it then it would be an error in your >>>>>> tutorial, >>>>>> because you mention explicitely that >>>>>> src/main/webapp/WEB-INF/applicationContext.xml is the prefered >>>>>> location >>>>>> if >>>>>> you have a base archetype. >>>>>> >>>>>> Any ideas? >>>>>> Tanks >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> >>> http://www.nabble.com/AppFuse-2.0.1---Error-while-testing-the- >>> tutorial-jpa-m >>> odule-from-appfuse-demos-tp14254631s2369p14254631.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] >>>>> >>>>> >>>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/AppFuse-2.0.1---Error-while-testing-the- >>> tutorial-jpa-m >>> odule-from-appfuse-demos-tp14254631s2369p14331469.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] >>> >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/AppFuse-2.0.1--- >> Error-while-testing-the-tutorial-jpa-module-from-appfuse-demos- >> tp14254631s2369p14661762.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] > > > -- View this message in context: http://www.nabble.com/AppFuse-2.0.1---Error-while-testing-the-tutorial-jpa-module-from-appfuse-demos-tp14254631s2369p14682869.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]
