![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
hh哈哈hh
这个作者很懒,什么都没留下…
展开
-
错误: 找不到或无法加载主类 com.xkd.wjm.springbootintroduction.SpringbootIntr
使用springboot时报错误: 找不到或无法加载主类 com.xkd.wjm.springbootintroduction.SpringbootIntr。2、分析发现,之前配置的资源路径没有包含resources目录。发现没有application.perpeties编译进去。4、重新装载项目问题解决。原创 2023-03-04 14:41:46 · 372 阅读 · 0 评论 -
springboot访问jsp页面404错误
1、查看编译后的class目录发现,其中没有jsp文件: 2、发现我的web根目录不在main下,而是在src下: 1、将web根目录文件,放到main中: 2、重新指定jsp编译后的位置为META-INF(在build中加入):原创 2023-03-04 13:27:46 · 1164 阅读 · 0 评论