springboot
勤读意现
我希望自己更强大
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
本地tomcat,服务器wildfly打包时,依赖报错处理-----------------------------------gxy
wildfly里面是不能容忍,tomcat,因此需要在Pom文件中加入以下配置: <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <!-- 只在test测试里面运行 -->...原创 2018-05-22 16:58:06 · 347 阅读 · 0 评论 -
springboot打成jar包后无法读取resource文件夹下文件模板---------------gxy
springboot打成jar包后无法读取resource文件夹下文件模板 BufferedInputStream bis = null; OutputStream os = null; ClassPathResource cpr = new ClassPathResource("/templates/excelmodual/" + fileName); os = response.get...原创 2018-09-19 11:13:07 · 5510 阅读 · 0 评论 -
springboot 2.0websocket推送指定页面------------------gxy
加一个这个就行了,其他别乱加 &lt;dependency&gt; &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt; &lt;artifactId&gt;spring-boot-starter-websocket&lt;/artifactId&原创 2018-11-16 16:50:06 · 316 阅读 · 0 评论
分享