springboot
菱形站位
这个人很懒,什么都没留下来。
展开
-
springboot 添加jsp
springboot 接入jsp原创 2021-09-13 23:53:21 · 718 阅读 · 0 评论 -
springboot 启动报错
早上启动项目报错The web application [ROOT] appears to have started a thread named [spring.cloud.inetutils] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.net.Inet6AddressImpl.getHostByAddr(Native Method) jav原创 2021-07-13 09:49:30 · 1221 阅读 · 0 评论 -
记录一下springboot 莫名无法启动
更新代码后项目莫名其妙的无法启动,尝试重启仍无效,进入debug查看报错原因。1、在WebApplication.java的main方法中加断点,然后F7 or F8进入。最终在SpringApplication.java的325行handleRunFailure进入错误。 catch (Throwable ex) { handleRunFailure(context, ex, exceptionReporters, listeners); throw new IllegalStateEx原创 2021-06-25 10:34:45 · 258 阅读 · 0 评论 -
SpringBoot打包部署成Windows服务的 一些问题
SpringBoot打包部署成Windows服务的详细步骤步骤查看上方连接。自己出现的问题:重新部署的时候,直接运行uninstall,然后替换jar包,再重新install即可。如果手动关闭原创 2021-05-14 11:50:57 · 186 阅读 · 0 评论 -
Field roleService in com.**.Controller required a single bean, but 2 were found:
启动springboot 时,提示找到了两个service我出现问题的步骤:在Application 中添加@MapperScan之后启动项目出现报错Field roleService in com.*.*.controller.SysRoleController required a single bean, but 2 were found: - sysRoleServiceImpl: defined in file [E:\code\*\target\classes\com\*\core\s原创 2021-02-20 14:57:25 · 3202 阅读 · 2 评论 -
springboot shiro Realm 无法自动注入
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘rabbitConnectionFactoryMetricsPostProcessor’ defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/amqp/RabbitMetricsAutoConfi原创 2021-02-19 16:00:18 · 1489 阅读 · 1 评论