![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
勤读意现
我希望自己更强大
展开
-
本地tomcat,服务器wildfly打包时,依赖报错处理-----------------------------------gxy
wildfly里面是不能容忍,tomcat,因此需要在Pom文件中加入以下配置:<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <!-- 只在test测试里面运行 -->...原创 2018-05-22 16:58:06 · 286 阅读 · 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 · 5421 阅读 · 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 · 256 阅读 · 0 评论