1. 程式人生 > >org.apache.commons.collections.ArrayStack ----- ssh 框架報錯

org.apache.commons.collections.ArrayStack ----- ssh 框架報錯

javax.servlet.UnavailableException: class "org.apache.commons.collections.ArrayStack"'s signer information does not match signer information of other classes in the same package
 at org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
 at javax.servlet.GenericServlet.init(GenericServlet.java:212)
 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4042)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4348)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:516)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

解決方法:commons.collections.jar刪除舊的,留下新的

相關推薦

org.apache.commons.collections.ArrayStack ----- ssh 框架

javax.servlet.UnavailableException: class "org.apache.commons.collections.ArrayStack"'s signer information does not match signer informati

java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap解決辦法

在編寫Servlet中實現表單值自動填充的程式中,出現了-500 java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap報錯,究其原因就是在commons-collection-4

CollectionUtils 【org.apache.commons.collections

Maven依賴 <dependency> <groupId>commons-collections</groupId> <artifactId>com

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/ExtendedPr

在使用封裝好的外掛自動生成controller Service mapper pojo的時候遇到如上的問題, Exception in thread "main" java.lang.NoClassD

上次檔案程式碼,java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactory

2018-09-11 11:11:08.235 ERROR 14352 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dis

菜鳥學習Spring框架day_01天記錄org.apache.commons.dbcp.SQLNestedException

菜鳥學習Spring框架day_01天記錄org.apache.commons.dbcp.SQLNestedException 錯誤情況如下: Exception in thread “main” org.mybatis.spring.MyBatisSystemException: ne

:java.lang.ClassNotFoundException: org.apache.commons.lang.exception.NestableRuntimeException

報錯資訊: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException     at java

tomcat6——java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

整個系統都沒有錯誤,但是在釋出執行後,控制檯上卻丟擲了這樣的異常: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource 很顯然這是一個沒有找到對應的類檔案的異常。 如是我在我引入的

linux系統執行java專案Caused by: java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly

Caused by: java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)Vat org.apache.commons.io.FileUtil

org.apache.commons.collectionsJDK中不是已經有了Java集合框架了嗎,為什麼還要使用Apache的集合呢?

本文簡要的介紹了Apache Commons中的collections框架內容。本文主要根據Apache官方網站的overview、userguide以及javadoc翻譯而成。如有轉載,請宣告出處。 Commons Collections: Java集合框架是JDK 1.3對JDK1.2的一個主要的補充。

【FTP】org.apache.commons.net.ftp.FTPClient實現復雜的上傳下載,操作目錄,處理編碼

ttr hide working log 登錄 有一個 ima spl att 和上一份簡單 上傳下載一樣 來,任何的方法不懂的,http://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/

java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

apache con ont test oca action error esp iat 1.java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils 缺少類 2. There is no Ac

java.lang.ClassNotFoundException: org.apache.commons.dbutils.QueryRunner

ica ror server acc dwr comm erro tor reads 七月 28, 2017 11:06:33 下午 org.apache.catalina.core.StandardWrapperValve invoke嚴重: Servlet.serv

Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

pro .com spa exception nbsp build 下載 .org col 運行一個Spring程序的時候,一直報錯,如下: 解決辦法: 下載 :commons-logging-1.2.jar包 地址:http://commons

對於org.apache.commons.dbcp.BasicDataSource的配置認知

使用 回滾 路徑 blog 出錯 ati 方式 factory 忽略 對於org.apache.commons.dbcp.BasicDataSource的配置認知 對於org.apache.commons.dbcp.BasicDataSource的配置認知【轉】 S

java中反向轉義org.apache.commons.lang3.StringEscapeUtils.unescapeJava

style javascrip 內容 ons 字符 set htm templates 關鍵字 工具類中包含類反向轉義的方法: eorderHistory.setSubPrintTemplates(StringEscapeUtils.unescapeJava(eord

Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined in class path resource [applicationContext

Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined in class path resource [applicationContext.xml]; 該錯誤是因

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications

The last packet successfully received from the server was 1,540,276,322,598 milliseconds ago. The last packet sent successfully to the server was 0 m

日期格式化類DateFormatUtils【org.apache.commons.lang3.time.DateFormatUtils】

lang3官方版本 Maven依賴 本文以3.7版本為例: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</ar

日期處理類DateUtils 【org.apache.commons.lang3.time.DateUtils】

lang3官方版本 Maven依賴 本文以3.7版本為例: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</ar