applicationContext-core.xml<bean id="Btg02010Action" class="jp.co.token.bijyutsutouken.action.Btg02010Action" scope="prototype">
<property name="ibtg02010Service" ref="Btg02010ServiceImpl"/>
</bean>
<bean id="Btg02010ServiceImpl" class="jp.co.token.bijyutsutouken.service.impl.Btg02010ServiceImpl">
<property name="ibtg02010Dao" ref="Ibtg02010Dao"/>
</bean>
<bean id="Ibtg02010Dao" class="org.mybatis.spring.mapper.MapperFactoryBean">
<property name="mapperInterface" value="jp.co.token.bijyutsutouken.dao.Ibtg02010Dao"></property>
<property name="sqlSessionFactory" ref="sqlSessionFactory"></property>
</bean>名称对过了,绝对没问题,跟action和service里定义的一直,都有getset方法错误:
Unable to instantiate Action, Btg02010Action, defined for 'Btg02010Action' in namespace ''Error creating bean with name 'Btg02010Action' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\bijyutsutouken\WEB-INF\classes\applicationContext-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'jp.co.token.bijyutsutouken.service.impl.Btg02010ServiceImpl$$EnhancerBySpringCGLIB$$2226f010' to required type 'jp.co.token.bijyutsutouken.service.Ibtg02010Service' for property 'ibtg02010Service'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'jp.co.token.bijyutsutouken.service.impl.Btg02010ServiceImpl$$EnhancerBySpringCGLIB$$2226f010' to required type 'jp.co.token.bijyutsutouken.service.Ibtg02010Service' for property 'ibtg02010Service': no matching editors or conversion strategy found - action - file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/bijyutsutouken/WEB-INF/classes/struts.xml:46:77
<property name="ibtg02010Service" ref="Btg02010ServiceImpl"/>
</bean>
<bean id="Btg02010ServiceImpl" class="jp.co.token.bijyutsutouken.service.impl.Btg02010ServiceImpl">
<property name="ibtg02010Dao" ref="Ibtg02010Dao"/>
</bean>
<bean id="Ibtg02010Dao" class="org.mybatis.spring.mapper.MapperFactoryBean">
<property name="mapperInterface" value="jp.co.token.bijyutsutouken.dao.Ibtg02010Dao"></property>
<property name="sqlSessionFactory" ref="sqlSessionFactory"></property>
</bean>名称对过了,绝对没问题,跟action和service里定义的一直,都有getset方法错误:
Unable to instantiate Action, Btg02010Action, defined for 'Btg02010Action' in namespace ''Error creating bean with name 'Btg02010Action' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\bijyutsutouken\WEB-INF\classes\applicationContext-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'jp.co.token.bijyutsutouken.service.impl.Btg02010ServiceImpl$$EnhancerBySpringCGLIB$$2226f010' to required type 'jp.co.token.bijyutsutouken.service.Ibtg02010Service' for property 'ibtg02010Service'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'jp.co.token.bijyutsutouken.service.impl.Btg02010ServiceImpl$$EnhancerBySpringCGLIB$$2226f010' to required type 'jp.co.token.bijyutsutouken.service.Ibtg02010Service' for property 'ibtg02010Service': no matching editors or conversion strategy found - action - file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/bijyutsutouken/WEB-INF/classes/struts.xml:46:77
解决方案 »
- 同时提交两个表单,一个上传图片,另一个提交图片名称,点击一个submit按钮一同执行
- 设为首页的代码在谷歌浏览器下如何实现?
- 关于GOOGLE地图if (GBrowserIsCompatible()) 不兼容IE的问题
- for 循环异常退出
- 求助jquery获得坐标冲突
- (BlueDestiny) 出道javascript的题, 顺带散分~
- 这段javascript代码错哪了?救救我!
- 问个ie右键菜单调用脚本的问题
- iframe的例子不好使是怎么回事?
- 如何得到一个form中所有input的value
- 写一个函数,传入一个数组,返回数组去除重复的结果
- 两个jquery调用函数冲突,怎么解决?
应该写成id="ibtg02010Service"