Maciej
Maciej

Reputation: 131

Which jar file does contain jersey LoggingFeature class?

I am trying to find the org.glassfish.jersey.logging.LoggingFeature class to add to my project. Javadoc about this class found here: https://jersey.java.net/nonav/apidocs/latest/jersey/org/glassfish/jersey/logging/LoggingFeature.html
It is not in the jersey-common.jar. Which jar file does contain it?

Upvotes: 2

Views: 5087

Answers (3)

koklobok
koklobok

Reputation: 1

I like to use grepcode.com when I need to find jars that contain specific classes.

http://grepcode.com/search/?query=org.glassfish.jersey.logging.LoggingFeature

Upvotes: 0

nandsito
nandsito

Reputation: 3852

Try this seach: http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.glassfish.jersey.logging.LoggingFeature%22

I found this class in both these dependencies:

<dependency>
    <groupId>org.glassfish.jersey.bundles</groupId>
    <artifactId>jaxrs-ri</artifactId>
    <version>2.24</version>
</dependency>

<dependency>
    <groupId>org.glassfish.jersey.core</groupId>
    <artifactId>jersey-common</artifactId>
    <version>2.24</version>
</dependency>

In fact, jaxrs-ri depends on jersey-common.

What jersey-common version are you using?

Upvotes: 1

Thiago
Thiago

Reputation: 997

You can find this class in the jar Jersey Commmons.

Maven repository:
https://mvnrepository.com/artifact/org.glassfish.jersey.core/jersey-common/2.23.2

Upvotes: 4

Related Questions