dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfred-Wong (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] Alfred-Wong opened issue #3827: 通过spring配置文件方式消费dubbo服务,在servlet中注入了该dubbo服务,报代理错误
Date Mon, 08 Apr 2019 08:02:38 GMT
- [ ] 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.

### test

* Dubbo version: 2.7.0
* Operating System version: 
* Java version: 1.8

### Steps to reproduce this issue

1. 通过spring配置文件方式消费dubbo服务
2.在servlet中注入了该dubbo服务
3. 服务启动报错,报could not generate CGLIB subclass of class org.apache.dubbo.common.bytecode.proxy0;common
causes of this problem include using a final class or a non-visible class

如果把服务消费reference的配置改为饥饿加载init=“true”,则启动不报错。
是什么原因导致

Pls. provide [GitHub address] to reproduce this issue.

### Expected Result

What do you expected from the above steps?

### Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

```
Just put your stack trace here!
```

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3827 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
Mime
View raw message