We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 299e146 + cd83f42 commit dae97ceCopy full SHA for dae97ce
framework/src/main/java/org/tron/core/services/jsonrpc/JsonRpcServlet.java
@@ -33,9 +33,10 @@ public class JsonRpcServlet extends RateLimiterServlet {
33
public void init(ServletConfig config) throws ServletException {
34
super.init(config);
35
36
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
37
TronJsonRpcImpl jsonRpcImpl = new TronJsonRpcImpl(nodeInfoService, wallet, manager);
38
Object compositeService = ProxyUtil.createCompositeServiceProxy(
- this.getClass().getClassLoader(),
39
+ cl,
40
new Object[] {jsonRpcImpl},
41
new Class[] {TronJsonRpc.class},
42
true);
0 commit comments