因为要用到 ftp 服务,想用 apache 的 ftpserver 用 idea 创建 Maven 新项目的时候用内置的 archtype 然后应该是在构建项目的时候就报错了
[INFO] --- maven-archetype-plugin:3.1.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Batch mode [WARNING] No archetype found in remote catalog. Defaulting to internal catalog No archetype found in remote catalog. Defaulting to internal catalog Archetype not found in any catalog. Falling back to central repository. Add a repository with id 'archetype' in your settings.xml if archetype's repository is elsewhere. 尝试创建空 maven 项目然后在 pom 里面添加<dependence>会直接爆红
最后决定提取出来 jar 文件手动添加库,但是会有这种错误
(我感觉可能是没引用好,但...)
搞了一下午+一晚上,我太难了 QAQ 楼主用的是 Idea2020.Maven 是 idea 内置的
