Process finished with exit code 1 解决方法
Process finished with exit code 1 解决方法
这个问题是spring容器没有建立起来。我遇到的这个具体问题的原因是依赖之间冲突了。
启动springbootWeb项目只需要两个启动器就可以了,我还从百度上搜了好多单个的依赖,这导致中间包冲突了。
<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.2.1.RELEASE</version></parent>
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId><version>2.3.12.RELEASE</version></dependency>
下面是我百度搜的千奇百怪的依赖们,都是些单独的不成体系和版本关联的:
<!-- Spring依赖 --><!-- 1.Spring核心依赖 --><dependency><groupId>org.springframework</groupId><artifactId>spring-core</artifactId><version>4.3.7.RELEASE</version></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-beans</artifactId><version>4.3.7.RELEASE</version></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-context</artifactId><version>4.3.7.RELEASE</version></dependency><!-- 2.Spring dao依赖 --><!-- spring-jdbc包括了一些如jdbcTemplate的工具类 --><dependency><groupId>org.springframework</groupId><artifactId>spring-jdbc</artifactId><version>4.3.7.RELEASE</version></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-tx</artifactId><version>4.3.7.RELEASE</version></dependency><!-- 3.Spring web依赖 --><dependency><groupId>org.springframework</groupId><artifactId>spring-web</artifactId><version>4.3.7.RELEASE</version></dependency><dependency><groupId>org.springframework</groupId><artifactId>spring-webmvc</artifactId><version>4.3.7.RELEASE</version></dependency><!-- 4.Spring test依赖:方便做单元测试和集成测试 --><dependency><groupId>org.springframework</groupId><artifactId>spring-test</artifactId><version>4.3.7.RELEASE</version></dependency>
Process finished with exit code 1 解决方法相关推荐
- 程序启动,遇到Process finished with exit code 1 解决方法
Process finished with exit code 1 解决方法 其实不用那么复杂,这一般是程序启动时发生了报错,只需要在启动类加上异常捕获即可.再根据异常信息,对症下药. try {Sp ...
- 0716 process finished with exit code 0 解决
写完代码之后想要debug 看看是否可以运行成功过程中,出现了Process finished with exit code 0 意思是程序运行成功并且退出 exit code 0 表示程序执行成功, ...
- SpringBoot启动时:Process finished with exit code 0解决办法
Process finished with exit code 0并不是报错了,这个表示程序正常执行完毕退出了.这就表示项目启动成功后了,此时运行,最后运行完毕自动退出.但我们是需要访问路径的,所以需 ...
- 【PyQT5】安装之后,PyUIC没有成功转换ui文件转为py且出现错误:`Process finished with exit code 1`的解决方法
目录 1. 没有成功转换且出现错误:`Process finished with exit code 1` 2. 找解决办法的过程(可跳过) 3. 解决办法 1. 没有成功转换且出现错误:Proces ...
- 解决报错Process finished with exit code -1073741571 (0xC00000FD),修改栈大小
运行程序时程序意外终止,并返回提示: Process finished with exit code -1073741571 (0xC00000FD) 导致的原因是StackOverflow(栈区溢出 ...
- 报错解决:Process finished with exit code -1073741819 (0xC0000005)
简单记录一下程序异常终止,抛出 Process finished with exit code -1073741819 (0xC0000005) 的解决方法. 一.程序中文件位置错误/缺少文件 位置错 ...
- python Process finished with exit code -1073741819 (0xC0000005) 解决
运行程序时,Process finished with exit code -1073741819 (0xC0000005) 报错 原因:没有 python33.dll 在 c:\WINDOWS\sy ...
- python中关于Process finished with exit code -1073740791 (0xC0000409)的解决办法
有些小伙伴在运行python程序的时候会遇到上图这种情况.对于这种情况不要着急,使用排除法很容易解决. 情况一(也是网上较多的情况):(显卡)内存不足 这个时候,我们可以在pycharm里调一下内存: ...
- 【已解决】程序异常终止:Process finished with exit code -1073741819 (0xC0000005)
一.问题出现背景: 项目环境:Maven + IDEA + JDK1.8 使用Run执行程序时直接终止并出现上述提示信息Process finished with exit code -1073741 ...
最新文章
- linux 共享内存函数封装,linux ftok()函数 --多进程IPC之共享内存
- C#的访问修饰符Protected
- 苹果为何加强云计算布局 汤换药也换?
- [YTU]_2384 ( 矩形类中运算符重载【C++】)
- date比较大小 mybatis_MyBatis Sqlserver日期比较
- 网络编程--Address already in use 问题
- 转:A/B测试:实现方法
- 设计模式建议学习顺序
- swift 打开第三方应用_iOS卡通人物帧动画入门9(大结局):番外篇-扩展第三方类
- 计算机英语第六单元,计算机专业英语第六版第十单元课后汉译英,We do use other forms....这个do...
- Cocos2dx实现象棋之布局
- LwIP应用开发笔记之十一:LwIP带操作系统UDP服务器
- python 什么时候后面要加冒号_Python中的每个if条件语句后面都要使用冒号。
- HDU2073 无限的路【数学】
- ICE专题:编译环境构建
- HTML5框架 iframe用法 实现嵌套 好玩用法
- java生成mib文件_Mib浏览器设计(附源码) | 学步园
- 2015中国十大域名注册商排名
- HDU - 4565 So Easy! 矩阵快速幂
- 哈工大计算机系统大作业——程序人生-Hello’s P2P
热门文章
- 匿名飞控STM32版代码整理之Ano_Imu.c
- 《袁老师访谈录》第十一期|宗福季教授/香港科大(广州)信息枢纽署理院长【问诊未来·院长系列:拥抱数字化转型】...
- 【每日新闻】1.7万元起!华为发布首款5G折叠屏手机!
- 【3】SALSA-基于HIC数据辅助组装长读长组装结果
- 常用元数据标准/受控词表/本体词汇表/的命名空间前缀及IRI链接汇总
- Python pandas.DataFrame.tz_localize函数方法的使用
- Java web实时进度条整个系统共用(如java上传、下载进度条、导入、导出excel进度条等)...
- 看到别人比自己优秀,为何会难受?
- 无人机编程donekit及通讯(三)——仿真
- html5在微信浏览器下调用复制功能