- 博客(8)
- 收藏
- 关注
原创 Relying upon circular references is discouraged and they are prohibited by default
今天用的学sentinel发现这个错,百度了以下是因为和springboot2.6.2的冲突,依赖循环引用,添加如下配置后正常 spring: main: allow-circular-references: true
2022-02-20 17:37:24
2514
原创 java求m到n之间的质数
java求m到n之间的质数 public void testNum(int n,int m){ int i,j; for (i=1;i<m;i++){ for (j =2;j<i;j++){ if (i % j == 0){ break; } } if (i==j){
2022-02-16 23:27:35
1095
原创 ‘org.springframework.web.servlet.DispatcherServlet‘ is not assignable to ‘javax.servlet.Servlet,jaka
DispatcherServlet爆红如下 导入servlet依赖后正常 <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> </dependency> ...
2021-12-12 11:14:55
3685
原创 最新web.xml头文件配置
最新web.xml头文件配置 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.j
2021-12-06 22:33:36
931
原创 springboot中依赖hibertnate爆红
springboot2.0中依赖hibertnate-validator爆红 本人小白,在做springboot项目中引进hibertnate-validator依赖时爆红如图 在更换版本后问题解决
2021-03-17 20:49:49
264
原创 com.lc.domain.User and org.apache.ibatis.type.TypeHandler are in unnamed module of loader ‘app‘
标题com.lc.domain.User and org.apache.ibatis.type.TypeHandler are in unnamed module of loader 'app’ 项目场景: 小白一枚,在测试一对一查询时出现所报错误,更改后正确 问题描述: 报错 com.lc.domain.User and org.apache.ibatis.type.TypeHandler are in unnamed module of loader ‘app’ 原因分析: 标签属性写错 解决
2020-12-18 15:44:47
1308
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅