Fix bug

Fix spring bug and mina BeansException.
Maven Test.