org.apache:apache:pom:debian

打包项目的时候总是出现下面这个错误, Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project feedbackModule: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile failed: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.7.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-compiler-plugin:jar:3.7.0 -> org.apache.maven.shared:maven-shared-utils:jar:3.1.0 -> commons-io:commons-io:jar:2.5: Failed to read artifact descriptor for commons-io:commons-io:jar:2.5: Failure to find org.apache:apache:pom:debian in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1] 但是网上实在找不到原因,请问有大神知道为什么吗?

jdk 版本

img

img

是否一致

commons-io:jar:2.5 这个包是否可以被下载,换个版本试一下

你的maven便宜插件有问题,把3.7换成其他的版本试试看

换成这个看看,如果有用,记得采纳呀!!

<build>
    <plugins>
      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
          <configuration>
              <source>1.8</source>
              <target>1.8</target>
              <encoding>UTF-8</encoding>
          </configuration>
      </plugin>
    </plugins>
  </build>