摘要: 1、 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional></de 阅读全文
posted @ 2022-07-23 21:58 器师 阅读(54) 评论(0) 推荐(0)
摘要: @ConfigurationProperties(prefix = "mycar"):组件(Car)跟配置文件的前缀绑定(mycar) @ResponseBody: 1、返回的数据是写给浏览器的,而不是跳转到某个页面 2、(SpringMVC):将 Java数据 转换为 响应信息 @RestCont 阅读全文
posted @ 2022-07-23 21:57 器师 阅读(66) 评论(0) 推荐(0)
摘要: ​ 第一种解决方法:添加aliyun地址,将默认地址更改为aliyun地址 ​ 第二种解决方法:略 创建时出现:Artifact contains illegal characters 时 ​ ​​ 阅读全文
posted @ 2022-07-23 21:56 器师 阅读(200) 评论(0) 推荐(0)