idea maven configure commons-dbutils problem

idea maven add dependencies when packages need some things, some things do not need to package
commons-dbutils package you need networking, if not networked local private library can not be found
but when I finished adding dependence, newspaper Red, wavy red line appears.
At this point you need to add the following configuration to the pom.xml, the error will disappear.
God maven private library pit

<project>
<repositories>
    <repository>
        <id>alimaven</id>
        <url>https://maven.aliyun.com/repository/public</url>
    </repository>
</repositories>
 
<pluginRepositories>
    <pluginRepository>
        <id>alimaven</id>
        <url>https://maven.aliyun.com/repository/public</url>
    </pluginRepository>
</pluginRepositories>
</project>
Released eight original articles · won praise 0 · Views 589

Guess you like

Origin blog.csdn.net/weixin_44047389/article/details/104254174