主题 : ssh框架整合步骤讲解 |
级别: 童生
![]() |
345# 发表于:2013-11-25 14:44:33 IP:114.221.*.*
感谢楼主分享
|
||
---|---|---|---|
级别: 童生
![]() |
346# 发表于:2013-11-25 21:22:37 IP:58.184.*.*
![]() ![]() |
||
---|---|---|---|
级别: 秀才
![]() |
347# 发表于:2013-11-26 14:26:07 IP:111.121.*.*
新手请教:照着教程做,启动TOMCAT
严重: StandardWrapper.Throwable org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.ssh.dao.impl.UserDAO] to required type [com.ssh.dao.IUserDAO] for property 'userDAO'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.ssh.dao.impl.UserDAO] to required type [com.ssh.dao.IUserDAO] for property 'userDAO': no matching editors or conversion strategy found 附上applicationContext.xml <bean id="UserDAO" class="com.ssh.dao.impl.UserDAO"> <property name="sessionFactory"> <ref bean="sessionFactory" /> </property> </bean> <bean name="userService" class="com.ssh.service.impl.UserService"> <property name="userDAO"> <ref bean="UserDAO" /> </property> </bean> |
||
---|---|---|---|
级别: 白丁
![]() |
348# 发表于:2013-11-28 09:45:52 IP:120.138.*.*
学习一下
|
||
---|---|---|---|
级别: 童生
![]() |
350# 发表于:2013-11-28 17:13:45 IP:111.195.*.*
学习~~~
|
||
---|---|---|---|