- 博客(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 2239
原创 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 849
原创 ‘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 3509
原创 最新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 765
原创 springboot中依赖hibertnate爆红
springboot2.0中依赖hibertnate-validator爆红本人小白,在做springboot项目中引进hibertnate-validator依赖时爆红如图在更换版本后问题解决
2021-03-17 20:49:49 139
原创 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 1101 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人