You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "qq3961792 (GitHub)" <gi...@apache.org> on 2019/01/08 08:45:19 UTC

[GitHub] [incubator-dubbo-spring-boot-project] qq3961792 opened issue #365: provide不能启动,修改dubbo.application.id的值

配置:
dubbo.application.id=dubbo-provider-alpha1
dubbo.application.name=dubbo-provider-alpha1


错误日志:
```
01-08 16:40:13 [main] WARN  org.springframework.context.annotation.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ServiceBean:defaultViewService:com.tingyun.app.service.ViewService': Cannot resolve reference to bean 'dubbo-provider-alpha1' while setting bean property 'application'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'dubbo-provider-alpha1' available
2019-01-08T16:40:13.265+0800: [GC (Allocation Failure) 2019-01-08T16:40:13.265+0800: [ParNew: 46412K->3766K(47232K), 0.0287599 secs] 76166K->34051K(256960K), 0.0343156 secs] [Times: user=0.05 sys=0.00, real=0.03 secs] 
01-08 16:40:13 [main] INFO  org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
01-08 16:40:13 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
01-08 16:40:13 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
01-08 16:40:13 [main] INFO  com.alibaba.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor - class com.alibaba.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying!
01-08 16:40:13 [main] INFO  org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener - 
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
01-08 16:40:13 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - 
***************************
APPLICATION FAILED TO START
***************************
Description:
A component required a bean named 'dubbo-provider-alpha1' that could not be found.
Action:
Consider defining a bean named 'dubbo-provider-alpha1' in your configuration.
01-08 16:40:14 [DubboShutdownHook] INFO  com.alibaba.dubbo.config.AbstractConfig -  [DUBBO] Run shutdown hook now., dubbo version: 2.6.2, current host: 10.128.1.21
01-08 16:40:14 [DubboShutdownHook] INFO  com.alibaba.dubbo.registry.support.AbstractRegistryFactory -  [DUBBO] Close all registries [], dubbo version: 2.6.2, current host: 10.128.1.21
```

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/365 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-spring-boot-project] qq3961792 closed issue #365: provide不能启动,变更dubbo.application.id的值

Posted by "qq3961792 (GitHub)" <gi...@apache.org>.
[ issue closed by qq3961792 ]

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/365 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-spring-boot-project] qq3961792 commented on issue #365: provide不能启动,变更dubbo.application.id的值

Posted by "qq3961792 (GitHub)" <gi...@apache.org>.
dubbo 升级2.6.5,可解决
```
<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>dubbo</artifactId>
    <version>2.6.5</version>
 <dependency>
```

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/365 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #365: provide不能启动,修改dubbo.application.id的值

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Please upload other code?

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/365 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org