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.
1 parent b0e4b7e commit 047eefdCopy full SHA for 047eefd
spring-aop/src/main/java/org/springframework/aop/framework/AopContext.java
@@ -67,7 +67,8 @@ public static Object currentProxy() throws IllegalStateException {
67
Object proxy = currentProxy.get();
68
if (proxy == null) {
69
throw new IllegalStateException(
70
- "Cannot find current proxy: Set 'exposeProxy' property on Advised to 'true' to make it available.");
+ "Cannot find current proxy: Set 'exposeProxy' property on Advised to 'true' to make it available. " +
71
+ "Also Check AopContext.currentProxy() invoke in the origin thread.");
72
}
73
return proxy;
74
0 commit comments