对于类org.glassfish.jersey.filter.LoggingFilter,必须向pom.xml添加什么依赖项?我尝试添加来自org.glassfish.jersey.core的artifactId jersey-common和jersey-client,但其中不存在这个类。
发布于 2018-06-23 21:08:00
从Jersey 2.23开始,您应该使用LoggingFeature而不是LoggingFilter ( Jersey 2.26中已删除)。确保类路径中有jersey-common工件。
有关详细信息,请参阅documentation。
https://stackoverflow.com/questions/51001313
复制相似问题