No WebApplicationContext found: no ContextLoaderListener registered?
java.lang.NoClassDefFoundError: org/springframework/context/annotation/ClassPathBeanDefinitionScanne
出错:
看了很多资料,还是不行,又换了包,又把
<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>
加上,没想到好了,
怪了
java.lang.NoClassDefFoundError: org/springframework/context/annotation/ClassPathBeanDefinitionScanne
出错:
看了很多资料,还是不行,又换了包,又把
<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>
加上,没想到好了,
怪了