摘要: 问题 maven构建报错 *** [INFO] maven-compiler-plugin:3.8.1:compile (default-compile) @ engine_auth [INFO] Changes detected - recompiling the module! [INFO] C 阅读全文
posted @ 2023-11-24 15:04 ~不想起名~ 阅读(537) 评论(0) 推荐(0)
摘要: 创建springboot starter 创建一个demo starter 创建配置类 @Configuration @EnableConfigurationProperties(EmailProperties.class) @ConditionalOnBean(EmailEnable.class) 阅读全文
posted @ 2023-11-17 14:25 ~不想起名~ 阅读(26) 评论(0) 推荐(0)
摘要: 问题描述: IDEA中,Maven文件的配置一般默认在C:\Users\xxx\.m2路径下,但我们不希望将jar包放在C盘,改为其他盘,此时就需要对Maven中的默认配置进行设置,改为我们自己的路径。其中有两种方案,仅当前项目生效 && 永久生效,具体操作方法见下。解决方案:1.仅当前项目生效操作 阅读全文
posted @ 2023-11-17 13:54 ~不想起名~ 阅读(681) 评论(0) 推荐(0)
摘要: package util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.*; public class TimeoutUtil { private static final 阅读全文
posted @ 2023-11-16 13:57 ~不想起名~ 阅读(34) 评论(0) 推荐(0)
摘要: 问题描述:idea中类找不到,手动去查找的时候,可以正常根据包吃路径找到。或者是因为有同名的两个类导致找不到对应的类。idea编译失败。 解决办法:清除缓存后,重启idea。 File -> Invalidate Caches -> Invalidate and Restart 阅读全文
posted @ 2023-11-15 14:50 ~不想起名~ 阅读(201) 评论(0) 推荐(0)