v9启动过程中报JSP编译错误:找不到类:com.gisquest.djgx.common.config.Global
由 何 善才 在 将近 2 年 之前添加
异常信息详情:
2023-02-21 16:43:19 信息 [apusic.con.out-Thread 129] 2023-02-21 16:43:19,667 DEBUG [java.sql.PreparedStatement] - {pstm-100143} Types: []
2023-02-21 16:43:19 信息 [apusic.con.out-Thread 129] 2023-02-21 16:43:19,668 DEBUG [java.sql.ResultSet] - {rset-100144} ResultSet
2023-02-21 16:43:19 信息 [apusic.jsp.parser-Thread 129] /WEB-INF/jsp/oa/gwgl/swgl/fwview.jsp: Parsed using character encoding 'UTF-8'
2023-02-21 16:43:19 信息 [apusic.jsp.parser-Thread 129] 标签库'jar:file:/opt/AAS/domains/mydomain/applications/gxyjjoa/WEB-INF/lib/standard.jar!/META-INF/fn.tld'已装载。
2023-02-21 16:43:19 信息 [apusic.jsp.parser-Thread 129] 标签库'/WEB-INF/tlds/fns.tld'已装载。
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.config.Global
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.modules.sys.utils.UserUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.modules.sys.utils.DictUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.utils.Encodes
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.utils.StringUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.utils.DateUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.mapper.JsonMapper
2023-02-21 16:43:19 注意 [apusic.web.gxyjjoa./gxyjjoa-Thread 129] jsp: JSP编译错误:找不到类:com.gisquest.djgx.common.config.Global
找不到类:com.gisquest.djgx.modules.sys.utils.UserUtils
找不到类:com.gisquest.djgx.modules.sys.utils.DictUtils
找不到类:com.gisquest.djgx.common.utils.Encodes
找不到类:com.gisquest.djgx.common.utils.StringUtils
找不到类:com.gisquest.djgx.common.utils.DateUtils
找不到类:com.gisquest.djgx.common.mapper.JsonMapper
com.apusic.web.jsp.parser.ParseException: JSP编译错误。
at com.apusic.web.jsp.generator.JspGeneratorVisitor.generate(JspGeneratorVisitor.java:109)
at com.apusic.web.jsp.generator.JspGenerator.generate(JspGenerator.java:33)
at com.apusic.web.jsp.generator.JspCompilationContext.compile(JspCompilationContext.java:631)
at com.apusic.web.jsp.JspServlet$Page.load(JspServlet.java:549)
at com.apusic.web.jsp.JspServlet.service(JspServlet.java:289)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at com.apusic.web.container.ServletComponent.service(ServletComponent.java:87)
at com.apusic.web.container.WebContainer.invoke(WebContainer.java:1171)
at com.apusic.web.container.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:105)
at org.apache.struts2.result.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:169)
at org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:206)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:375)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:279)
at com.hxzk.base.interceptor.PropertyInSessionInterceptor.doIntercept(PropertyInSessionInterceptor.java:84)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:250)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:179)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(ConversionErrorInterceptor.java:142)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:140)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:140)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:201)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:67)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(DateTextFieldInterceptor.java:133)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:89)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:101)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:142)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:160)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:175)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:121)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:167)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:207)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:196)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.hxzk.system.interceptor.AlertInterceptor.intercept(AlertInterceptor.java:60)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(ConversionErrorInterceptor.java:142)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:140)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:140)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:67)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(DateTextFieldInterceptor.java:133)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:89)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:175)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:167)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:196)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.hxzk.system.interceptor.UserInterceptor.intercept(UserInterceptor.java:62)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.hxzk.system.interceptor.LogInterceptor.intercept(LogInterceptor.java:37)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at org.apache.struts2.factory.StrutsActionProxy.execute(StrutsActionProxy.java:48)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:574)
at org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:141)
at com.hxzk.base.filter.HxzkStrutsPrepareAndExecuteFilter.doFilter(HxzkStrutsPrepareAndExecuteFilter.java:131)
at com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at com.hxzk.base.filter.PageEhCacheFilter.doFilter(PageEhCacheFilter.java:64)
at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
at com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at com.apusic.web.container.FilterChainImpl.doFilter(FilterChainImpl.java:45)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at com.apusic.web.container.FilterComponent.doFilter(FilterComponent.java:65)
at com.apusic.web.container.FilterChainImpl.performFilter(FilterChainImpl.java:38)
at com.apusic.web.container.WebContainer.invoke(WebContainer.java:1166)
at com.apusic.web.container.WebContainer.doProcessRequest(WebContainer.java:947)
at com.apusic.web.container.WebContainer.processRequest(WebContainer.java:809)
at com.apusic.web.http.VirtualHost.processRequest(VirtualHost.java:369)
at com.apusic.web.http.HttpServer.processRequest(HttpServer.java:317)
at com.apusic.web.http.HttpConnectionHandler.service(HttpConnectionHandler.java:26)
at com.apusic.web.http.ConnectionHandler.processRequest(ConnectionHandler.java:360)
at com.apusic.web.http.ConnectionHandler.processConnection(ConnectionHandler.java:138)
at com.apusic.web.http.ConnectionHandler.run(ConnectionHandler.java:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
原因:/WEB-INF/tlds/fns.tld 装载过程中找不到对应得类
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.config.Global
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.modules.sys.utils.UserUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.modules.sys.utils.DictUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.utils.Encodes
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.utils.StringUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.utils.DateUtils
2023-02-21 16:43:19 错误 [apusic.jsp.parser-Thread 129] 找不到类:com.gisquest.djgx.common.mapper.JsonMapper
2023-02-21 16:43:19 注意 [apusic.web.gxyjjoa./gxyjjoa-Thread 129] jsp: JSP编译错误:找不到类:com.gisquest.djgx.common.config.Global
解决操作:删除改行