org.sprinorg.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.yswh.sys.convert.MyConverter] for bean with name 'com.yswh.sys.convert.MyConverter#0' defined in class path resource [config/spring-cfg.xml]; nested exception is java.lang.ClassNotFoundException: com.yswh.sys.convert.MyConvertergframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.yswh.sys.convert.MyConverter] for bean with name 'com.yswh.sys.convorg.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.yswh.sys.convert.MyConverter] for bean with name 'com.yswh.sys.convert.MyConverter#0' defined in class path resource [config/spring-cfg.xml]; nested exception is java.lang.ClassNotFoundException: com.yswh.sys.convert.MyConverterert.MyConverter#0' defined in class path resource [config/spring-cfg.xml]; nested exception is java.lang.ClassNotFoundException: com.yswh.sys.convert.MyConverter
<!-- 拦截器 -->
<bean id="mKPowerInterceptor" class="com.yswh.sys.interceptor.MKPowerInterceptor"/>
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/admin/**" />
<bean class="com.yswh.sys.interceptor.MKPowerInterceptor"></bean>
</mvc:interceptor>
</mvc:interceptors>
<bean class="com.yswh.sys.interceptor.MKPowerInterceptor"/>
<!-- 加入自定义参数转换 -->
<mvc:annotation-driven conversion-service="conversionService" ></mvc:annotation-driven>
<!-- 自定义参数转换 -->
<bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean">
<property name="converters">
<list>
<bean class="com.yswh.sys.convert.MyConverter"/>
</list>
</property>
</bean>
<bean id="myConverter" class="com.yswh.sys.convert.MyConverter"/>