[ 
https://issues.apache.org/jira/browse/COCOON-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grzegorz Kossakowski updated COCOON-2176:
-----------------------------------------

    Attachment: COCOON-2176-Webapp.tar.gz

Added test-case for this problem. Just enter main directory and call mvn 
package jetty:run. You will see following exception:

2008-03-17 16:31:20.728::WARN:  Nested in 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.cocoon.servletservice.demo1.servlet': Cannot resolve 
reference to bean 'org.apache.cocoon.servletservice.demo2.servlet' while 
setting bean property 'connections' with key [TypedStringValue: value [demo2], 
target type [null]]; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.cocoon.servletservice.demo2.servlet': Invocation of init 
method failed; nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 
'org.apache.excalibur.source.SourceResolver' is defined:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 
'org.apache.excalibur.source.SourceResolver' is defined
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:378)
[...]

> Remove dependency on CocoonSourceResolver from Servlet Service Framework
> ------------------------------------------------------------------------
>
>                 Key: COCOON-2176
>                 URL: https://issues.apache.org/jira/browse/COCOON-2176
>             Project: Cocoon
>          Issue Type: Task
>          Components: - Servlet service framework
>            Reporter: Grzegorz Kossakowski
>         Attachments: COCOON-2176-Webapp.tar.gz
>
>
> The Servlet Service Framework depends on CocoonSourceResolver class from 
> cocoon-core. CocoonSourceResolver class is used to resolve paths in 
> context-path using custom source implementation, see ServletFactoryBean class 
> for details.
>  The SSF is meant to be Cocoon-independent subproject so this dependency must 
> be removed as soon as possible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to