
Spring常用配置文件
Spring常用配置文件
挥剑有人也有神
本博客用于记录代码中的困难而发布文章
展开
-
启动SpringBoot服务时提示o.s.b.d.LoggingFailureAnalysisReporter的解决方法集合
报错信息如下解决方法集合,在网上看到了很多种的我把它们整理一下第一种、端口被占用的问题在配置文件里面改一下端口号就行了下面是.yml和.properties的两种配置方式配置文件在resources里面设置1、.yml的配置方法2、.properties的配置方法第二种 修改启动类1、在启动类上添加@SpringBootApplication (exclude= {Da...原创 2020-02-12 15:13:47 · 11518 阅读 · 1 评论 -
Spring框架中的applicationContext.xml头文件
复制到你的xml文件中就行了<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schema...原创 2020-02-09 10:36:58 · 393 阅读 · 0 评论