![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
盼超师兄
热爱游戏,热爱师妹
展开
-
springboot从单模块迁移到多模块代码项目无法正常运行,并报错Unable to find main class -> [Help 1]
springboot从单模块迁移到多模块代码项目无法正常运行,并报错[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.4.RELEASE:repackage (default) on project teac: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.5.4.RELEASE原创 2022-06-10 00:49:27 · 285 阅读 · 0 评论 -
springboot内置tomcat所在位置
目录:repository\org\springframework\boot\spring-boot\2.0.4.RELEASE\spring-boot-2.0.3.RELEASE.jar原创 2021-03-29 11:44:15 · 5065 阅读 · 0 评论 -
springboot是怎么实现自动装配的
springboot是怎么实现自动装配的原创 2021-03-26 14:20:00 · 105 阅读 · 0 评论 -
linux后台运行springboot项目(如果出现nohup.out错误)
nohup java -jar /home/application/demo-0.0.1-SNAPSHOT.jar如果出现nohup.out错误,先执行 java -jar xxx.jar,然后在执行以上tail -f ..log 实时查看日志信息原创 2019-11-18 11:05:34 · 801 阅读 · 0 评论 -
springboot启动正常,但出现404错误,导致无法访问
通过main方法启动成功后,出现404无法访问的问题,通常可能是以下两种情况导致的:1:controller控制类不在启动类所在的目录下的或子目录中2:把requestMapping的value去掉,括弧里面直接写路径一 spring boot的启动类不能直接放在main(src.java.main)这个包下面,把它放在有包的里面就可以了。二 正常启动了,但是我写了一...转载 2018-07-31 09:36:46 · 10071 阅读 · 0 评论 -
idea springboot修改页面以及JavaScript不用重启
springboot项目 https://blog.csdn.net/adgjlm111/article/details/78107782web项目 https://blog.csdn.net/ck4438707/article/details/52330683原创 2018-09-18 11:19:07 · 9346 阅读 · 0 评论 -
spring boot项目配置启动
原创 2019-01-07 15:05:39 · 96 阅读 · 0 评论 -
springboot Whitelabel Error Page 找不到html页面
浪费我这么久。主要我返回的页面是html,在pom.xml中添加thymeleaf依赖就好了 @RequestMapping(value = "main",method = RequestMethod.GET) public String toMain(){ return "main"; } <dependency> ...原创 2019-03-12 17:07:13 · 1089 阅读 · 0 评论 -
SpringBoot中html引用JS/CSS文件路径问题
SpringBoot中html引用JS/CSS文件路径问题原创 2019-03-12 17:38:23 · 3861 阅读 · 0 评论