更新时间:2023-12-03 19:47:34
您应将@PostConstruct
拦截器的返回类型设置为void
而不是Object
.
更改:
You should set return type of @PostConstruct
interceptor to void
not Object
.
Change:
@PostConstruct
public Object logPostConstruct(InvocationContext invocationContext) throws Exception
{...}
收件人:
@PostConstruct
public void logPostConstruct(InvocationContext invocationContext) throws Exception
{...}