Thanks.  I had old jar file.   I removed it and it started working.  

mraible wrote:
> 
> This happens when you haven't registered Person in hibernate.cfg.xml.
> If you've already registered it, check for duplicate hibernate.cfg.xml
> files in your project.
> 
> Matt
> 
> On 6/5/07, Sandhu <[EMAIL PROTECTED]> wrote:
>>
>> In appfuse, if I enter person first name and last name, click add, it
>> shows
>> the following error message on screen but no exception or log in the
>> tomcat
>> container log.
>>
>>
>> Data Access Failure
>>
>> Unknown entity: org.appfuse.tutorial.model.Person; nested exception is
>> org.hibernate.MappingException: Unknown entity:
>> org.appfuse.tutorial.model.Person
>>
>>
>> I don't see any errors in the logs of tomcat.  I have checked the all the
>> configuration files looks ok.
>>
>> Any idea.  Same code works from another directory.  I created project
>> using
>> appfuse 2.0 M5 (spring -modular).  It was working.  I created my project
>> directory and copied the stuff to that directory.  Everything builds ok
>> but
>> when I run I see this error.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Data-Access-Failure-using-Hibernate.-tf3873350s2369.html#a10974747
>> 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/Data-Access-Failure-using-Hibernate.-tf3873350s2369.html#a10975858
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