The maven project relies on the mina package to compile the error solution

<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

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324476517&siteId=291194637