部署项目时出现:Error configuring application listener of class org.springframework.web.context.解决方案
来源:互联网 发布:决战武林雨扇进阶数据 编辑:程序博客网 时间:2024/06/06 00:02
我的项目环境是:jdk1.8.0_131、Tomcat7.0、项目架构用的SSM,dubbo,虚拟机上搭了六个redis节点,项目在开发环境中部署到Tomcat上时出现了错误。之前确定了Tomcat启动正常,并没有其他错误报出。
解决:检查发现,原来是项目发布的时候,maven依赖包没有添加进去,所以可以这么解决
右键点击项目选择properties,进入后找到deployment assembly,查看右边列表,如果没有maven dependency,那么点击add,然后点击Java build path entries,点击next,添加即可。
如果发现启动一切正常,当输入网址时,发现页面404错误,无法得到正常页面,确定其他一切正常的前提下,很有可能是因为,webapp根本没有部署到Tomcat里面,也就是说网页并没有部署上去只需查看下图中红色圆圈画出的weapp是否存在,若不存在,那么表示没有部署。
解决:如下图,右击项目点properties,进入deployment assembly,点击add,找到Folder文件夹,进入找到src文件夹,里面main文件夹下有webapp文件夹,添加进去即可。
阅读全文
0 0
- 部署项目时出现:Error configuring application listener of class org.springframework.web.context.解决方案
- maven管理的项目出现Error configuring application listener of class org.springframework.web.context.Context
- maven管理的项目出现Error configuring application listener of class org.springframework.web.context.ContextL
- Error configuring application listener of class org.springframework.web.context.
- maven项目启动Error configuring application listener of class org.springframework.web.context.ContextLoad
- Error configuring application listener of class org.springframework.web.context.Context
- 启动服务器报错: 严重: Error configuring application listener of class org.springframework.web.context.Context
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Spring异常:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- tomcat启动报错:Error configuring application listener of class org.springframework.web.context.ContextLo
- tomcat启动报错:Error configuring application listener of class org.springframework.web.context.ContextLo
- tomcat启动报错:Error configuring application listener of class org.springframework.web.context.ContextLo
- 让Mysql替你完成时间戳和时间格式的转换
- 【转载】Py 编码的真相
- 分布式关系型数据库DRDS常见问题汇总贴
- 微信小程序表单验证form提交错误提示
- Error:Execution failed for task ':uikit:transformNativeLibsWithStripDebugSymbolForRelease'. > java.l
- 部署项目时出现:Error configuring application listener of class org.springframework.web.context.解决方案
- H5实现评论&评论回复页面
- 解决intellij idea git 自动提交配置文件问题
- 类模板
- Error:Execution failed for task ':Shopping:transformClassesAndResourcesWithProguardForRelease'. > ja
- 自定义流布局FlowGroup
- “社交网络”分析
- MySQL字符编码设置
- JAVA的23种设计模式---抽象工厂模式