[ 
https://issues.apache.org/jira/browse/DIRMINA-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557924#action_12557924
 ] 

Niklas Therning commented on DIRMINA-510:
-----------------------------------------

<QUOTE>
Has anybody noticed that the Spring version of chat example breaks? The
trouble maker is
mina-examples/src/main/resources/org/apache/mina/example/chat/serverContext.xml,
in which there is still classes already removed from trunk long ago, such
as:

 - org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
 - org.apache.mina.integration.spring.ssl.BogusTrustManagerFactory
 - org.apache.mina.integration.spring.ssl.SslContextFactoryBean
 - org.apache.mina.integration.spring.DefaultIoFilterChainBuilderFactoryBean 
</QUOTE>

The three first missing classes now live in org.apache.mina.filter.ssl. The 
last one should be replaced with 
org.apache.mina.common.DefaultIoFilterChainBuilder directly because it now has 
the setFilters() method. 


> Spring version of chat example breaks
> -------------------------------------
>
>                 Key: DIRMINA-510
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-510
>             Project: MINA
>          Issue Type: Bug
>          Components: Example
>    Affects Versions: 2.0.0-M1
>            Reporter: Maarten Bosteels
>            Assignee: Maarten Bosteels
>            Priority: Trivial
>             Fix For: 2.0.0-M1
>
>
> org.apache.mina.example.chat.SpringMain because of ClassNotFoundException
> Exception in thread "main" 
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
> class [org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean] for bean 
> with name 'keyStore' defined in class path resource 
> [org/apache/mina/example/chat/serverContext.xml]; nested exception is 
> java.lang.ClassNotFoundException
> ...
> see 
> http://www.nabble.com/Spring-related-mina-example-code-breaks-to14735748s16868.html

-- 
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