【Java】springboot dubbo 无法加载自定义org.apache.dubbo.rpc.Filter
springboot 集成dubbo,自定义过滤器无法被dubbo加载到
代码
1.filter
@Activate(group = {CommonConstants.PROVIDER, CommonConstants.CONSUMER},order = -10000)
public class LogFilter implements Filter {
}
2.application.properties
dubbo.provider.filter=logFilter
3.org.apache.dubbo.rpc.Filter文件
logFilter=com.test.web.filter.LogFilter
debug
还请路过大神不吝赐教,多谢多谢
回答
META-INF/dubbo/internal/org.apache.dubbo.common.extension.ExtensionFactoryMEAT-INF/dubbo/internal/org.apache.dubbo.rpc.Filter
MEAT META 拼错了,嘤嘤嘤
以上是 【Java】springboot dubbo 无法加载自定义org.apache.dubbo.rpc.Filter 的全部内容, 来源链接: utcz.com/a/88464.html