Error in default web application descriptor file
由 徐 田汉 在 将近 3 年 之前添加
2022-01-19 12:31:30 INFO [apusic.service.JCA-main] Started.
2022-01-19 12:31:30 INFO [apusic.service.EJB-main] Started.
2022-01-19 12:31:30 INFO [apusic.service.EJBTimer-main] Started.
2022-01-19 12:31:30 ERROR [apusic.service.Web-main] Starting failed.
com.apusic.util.ConfigurationException: Error in default web application descriptor file: 24
at com.apusic.web.WebService.startService(WebService.java:464)
at com.apusic.service.Service.start(Service.java:205)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.apusic.jmx.MBeanDescriptor.invoke(MBeanDescriptor.java:551)
at com.apusic.jmx.DynamicMBeanSupport.invoke(DynamicMBeanSupport.java:62)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at 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)
2022-01-19 12:44:26 INFO [apusic.service.ThreadPool.default-main] Started.
2022-01-19 12:44:26 INFO [apusic.service.ThreadPool.MuxHandler-main] Started.
2022-01-19 12:44:26 INFO [apusic.service.ThreadPool.HTTPHandler-main] Started.
问题解决:上述报错是因为用在V9config/web.xml文件中添加了附件上传的参数配置,但是添加的格式有问题,
多了<descriptor>标签,将其删除后能正常启动,正确格式如下图: