讨论区 » AAS-V9企业版 » AAS-V9企业版补丁插件专区 »
V9 servlet-api版本过低导致的报错
报错内容:
2022-08-24 17:17:19 警告 [apusic.web.ar-management./ar-management-main] 无法装载过滤器 'jmFilter'。
javax.servlet.ServletException: java.lang.AbstractMethodError: Receiver class org.jeecg.modules.jmreport.common.a.a does not define or inherit an implementation of the resolved method abstract init(Ljavax/servlet/FilterConfig;)V of interface javax.servlet.Filter.
at com.apusic.web.container.WebComponent.create(WebComponent.java:284)
at com.apusic.web.container.WebComponent.getComponent(WebComponent.java:158)
at com.apusic.web.container.WebComponent.init(WebComponent.java:221)
at com.apusic.web.container.WebContainer.loadFilter(WebContainer.java:1493)
at com.apusic.web.container.WebContainer.loadFilters(WebContainer.java:1503)
at com.apusic.web.container.WebContainer.start(WebContainer.java:310)
at com.apusic.web.http.VirtualHost.addContext(VirtualHost.java:157)
at com.apusic.web.http.HttpServer.loadWebModule(HttpServer.java:224)
at com.apusic.web.WebService.loadWebModule(WebService.java:606)
at com.apusic.deploy.runtime.WebModule.load(WebModule.java:1964)
at com.apusic.deploy.runtime.J2EEApplication.loadModules(J2EEApplication.java:1300)
at com.apusic.deploy.runtime.J2EEApplication.startApplication(J2EEApplication.java:1206)
at com.apusic.deploy.runtime.J2EEApplication.startService(J2EEApplication.java:1062)
at com.apusic.service.Service.start(Service.java:205)
at com.apusic.deploy.runtime.J2EEDeployer.startUserApplications(J2EEDeployer.java:169)
at com.apusic.deploy.runtime.J2EEDeployer.startService(J2EEDeployer.java:136)
at com.apusic.service.Service.start(Service.java:205)
at jdk.internal.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.apusic.jmx.MBeanDescriptor.invoke(MBeanDescriptor.java:551)
at com.apusic.jmx.DynamicMBeanSupport.invoke(DynamicMBeanSupport.java:62)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at com.apusic.server.J2EEServer.start(J2EEServer.java:653)
at com.apusic.server.J2EEServer.startup(J2EEServer.java:374)
at com.apusic.server.Main.main(Main.java:35)
Caused by: java.lang.AbstractMethodError: Receiver class org.jeecg.modules.jmreport.common.a.a does not define or inherit an implementation of the resolved method abstract init(Ljavax/servlet/FilterConfig;)V of interface javax.servlet.Filter.
at com.apusic.web.container.FilterComponent.initializeComponent(FilterComponent.java:41)
at com.apusic.web.container.FilterComponent.initializeComponent(FilterComponent.java:21)
at com.apusic.web.container.WebComponent.create(WebComponent.java:276)
解决方法:
在sp目录下放入javax.servlet-api-4.0.1.jar包重启即可