autumnleaves08 opened a new issue #9624:
URL: https://github.com/apache/dubbo/issues/9624
我用的dubbo3.0.5,使用的springboot和dubbo-spring-boot-starter搭建的dubbo服务,我打包成镜像,放到k8s中运行正常,当我给这个pod创建service后,重启一下pod就提示:
Exception encountered during context initialization - cancelling refresh
attempt:
org.springframework.boot.context.properties.ConfigurationPropertiesBindException:
Error creating bean with name
'dubbo-org.apache.dubbo.spring.boot.autoconfigure.DubboConfigurationProperties':
Could not bind properties to 'DubboConfigurationProperties' : prefix=dubbo,
ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is
org.springframework.boot.context.properties.bind.BindException: Failed to bind
properties under 'dubbo.providers.port' to
org.apache.dubbo.config.ProviderConfig
2022-01-24 13:55:18.845 INFO 1 --- [ main]
o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2022-01-24 13:55:18.858 INFO 1 --- [ main]
ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run
your application with 'debug' enabled.
2022-01-24 13:55:18.878 ERROR 1 --- [ main]
o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'dubbo.providers.port' to
org.apache.dubbo.config.ProviderConfig:
Reason: org.springframework.core.convert.ConverterNotFoundException: No
converter found capable of converting from type [java.lang.String] to type
[org.apache.dubbo.config.ProviderConfig]
Action:
Update your application's configuration
当我删除掉service之后重启pod又正常,再创建service后又重启又报错,心想:service和dubbo是有什么联系吗?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]