首页 > 其他分享 >[com.t.extend.SpringContextLoaderListener] - generate index.html sucess,ERROR org.apache.struts2.dis

[com.t.extend.SpringContextLoaderListener] - generate index.html sucess,ERROR org.apache.struts2.dis

时间:2024-06-19 14:43:10浏览次数:22  
标签:index java 1.8 29 Unable 20 com Dispatcher 2.5

错误: 2024-06-19 13:23:09,873 INFO [com.t.extend.SpringContextLoaderListener] - generate index.html sucess 13:23:10.159 [RMI TCP Connection(3)-127.0.0.1] ERROR org.apache.struts2.dispatcher.Dispatcher - Dispatcher initialization failed com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.     at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69) ~[struts2-core-2.5.29.jar:2.5.29]     at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:970) ~[struts2-core-2.5.29.jar:2.5.29]     at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463) ~[struts2-core-2.5.29.jar:2.5.29]     at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496) [struts2-core-2.5.29.jar:2.5.29]     at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73) [struts2-core-2.5.29.jar:2.5.29]     at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61) [struts2-core-2.5.29.jar:2.5.29]     at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.0.53]     at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.0.53]     at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.0.53]     at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4747) [catalina.jar:8.0.53]     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5389) [catalina.jar:8.0.53]     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:8.0.53]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755) [catalina.jar:8.0.53]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:731) [catalina.jar:8.0.53]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) [catalina.jar:8.0.53]     at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730) [catalina.jar:8.0.53]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20]     at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20]     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) [tomcat-coyote.jar:8.0.53]     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [?:1.8.0_20]     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [?:1.8.0_20]     at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:485) [catalina.jar:8.0.53]     at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:434) [catalina.jar:8.0.53]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20]     at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20]     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) [tomcat-coyote.jar:8.0.53]     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [?:1.8.0_20]     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [?:1.8.0_20]     at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468) [?:1.8.0_20]     at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466) [?:1.8.0_20]     at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) [?:1.8.0_20]     at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307) [?:1.8.0_20]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_20]     at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1406) [?:1.8.0_20]     at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828) [?:1.8.0_20]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_20]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_20]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_20]     at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_20]     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323) [?:1.8.0_20]     at sun.rmi.transport.Transport$1.run(Transport.java:178) [?:1.8.0_20]     at sun.rmi.transport.Transport$1.run(Transport.java:175) [?:1.8.0_20]     at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_20]     at sun.rmi.transport.Transport.serviceCall(Transport.java:174) [?:1.8.0_20]     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557) [?:1.8.0_20]     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812) [?:1.8.0_20]     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671) [?:1.8.0_20]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_20]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_20]     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_20] Caused by: com.opensymphony.xwork2.config.ConfigurationException: Unable to load jar:file:/D:/code/shkeyan/t-parent/t-web/target/t-web/WEB-INF/lib/struts2-core-6.0.0.jar!/struts-default.xml     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1087) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:198) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:165) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:166) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) ~[struts2-core-2.5.29.jar:2.5.29]     ... 53 more Caused by: com.opensymphony.xwork2.XWorkException     at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:120) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1081) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:198) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:165) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:166) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) ~[struts2-core-2.5.29.jar:2.5.29]     ... 53 more Caused by: java.io.FileNotFoundException: http://struts.apache.org/dtds/struts-2.6.dtd     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834) ~[?:1.8.0_20]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:640) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1293) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1260) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:263) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1164) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1050) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:964) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) ~[?:1.8.0_20]     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) ~[?:1.8.0_20]     at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:118) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1081) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:198) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:165) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:166) ~[struts2-core-2.5.29.jar:2.5.29]     at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) ~[struts2-core-2.5.29.jar:2.5.29]     ... 53 more 19-Jun-2024 13:23:10.192 ���� [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file 19-Jun-2024 13:23:10.192 ���� [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/t_web] startup failed due to previous errors 19-Jun-2024 13:23:10.220 ���� [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [t_web] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. [2024-06-19 01:23:10,229] Artifact t-web:war exploded: Error during artifact deployment. See server log for details. 原因:  同一个项目,加载后启动吧报错。 解决方案: 1,检查jdk,配置对应jdk.

2,检查maven,配置对应仓库。如果修改仓库地址一定要勾选。override

 3,maven >clean ;install

4,重启开发环境。

5,Rebuild project 重新构建。

6,重启。ok

正确结果:

2024-06-19 14:22:33,271 INFO [com.t.extend.SpringContextLoaderListener] - generate index.html sucess [2024-06-19 02:22:34,260] Artifact t-web:war exploded: Artifact is deployed successfully [2024-06-19 02:22:34,261] Artifact t-web:war exploded: Deploy took 24,777 milliseconds

 

标签:index,java,1.8,29,Unable,20,com,Dispatcher,2.5
From: https://www.cnblogs.com/mingyangli/p/18256198

相关文章

  • 构建基于 LlamaIndex 的RAG AI Agent
    IbuiltacustomAIagentthatthinksandthenacts.Ididn'tinventitthough,theseagentsareknownasReActAgentsandI'llshowyouhowtobuildoneyourselfusingLlamaIndexinthistutorial.我构建了一个自定义的AI智能体,它能够思考然后行动。不过,这并不......
  • Ragas实践问题记录2 AttributeError: ‘TestsetGenerator‘ object has no attribute
    报错问题依然是在尝试官方文档“CompareLLMsusingRagasEvaluations”的“Createsynthetictestdata”步骤发生报错。官方文档以及文档中代码如下:Ragas:CompareLLMsusingRagasEvaluations官方文档中的代码:importosfromllama_indeximportdownload_loader,Simp......
  • Fatal error in launcher: Unable to create process using ‘“python.exe“ “\pyt
    1.设置环境变量将pip和python的路径加入环境变量中2.在cmd中,查看是否存在python,pip等3.把应用安装程序中的python.exe和python3.exe关闭4.正常使用详情请看微软的常见问题,链接如下:关于在Windows上使用Python的FAQ|MicrosoftLearn......
  • 解决vue项目报错 ERROR in Conflict:Multiple assets emit different content to the
    vue-cli创建项目ERROR in Conflict: Multiple assets emit different content to the same filename index.html问题的解决办法用vue-cli正常来创建新的项目在运行npmrundev或者npmrunserve有以下报错:ERRORinConflict:Multipleassetsemitdifferentco......
  • pg_index
    在pg11之后,引入了indnkeyatts字段,根据官方文档解释其作用:Thenumberofkeycolumnsintheindex,notcountinganyincludedcolumns,whicharemerelystoredanddonotparticipateintheindexsemantics。第一感觉,和indnatts字段差不多,但两者的说明存在差异。后者是参......
  • 如何解决系统时间同步失败:Unable to sync time with NTP server
    如何解决系统时间同步失败:UnabletosynctimewithNTPserver......
  • 推送代码报错:fatal: unable to access 'https://gitlab.com/xxx/xxx.git/': The reque
    错误还原#gitlab使用Bitbucket注册登录,执行gitpush命令,使用token验证报错如下dogle@DESKTOP-KI961IKMINGW64/d/workspaces/xxx(main)$gitpushremote:HTTPBasic:Accessdenied.Theprovidedpasswordortokenisincorrectoryouraccounthas2FAenabledan......
  • ResourceManager unable to find resou
    哈喽,大家好,我是木头左,AI改变生活!一、问题描述在使用Mybatis自定义模板引擎时,可能会遇到一些问题。本文将介绍一个常见的报错信息:org.apache.velocity.exception.ResourceManagerException:Unabletofindresource。这个错误通常表示Velocity引擎无法找到指定的资源文件。本......
  • python-数据分析-Pandas-5、DataFrame-index
    Index类型,它为Series和DataFrame对象提供了索引服务,有了索引我们就可以排序数据(sort_index方法)、对齐数据(在运算和合并数据时非常重要)并实现对数据的快速检索(索引运算)。由于DataFrame类型表示的是二维数据,所以它的行和列都有索引,分别是index和columns。Index类型的创建的比较简单......
  • 在centos7.9下编译安装nginx1.16.1带fancyindex
    在centos7.9下编译安装nginx1.16.1带fancyindex文章目录前言一、安装环境centos7.9/nginx1.16.1/ngx-fancyindex-0.4.4二、需要达到的效果1.默认效果2.安装主题效果三、nginx编译安装1.安装依赖工具2.创建目录并下载Nginx及其模块3.运行编译与安装4.配置环境变......