See last entry at: http://forum.java.sun.com/thread.jspa?threadID=567285&tstart=180 Just had the same myself while writing a test case for the standard taglib.
I don't see anywhere obvious to catch this issue and print out better errors, so I've gone with the simple route and put it in the FAQ.