jersey报错InjectionManagerFactory not found

具体原因是缺少下面的jar包,解决办法是在maven配置文件pom.xml中加入依赖,或者直接到官网下载对应jar包:

        <dependency>

            <groupId>org.glassfish.jersey.inject</groupId>

            <artifactId>jersey-hk2</artifactId>

            <version>${jersey.version}</version>

        </dependency>

猜你喜欢

转载自blog.csdn.net/m0_43406494/article/details/124817583