I am new to trying to use cocoon for a command line application and I had 
an error in my sitemap where I had:

<map:generator type="sbnf">

rather than the

<map:generator name="sbnf">

that I should have. The errors that I got were no help whatsoever. It 
threw a ClassNotFoundException, but it did not name the class that wasn't 
found and it came in the debugging log at this point:

DEBUG   2002-12-06 02:57:20.308 [manager ] (): ComponentHandler 
          initialized for: org.apache.cocoon.transformation.TraxTransformer
DEBUG   2002-12-06 02:57:20.309 [manager ] (): Adding 
         org.apache.cocoon.transformation.TraxTransformer for xslt
DEBUG   2002-12-06 02:57:20.319 [manager ] (): ComponentHandler 
         initialized for: org.apache.cocoon.serialization.XMLSerializer

And so I kept trying to figure out what was wrong with the serializer. And 
the only description that comes out is:

ComponentSelector could not find the component for hint:

(Since the name was wrong it doesn't have a name to put in as the hint.)

It was just really tough to find the error in the file because of my lack 
of familiarity and I wanted to suggest that a more descriptive exception 
is throw for this error.

Will Holcomb


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to