dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] smwsk opened a new issue #2420: No such extension erpFilter for filter/com.alibaba.dubbo.rpc.Filter
Date Sat, 01 Sep 2018 07:32:52 GMT
smwsk opened a new issue #2420: No such extension erpFilter for filter/com.alibaba.dubbo.rpc.Filter
URL: https://github.com/apache/incubator-dubbo/issues/2420
 
 
   - [ ] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of
this repository and believe that this is not a duplicate.
   - [ ] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md)
of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 2.6.0
   * Operating System version: windows10
   * Java version: 1.8
   
   ### Step to reproduce this issue
   
   1. new file src/main/resources/META-INF/dubbo/com.alibaba.dubbo.rpc.Filter ,file content
is erpFilter=com.filter.ErpFilter
   2. new ErpFilter Class in com.filter.ErpFilter ,ErpFilter is implements com.alibaba.dubbo.rpc.Filter
interface 
   3. start project, run Main.main(args);
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Result
   
    project is start
   
   ### Actual Result
   
   project is dubboShutdown
   
   If there is an exception, please attach the exception trace:
   
   [ERROR]15:21:15.835|main|||Caller+0	 at com.alibaba.dubbo.container.Main.main(Main.java:91)
    [DUBBO] Error creating bean with name 'com.erp.server.common.reg.service.IRegisterService':
Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'com.alibaba.dubbo.config.ProviderConfig': Error 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
erpFilter for filter/com.alibaba.dubbo.rpc.Filter, dubbo version: 2.6.0, current host: 192.168.161.1
   org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'com.erp.server.common.reg.service.IRegisterService': Invocation of init method failed; nested
exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'com.alibaba.dubbo.config.ProviderConfig': Error 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
erpFilter for filter/com.alibaba.dubbo.rpc.Filter
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
   	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
   	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
   	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
   	at com.alibaba.dubbo.container.spring.SpringContainer.start(SpringContainer.java:45)
   	at com.alibaba.dubbo.container.Main.main(Main.java:85)
   	at com.erp.server.common.reg.RegProvider.main(RegProvider.java:7)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'com.alibaba.dubbo.config.ProviderConfig': Error 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
erpFilter 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)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:519)
   	at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1194)
   	at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:310)
   	at com.alibaba.dubbo.config.spring.ServiceBean.afterPropertiesSet(ServiceBean.java:137)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
   	... 14 common frames omitted
   Caused by: org.springframework.beans.PropertyBatchUpdateException: Failed properties: Property
'filter' threw exception; nested exception is java.lang.IllegalStateException: No such extension
erpFilter for filter/com.alibaba.dubbo.rpc.Filter
   	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:121)
   	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1564)
   	... 27 common frames omitted
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message