No services have been found解决方案
生活随笔
收集整理的這篇文章主要介紹了
No services have been found解决方案
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
? 今天在做web服務(wù)的時(shí)候遇到了一個(gè)問題,很是頭疼,
No services have been found,就是它!!!
??? 我的解決方案是,在web.xml里面加上:
<context-param>
?? ?<param-name>contextConfigLocation</param-name>
?? ?<param-value>classpath:applicationContext.xml</param-value>
? </context-param>
?
? <listener>
??????? <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
?? </listener>
只怪當(dāng)初太初心,沒有配置spring,才導(dǎo)致的錯(cuò)誤
總結(jié)
以上是生活随笔為你收集整理的No services have been found解决方案的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 最全三大框架整合(使用映射)——stru
- 下一篇: CAD对系统有什么要求?