java
spring boot的application.yml和application-dev.yml
开发SpringBoot应用的时候,通常程序需要在测试环境测试成功后才会上线到生产环境。而测试环境和 阅读更多…
常见报错
Field studentsMapper in site.longkui.app.service.StudentsService required a bean of type ‘site.longkui.app.mapper.StudentsMapper’ that could not be found.
某日新创建spring boot项目后启动项目报错: 这个错误是因为我们没有加上MapperScan 阅读更多…
常见报错
Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON:
调试springboot项目,返回数据的时候报错: Resolved [org.springfram 阅读更多…
常见报错
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [students/getList], template might not exist or might not be accessible by any of the configured Template Resolvers
创建调试springboot项目后,然后访问一个接口,控制台开始报错: 这个问题的主要原因是Cont 阅读更多…
常见报错
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.
某日新创建一个spring boot项目,添加完依赖以后运行项目开始报错: 原因1:没有配置文件 这 阅读更多…
常见报错 开发与创造
Loading class `com.mysql.jdbc.Driver’. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver’.
某日构建springboot项目时,报的错: 项目的配置文件是下面这样: 根据上面提示这个错误是co 阅读更多…
常见报错
Project ‘org.springframework.boot:spring-boot-starter-parent:2.7.7’ not found
某日构建springboot项目,构建完毕以后发现下面这样 然后打开pom文件,发现springbo 阅读更多…
前端
angular (NG-ZORRO) input失去焦点事件nzBlur 无法触发
0.背景 angular项目使用ng-zorro前端组件,其中使用了nz-input进行输入数值,( 阅读更多…
前端
Only one structural directive can be applied
某天调试angular的时候,开始报这个错: Only one structural directi 阅读更多…