- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 SpringBoot 项目启动后直接退出:Process finished with exit code 0
在创建springcloud项目后,新建一个springboot服务的时候,启动项目没有任何报错。但是,项目一启动后就退出了:Process finished with exit code 0,(程序执行完成)没有监听端口就退出了。
2023-01-09 14:10:27
4655
原创 无法找到guava依赖Dependency ‘com.google.guava:guava:31.0.1-jre‘ not found
在父工程标签下的某些版本号和导入首次使用的依赖一直爆红,无法刷新解决的问题(下图是修复完成的情况,原本的hutool版本以及guava全红),原因是依赖未导入。解决方案:在子(其它)工程标签下导入并刷新maven即可。
2023-01-08 13:11:30
4490
1
原创 Plugin ‘org.springframework.boot:spring-boot-maven-plugin:‘ not found
(crtl+左键上面的org.springframework.boot跳转到它的pom配置文件,找到一行复制到下边)的spring-boot-maven-plugin红色报错,在其下方加上版本信息即可。
2023-01-08 12:02:57
323
原创 使用visualstudio2019OpenGL程序出现报错信息LNK1104 无法打开文件“freeglut.lib”
错误 LNK1104 无法打开文件“freeglut.lib”导入glut.h 文件后出现报错解决方案:项目->管理NuGet程序包->浏览->搜索 NupenGL 安装第一个即可。
2021-09-13 22:14:30
974
原创 Cannot resolve directory ‘xxx‘ / Cannot resolve MVC view ‘xxx‘
使用SpringBoot做文件上传,报错:message=Error resolving template [form/form_layouts], template might not exist or might not be accessible by any of the configured Template Resolvers, path=/form_layouts}]资源目录:Controller@Controllerpublic class FromTestController {
2021-08-13 12:53:24
279
原创 nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$Refle
在Spring AOP实现时调试出现nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException具体报错信息如下:org.springframework.context.support.AbstractApplicationContext refresh警告: Exception encountered during cont
2021-08-09 00:25:05
682
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人