随笔分类 -  spring

摘要:在springmvc.xml配置文件中加入 (注意是springmvc配置文件不是spring配置文件的xml)不然可能取不到值 <context:property-placeholder location="classpath*:conf/*.properties"/> 使用格式 @Value(" 阅读全文
posted @ 2018-03-20 17:02 何良 阅读(227) 评论(0) 推荐(0)
摘要:application.properties中加入 multipart.maxFileSizemultipart.maxRequestSize Spring Boot 1.3.x或者之前 multipart.maxFileSize=100Mbmultipart.maxRequestSize=1000 阅读全文
posted @ 2018-01-11 19:53 何良 阅读(295) 评论(0) 推荐(0)
摘要:找不到javax.servlet.Filter类, 在构建的依赖包中缺少servlet.api 阅读全文
posted @ 2017-12-21 18:41 何良 阅读(1491) 评论(0) 推荐(0)
摘要:其实是:jsonmappingexception:no serializer found for class 由于后台错误堆栈打印很快,只看到illegalStateException:stream 需要细心调试debug. 原因:与response 的geOutputStream out.getW 阅读全文
posted @ 2017-12-21 18:33 何良 阅读(221) 评论(0) 推荐(0)

如果觉得老弟写的还可以,帮忙点个赞,谢谢