spring-boot
wowolz
这个作者很懒,什么都没留下…
展开
-
Could not resolve placeholder ‘name‘ in value “${name}“报错解决
今天配置动态拉取Nacos Config,写完NacosController时启动Spring Cloud时报错:Could not resolve placeholder 'name' in value "${name}"第一次尝试解决:百度之后查询到以下原因:springboot启动时会检索 @Value 对应配置文件中的key,当该key不存在时就会报:Caused by: java.lang.IllegalArgumentException: Could not reso..原创 2021-10-27 20:36:41 · 9048 阅读 · 1 评论 -
springboot模块嵌入tomcat报错org.apache.jasper.JasperException: Unable to compile class for JSP
报错信息如下2021-10-11 10:46:07.508 ERROR 10820 --- [nio-7000-exec-1] o.s.b.w.servlet.support.ErrorPageFilter : Forwarding to error page from request [/index.jsp] due to exception [Unable to compile class for JSP]org.apache.jasper.JasperException: Unable t原创 2021-10-11 11:07:51 · 1044 阅读 · 1 评论 -
Spring-boot使用dubbo时ERROR 8404 o.s.boot.SpringApplication:Application run failed
报错如上图所示结果仔细查看报错信息后,发现:at demo0929.UserServiceApplication.main(UserServiceApplication.java:12) ~[classes/:na]包扫描配置的格式有误,正确格式如下图:import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;import org.springframework.boot.Sprin...原创 2021-10-05 10:52:26 · 424 阅读 · 0 评论 -
spring-boot中spring-boot-maven-plugin报红错误解决方案
项目场景第一次创建springboot的时候,spring-boot-maven-plugin 爆红 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> // 红彤彤 <artifactId>sp原创 2021-09-22 20:56:30 · 2474 阅读 · 0 评论