1.Idea使用模板构建Maven项目出现警告,找不到文件目录(No archetype found in remote catalog. Defaulting to internal catalog)
解决办法:https://www.freesion.com/article/94151461924/
maven-core pom下载地址:https://search.maven.org/artifact/org.apache.maven.archetype/archetype-catalog/3.2.1/jar
2.IDEA安装后配置maven教程:https://www.cnblogs.com/my-program-life/p/12031842.html
maven下载地址:https://maven.apache.org/download.cgi
3.org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1
或
org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 2
原因:(1)可能是yml文件中有中文,删除中文;(2)格式编码问题,都调成UTF-8
参考链接:https://blog.csdn.net/jh1141233305/article/details/125323742
4.IDEA 2022.1.1无法兼容Log Support 2插件,采用定义模板形式添加快捷语句:
private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger($CLASS_NAME$.class);
参考链接:http://t.zoukankan.com/Durant0420-p-14979623.html
|