Hi,
In one of my hbm.xml files I had this:
<version name="updateVersion" column="updateVersion" type="long" length="20"/>
Deploying, I got the following message:
15:52:09,306 ERROR [XMLHelper] Error parsing XML: XML InputStream(36) Attribute "length" must be declared for element type "version".
I found out that the version tag does not include any length property. When I removed the length property it went through.
This seems to be an erroneous error message, right ;-)
Big chance that somebody posted this before, sorry in that case.
I tried to search the forum. Is there a way to search on a complete phrases like "must be declared for element type"?
Best regards
Lasse[/i]
|