<dependency> <groupId>org.apache.mina</groupId> <artifactId>mina-core</artifactId> <version>2.0.16</version> </dependency> <dependency> <groupId>org.apache.mina</groupId> <artifactId>mina-integration-beans</artifactId> <version>2.0.16</version> </dependency>
The project requires 2 of these dependencies, and an error message is reported when compiling: Missing artifact org.apache.mina:mina-core:bundle:2.0.9
Solution: add in pom
<build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> </plugin> </plugins> </build>
Reference: https://yq.aliyun.com/articles/47271