Solved. just not include cocoon-servlet-service-components.jar.
 
Rice

 
On 5/1/07, Rice Yeh <riceyeh@gmail.com> wrote:
Hi,
  Is "block-path" input module still supported in trunk. My ap, which used to work with "block-path", is not working now. It has the following error message.
 

Caused by: org.apache.cocoon.sitemap.PatternException: Cannot get module named 'block-path' in expression '{block-path:/resources}'

at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.getNewModuleToken(PreparedVariableResolver.java:130)

at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver$1.addToken(PreparedVariableResolver.java:94)

at org.apache.cocoon.components.treeprocessor.variables.VariableExpressionTokenizer.tokenize(VariableExpressionTokenizer.java:96)

at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.<init>(PreparedVariableResolver.java:67)

at org.apache.cocoon.components.treeprocessor.variables.VariableResolverFactory.getResolver(VariableResolverFactory.java:105)

at org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.resolve(SitemapLanguage.java:569)

at org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.getParameters(SitemapLanguage.java:523)

... 95 more

Caused by: org.apache.avalon.framework.service.ServiceException: Component with 'org.apache.cocoon.components.modules.input.InputModule/block-path' is not defined in this service manager. (Key='AvalonServiceManager')

at org.apache.cocoon.core.container.spring.avalon.AvalonServiceManager.lookup(AvalonServiceManager.java:57)

at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.getNewModuleToken(PreparedVariableResolver.java:128)

... 101 more

 

Rice