Thread:
 HybernetTestApp.User.hbm.xml(2,2): XML validation ... 
 gunwantw   29 Aug 2007, 03:34 
 Re: HybernetTestApp.User.hbm.xml(2,2): XML vali... 
 Nandem   22 Jan 2008, 17:05 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: Nandem (22 Jan 2008, 17:05) Replies: 0, Views: 1000
Subject: Re: HybernetTestApp.User.hbm.xml(2,2): XML validation e...
HybernetTestApp.User.hbm.xml(3,2): XML validation error: 
The 'urn:nhibernate-mapping-2.2:hibernet-mapping' element is not 
declared.


this error apears that 'urn:nhibernate-mapping-2.2:hibernet-mapping'
element is not declared.

hmm

it does not exists this line should be 

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
assembly="assemblyName">

(or for version 1.2.1

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="assemblyName">


(i can't see others place that maybe incorrect sintax, u should look
with more attention!)

good luck!
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]