可以用什么替代这个 AsyncContext,或者增加什么配置可以启用吗
nutz版本
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutz-plugins-daocache</artifactId>
<version>1.r.68.v20201011</version>
</dependency>
启动类
@IocBy(type=ComboIocProvider.class, args={"*js", "ioc/",
// 这个package下所有带@IocBean注解的类,都会登记上
"*anno", "me.example.studynutz",
"*tx", // 事务拦截 aop
"*async","128",
"*quartz",
"*me.example.studynutz.mvc.SystemLogAop",
"*rabbitmq"
}) // 异步执行aop
@Modules(scanPackage=true)
@SessionBy(ShiroSessionProvider.class)
public class MainModule {
web.xml 中添加 true 飘红
<filter>
<filter-name>nutz</filter-name>
<filter-class>org.nutz.mvc.NutFilter</filter-class>
<init-param>
<param-name>modules</param-name>
<param-value>me.example.studynutz.MainModule</param-value>
</init-param>
<init-param>
<param-name>exclusions</param-name>
<param-value>/rs/*,/druid/*</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>nutz</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
服务调用失败 返回无内容异常
@At
@Async
public Result getVide(HttpServletRequest request, HttpServletResponse response) {
AsyncContext asyncContext = request.startAsync();