开发者

Cannot find SerialAddress class in Apache Mina 2.0.2

I added the below dependencies in my project POM file and the SerialAddress class is no where to be found from the downloaded mina-core.2.0.2.jar.

<dependency>
    <开发者_如何学Go;groupId>org.apache.mina</groupId>
    <artifactId>mina-core</artifactId>
    <version>2.0.2</version>
</dependency>

the package org.apache.mina.transport.serial doesnt even exist. Please advice me on the correct Dependency.


It looks like this class is not part of mina-core. Some exploration lead to the existence of Apache Mina Serial Communication Support.

So I guess you would want to add the dependency for mina-transport-serial.

<dependency>
    <groupId>org.apache.mina</groupId>
    <artifactId>mina-transport-serial</artifactId>
    <version>2.0.2</version>
</dependency>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜