I use JSF for my project and I define a converter in faces-config.xml like bellow:
<converter>
<description>myDateTimeConverter</description>
<display-name>myDateTimeConverter</display-name>
<converter-id>myDateTimeConverter</converter-id>
<converter-for-class>java.util.Date</converter-for-class>
<converter-class>controller.MyDateTimeConverter</converter-class>
</converter>
And I get an error in (in eclipse):
cvc-complex-type.2.4.a: Invalid content was found starting with element 'converter-for-class'. One of '{"http://java.sun.com/xml/ns/javaee":converter-class}' is
expected.