Hi I have attached 3 files my persistence.xml,
applicationContext-resources.xml and the dao let me know if you need
anything else.  

thanks
Jeff




mraible wrote:
> 
> Can you post the bean definitions or code you're trying to use?  The
> tutorials tell you to put your bean definitions in
> src/main/resources/applicationContext.xml, so it's strange to see the
> error coming from src/test/resources/applicationContext-resources.xml.
> 
> Matt
> 
> On 5/14/07, jgardner16 <[EMAIL PROTECTED]> wrote:
>>
>> I did follow the instructions I changed my POM.xml to use M5 and made the
>> other changes on the website.  When I build it has no problems creating
>> the
>> tables but when I get to the unit test they all fail with the nosuchbean
>> error.
>>
>>
>> thanks
>>
>>
>> mraible wrote:
>> >
>> > What version of AppFuse are you using?  Did you following the
>> > integration instructions in the following tutorial?
>> >
>> > http://appfuse.org/display/APF/Using+JPA
>> >
>> > Matt
>> >
>> > On 5/14/07, jgardner16 <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi I am new to JPA and am trying to convert my application to use JPA.
>> >> Everything seems to be working except when I run the unit tests I get
>> the
>> >> following error.
>> >>
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name 'dealDao' defined in file [c:\svn\grandpacific\AO
>> >>
>> Application\trunk\mamp\core\target\test-classes\applicationContext-resources.xml]:
>> >> Initialization of bean failed; nested exception is
>> >> org.springframework.beans.factory.NoSuchBeanDefinitionException: No
>> bean
>> >> named 'ApplicationEntityManager' is defined
>> >> Caused by:
>> >> org.springframework.beans.factory.NoSuchBeanDefinitionException:
>> >> No bean named 'ApplicationEntityManager' is defined
>> >>
>> >>
>> >> Does anyone have any ideas what might be causing this?
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/JPA-problems-tf3748453s2369.html#a10587192
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/JPA-problems-tf3748453s2369.html#a10607642
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
http://www.nabble.com/file/8414/applicationContext-resources.xml
applicationContext-resources.xml 
http://www.nabble.com/file/8415/AccountDaoJpa.java AccountDaoJpa.java 
http://www.nabble.com/file/8416/persistence.xml persistence.xml 
-- 
View this message in context: 
http://www.nabble.com/JPA-problems-tf3748453s2369.html#a10613371
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