对于org.glassfish.jersey.filter.LoggingFilter类,必须将什么依赖项添加到pom.xml中?我尝试从org.glassfish.jersey.core中添加artifactId jersey-common和jersey-client,但是在该类中不存在。
从Jersey 2.23开始,您应该使用LoggingFeature代替LoggingFilter(在Jersey 2.26中已删除)。确保jersey-common类路径中有工件。
有关详细信息,请参见文档。