[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] validator not registered

How to fix an error that gives this message:
'com.tutorial.ValidatePassword' validator id is is not registered.	

(Yes -- it says "is is not".)

I'm new to Eclipse and JavaServer Faces. I'm trying to learn both, and a bunch of other things, using the "WTP Tutorials - JavaServer Faces Tools Tutorial" found at http://www.eclipse.org/webtools/jsf/docs/tutorial/JSFTools_1_0_tutorial.html
(which also occurs in the Eclipse SDK Help).


About two-thirds of the way down it calls for a new validator. I have, as far as I can tell, followed instructions; my code looks like theirs, and appears the same in the Project Explorer.

But my validator does not show up in the choices offered when I open faces-config.xml. When I right-click on the login.jsp file that drives all this and validate, I get the error above. When I hover over a reference to this validator, I get the same (syntactically-confused) message.

I've googled and searched all over for a day, but cannot find even the error message, let alone a fix. Can anyone here help? Or point me to a better place to ask?

FWIW, I'm using Eclipse 3.4.0, Java jdk1.5.0_15, and eventually Tomcat 5.0.30.

Full boring disclosure: if you look at the tutorial, it spells it validatePassword, with a small 'v'. Got this error (with the small 'v'.) Then I deleted that and used "New->Class" to recreate my validate module, and it suggested uppercase. As you see, same error with 'V'.

Thanks,
Mark