![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
编程时光
成功就像怀孕一样,都跑来恭喜你,但谁都不知道你究竟被干了多少次.
展开
-
Springboot项目访问 index.html 出现404错误
表现:解决办法:遇到的坑:坑一:java.lang.IllegalStateException: Cannot call sendError() after the response has been committed解决方案: 参考https://blog.csdn.net/weixin_34041003/article/details/86233497坑二:Cannot call sendRedirect() after the response has been commi.原创 2020-09-24 21:21:01 · 3746 阅读 · 0 评论 -
翻车现场:解决SpringBoot项目启动访问后台JSP页面显示404报错
转发:翻车现场:解决SpringBoot项目启动访问后台JSP页面显示404报错转载 2020-08-18 13:18:24 · 542 阅读 · 0 评论 -
Invalid packaging for parent POM com.oas.root:oas-root:1.0.0.RELEASE, must be “pom“ but is “jar“
初衷:SpringBoot建立三个项目,一个后端业务项目(demo-business),一个前端展示项目(demo-web),一个maven包管理项目(demo-root),想要将root项目作为父类(根)节点,为这两个项目通用出现的原因:将demo-root 作为根节点 引入demo-business时,出现了以下报错解决方案:在root项目的pom文件上加上以下内容,然后maven update 项目即可解决<packaging>pom</packagi..原创 2020-07-10 09:59:08 · 417 阅读 · 0 评论 -
SpringBoot学习资源汇总
史上最全的SpringBoot学习教程!会不断更新原创 2020-06-03 13:52:07 · 133 阅读 · 0 评论 -
SpringBoot开发,常见的问题(1)
当使用springboot开发使用的时候,不想配置数据库配置的时候,启动类头部声明就可以了:@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})当启动出现这个错误的时候Failed to configure a DataSource: 'url' attribute is not specified and no embedd原因可能是数据库连接没有配置,可以配置上对应的数据库链接信息,也可以使用这个原创 2020-05-13 17:08:14 · 259 阅读 · 0 评论