ClassNotFoundException:无法找到io.netty.handler.codec.http.HttpRequest

时间:2016-03-25 07:58:01

标签: http httprequest netty handler

我的pom.xml中有以下依赖项

 <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-buffer</artifactId>
        </dependency>
        <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-transport</artifactId>
        </dependency>
        <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-handler</artifactId>
        </dependency>
        <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-codec</artifactId>
        </dependency>
        <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-codec-http</artifactId>
        </dependency>

仍然在执行捆绑包时,它会给出以上CNF异常。我甚至尝试添加以下依赖项。还是行不通。关于如何解决的任何想法?

<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.0.30.Final</version>
    </dependency>

0 个答案:

没有答案