Grails Weblogic重新加载应用程序抛出;未找到WebApplicationContext:未注册ContextLoaderListener?“;消息
我在WebLogic12c中部署了一个grails-2.4.4应用程序。该应用程序运行良好。然而,当我停止并启动应用程序时,所有的GET action都能工作,但其他的[发布、放置、删除,…]都不能Grails Weblogic重新加载应用程序抛出;未找到WebApplicationContext:未注册ContextLoaderListener?“;消息,grails,deployment,weblogic,Grails,Deployment,Weblogic,我在WebLogic12c中部署了一个grails-2.4.4应用程序。该应用程序运行良好。然而,当我停止并启动应用程序时,所有的GET action都能工作,但其他的[发布、放置、删除,…]都不能 我在控制台中收到此异常消息 未找到WebApplicationContext:未注册ContextLoaderListener? 我做了一些搜索,大家都说的解决方案是在web.xml文件中添加这一行: <listener> <listener-class>org.sp
我在控制台中收到此异常消息
未找到WebApplicationContext:未注册ContextLoaderListener?
我做了一些搜索,大家都说的解决方案是在web.xml文件中添加这一行:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
org.springframework.web.context.ContextLoaderListener
Grails生成自己的web.xml文件,该文件内部有以下行:
<listener>
<listener-class>org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener</listener-class>
</listener>
org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
GrailsContextLoaderListener
是ContextLoaderListener
的继承,因此这不是我的解决方案我该怎么办?这个问题与