2023年4月15日
摘要: 今天在创建了一个新的SpringBoot模块后,和往常一样将文件从别的模块中复制过来,然后运行模块就报错了:1. java: 程序包org.springframework.web.bind.annotation不存在,2.java: 程序包org.springframework.boot.autoc 阅读全文
posted @ 2023-04-15 23:09 打篮球的Curry 阅读(1935) 评论(0) 推荐(0) 编辑
摘要: 在使用@ConfigurationProperties是报红:Spring Boot Configuration Annotation Processor not configured,如下图所示: 其实这个不影响程序运行,但作为程序员就是看着不舒服,网上也有解决办法,其中最多的就是说在pom.xm 阅读全文
posted @ 2023-04-15 18:09 打篮球的Curry 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 在运行springboot项目中的Application.java时出现:错误的类文件: /D:/install/Maven/apache-maven-3.6.1/repository/org/springframework/boot/spring-boot/3.0.5/spring-boot-3. 阅读全文
posted @ 2023-04-15 15:37 打篮球的Curry 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 一、Maven配置阿里云的镜像 只需将maven安装目录\conf\settings.xml中加入以下代码即可 <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/conten 阅读全文
posted @ 2023-04-15 09:29 打篮球的Curry 阅读(1718) 评论(0) 推荐(0) 编辑