diff --git a/solon/src/main/java/org/noear/solon/core/BeanContainer.java b/solon/src/main/java/org/noear/solon/core/BeanContainer.java index 71f9b3cb31..69746bc9fb 100644 --- a/solon/src/main/java/org/noear/solon/core/BeanContainer.java +++ b/solon/src/main/java/org/noear/solon/core/BeanContainer.java @@ -375,7 +375,7 @@ public void beanAroundAdd(Class annoClz, Interceptor i beanInterceptorAdd(annoClz, interceptor); //添加弃用提醒日志 - LogUtil.global().error("AppContext:beanAroundAdd(.) will be discarded, suggested use 'beanInterceptorAdd(.)': " + annoClz.getName()); + LogUtil.global().error("AppContext:beanAroundAdd(.) will be discarded, suggested use 'beanInterceptorAdd(.)': " + interceptor.getClass().getName()); } /**