java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c_JAVA_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > JAVA > java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c

java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c

 2013/11/26 15:40:04  penci  程序员俱乐部  我要评论(0)
  • 摘要:[code="java"]java.lang.IllegalStateException:ApplicationEventMulticasternotinitialized-call'refresh'beforemulticastingeventsviathecontext:RootWebApplicationContext:startupdate[TueNov2614:12:06CST2013]
  • 标签:not Java APP
class="java" name="code">[code="java"]java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Tue Nov 26 14:12:06 CST 2013]; root of context hierarchy

?

细心的可以发现 是web 里的配置问题, ?<XXX-mapping> 要有次序来排放

?

<servlet>
		<servlet-name>springmvc</servlet-name>
		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
		<init-param>
			<param-name>contextConfigLocation</param-name>
			<param-value>classpath:config/springmvc-servlet.xml</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>springmvc</servlet-name>
		<url-pattern>/</url-pattern>
	</servlet-mapping>

?

上一篇: 解决:“MediaPlayer error (1, -2147483648)”问题 下一篇: 没有下一篇了!
发表评论
用户名: 匿名