You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ha...@aol.com on 2002/08/25 17:59:24 UTC
very simple sitemap
Hallo!
What's wrong with this very simple sitemap?
<?xml version="1.0" encoding="UTF-8"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
<map:generators default="file">
<map:generate name="file"
src="org.apache.cocoon.generation.FileGenerator" />
</map:generators>
<map:transformers default="xslt">
<map:transformer name="xslt"
src="org.apache.cocoon.transformation.TraxTransformer" />
</map:transformers>
<map:serializers default="html">
<map:serializer name="html"
src="org.apache.cocoon.serialization.HTMLSerializer" mime-type="text/html" />
</map:serializers>
<map:matchers default="wildcard">
<map:matcher logger="sitemap.matcher.wildcard" name="wildcard"
src="org.apache.cocoon.matching.WildcardURIMatcher"/>
</map:matchers>
</map:components>
<map:pipelines>
<map:pipeline>
<map:match pattern="hello">
<map:generate src="hello/helloworld.xml"/>
<map:transform src="hello/helloworld2html.xsl"/>
<map:serialize/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
I get the error:
Error in sitemap configuration : UnnamedSelector: ComponentSelector could not
find the component for hint: wildcard
description org.apache.avalon.framework.configuration.ConfigurationException:
Error in sitemap configuration : UnnamedSelector: ComponentSelector could not
find the component for hint: wildcard
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : UnnamedSelector: ComponentSelector could not find the
component for hint: wildcard
at
org.apache.cocoon.www.sitemap_xmap.configure(D:\jakarta\jakarta-tomcat-4.0.4-b
3\work\Standalone\localhost\cocoon2\cocoon-files\org/apache/cocoon/www\sitemap
_xmap.java:148)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Defa
ultComponentFactory.java:172)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(Th
readSafeComponentHandler.java:84)
at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator
(GeneratorSelector.java:170)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createRes
ource(ProgramGeneratorImpl.java:332)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Prog
ramGeneratorImpl.java:291)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
at java.lang.Thread.run(Thread.java:479)
Thanks,
Hans