rror setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'filter' threw exception; nested exception is java.lang.IllegalStateException: No such extension configValidationFilter for filter/com.alibaba.dubbo.rpc.Filter
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1568)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
问题原因
找不到Filter过滤器
思路
1、git 检查一下是否提交上 (有些公司统一过滤文件)
2、手动打包后的target是否有定义的文件 (下图则无 所以是打包出现了问题)
解决 :
pom 文件下添加
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.Filter</include>
</includes>