2.2.9 Neo4jマニュアルの7.1章のようにJerseyクライアントを使用しようとしています。ここに私のMavenの依存関係の私のコードでMavenを使用してJerseyクライアントをサーブレットコードに統合する方法
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<!-- if your container implements Servlet API older than 3.0, use "jersey-container-servlet-core" -->
<artifactId>jersey-container-servlet</artifactId>
<version>2.22.2</version>
</dependency>
<!-- Required only when you are using JAX-RS Client -->
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>2.22.2</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<version>2.22.2</version>
</dependency>
があり、私はこのようなインポート:
import org.glassfish.jersey.api.client.*;
が、私は特定のジャージークラスのクライアントをコンパイルするとき、ClientResponseとリソースが見つかりません。
私はさまざまな依存関係やインポートを試しましたが、何も動作していないようです。
2016年4月現在の正しい方法は何ですか?
おかげ