关于${status.errorMessages}的使用

在spring中使用这个${status.errorMessages}取值但他抛java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
异常为啥
[b]问题补充:[/b]
加了这个ContextLoaderListener tomcat在启动是就会失败无法启动!

你的应用用了哪些框架,
还有把启动异常信息粘出来

你有没有在 web.xml 文件里加载spring的ContextLoaderListener监听器

java.lang.IllegalStateException
无效的状态

加载Spring的时候失败了

朋友,问题要自动关闭啦,结分哦,