最新回答 / 世上无难事_只要肯放弃
代码看下啊
最新回答 / 不知路
补充一下,这个报错刚碰到,是struts配置文件中action标签内的class名称和spring配置文件中的bean id不一致
最新回答 / qq_絵空事_1
右键新建File,命名为log4j.properties。复制:# Configure logging for testing: optionally with log filelog4j.rootLogger=WARN, stdout# log4j.rootLogger=WARN, stdout, logfilelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log...
2018-03-04
最新回答 / ygftengma
同问,也是这个错误,
最新回答 / Jerry__Liang
Did you mean 'adao'?你的类里面取名是这个,而你想用addDao,所以报错了,你检查一下你的名称是否一致,我的之前也报这个错误,原因就是多了个空格,真的严格--,希望对你有帮助
最赞回答 / 请叫我玉米
试试吧sessionFactory的class换成org.springframework.orm.hibernate3.LocalSessionFactoryBean。
最新回答 / 极道漫漫
https://repo.spring.io/libs-release-local/org/springframework/spring/5.0.2.RELEASE/spring-framework-5.0.2.RELEASE-dist.zip
2018-01-19
已采纳回答 / qq_忆思等待的泪_0
同上只需在文件头中引入:xmlns:context="http://www.springframework.org/schema/context" 即可