
springboot
PT1993
这个作者很懒,什么都没留下…
展开
-
Caused by: org.yaml.snakeyaml.scanner.ScannerException
SPRING APPLICATION使用@ 使用的问题:'@' THAT CANNOT START ANY TOKEN. (DO NOT USE @ FOR INDENTATION)标签:Springspring bootspringmaven错误信息在application配置文件中使用@出现异常:Exception in thread "main" while scanning for the next tokenfound character '@' that can...原创 2020-07-10 09:45:48 · 963 阅读 · 0 评论 -
spring boot maven处理外部架包及打包操作
在maven项目中,如果maven下载架包失败,或者没有需要的架包,就会从外部导入架包,但在执行maven install的时候,会提示错误信息,架包找不到,打包发布时,也会有影响,这事需要在pom.xml文件中引入外部架包1、在项目的src文件夹下创建lib文件夹,把架包放入进去2、在,pom.xml文件中添加引入信息,请填写正确的包名称 <dependen...原创 2019-05-28 18:29:30 · 616 阅读 · 0 评论 -
springBoot2提示HttpMessageNotWritableException: No converter found for return value of type
在controller返回string是可以在页面显示出来的,但是返回map,object则报一下错误:HttpMessageNotWritableException: No converter found for return value of type解决办法:在springboot的pom.xml文件中添加下面依赖 <!-- https://mvnrepository...原创 2019-09-30 09:59:45 · 1482 阅读 · 0 评论 -
springBoot项目IDEA工具开发热部署
一、在pom文件中添加devtools依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional&...原创 2019-09-30 13:45:41 · 357 阅读 · 0 评论