<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    系統環境:WinXP
    數據庫:SQL2000
    開發工具:MyEclipse5.5M2

    之所以采用MyEclipse5.5M2主要時看重這個版本的MyEclipse集成了最新的Spring2.0版本。這個系統采用了SSH框架結構,由于是初次使用,而且人員經驗有限,遇到了比較多的問題,其中Error getConfigured / ExtensionValidator error錯誤是困擾了我兩天的問題。
    出現這個問題的條件是使用MyEclipse5.5M2,并且使用Spring Core包。
    問題的表現形式是,當把項目部署到Tomcat服務器時,出現如下錯誤:
    INFO: Deploying web application archive TestSpringMVC.war
    Aug 
    182006 10:21:13 AM org.apache.catalina.util.ExtensionValidator validateManifestResources
    INFO: ExtensionValidator[
    /TestSpringMVC][commons-attributes-api.jar]: Required extension "ant" not found.
    Aug 
    182006 10:21:13 AM org.apache.catalina.util.ExtensionValidator validateManifestResources
    INFO: ExtensionValidator[
    /TestSpringMVC][commons-attributes-compiler.jar]: Required extension "ant" not found.
    Aug 
    182006 10:21:13 AM org.apache.catalina.util.ExtensionValidator validateManifestResources
    INFO: ExtensionValidator[
    /TestSpringMVC][commons-attributes-compiler.jar]: Required extension "javadoc" not found.
    Aug 
    182006 10:21:13 AM org.apache.catalina.util.ExtensionValidator validateManifestResources
    INFO: ExtensionValidator[
    /TestSpringMVC]: Failure to find 3 required extension(s).
    Aug 
    182006 10:21:13 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Aug 
    182006 10:21:13 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [
    /TestSpringMVC] startup failed due to previous errors
    Aug 
    182006 10:21:13 AM org.apache.catalina.core.StandardContext stop
    INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[
    /TestSpringMVC] has not been started
    這個問題導致項目無法啟動,也就無法去訪問。
    這個問題出現的原因是commons-attributes-compiler.jar包的MANIFEST.MF文件出現問題,如果對這個包沒有依賴,直接刪除這個包的引用,項目就可以正常啟動,如果對這個包有依賴,那么可以通過以下兩種方式來解決。
    1、修改MANIFEST.MF文件
    原compiler.jar包中的MF文件結構
    Manifest-Version: 1.0
    Ant
    -Version: Apache Ant 1.5.3 
    Created
    -By: Apache Maven
    Built
    -By: hen
    Package: org.apache.commons.attributes
    Build
    -Jdk: 1.4.2_05
    Extension
    -Name: commons-attributes-api
    Specification
    -Title: Client API for Jakarta Commons Attributes.
    Specification
    -Vendor: The Apache Software Foundation
    Implementation
    -Title: org.apache.commons.attributes
    Implementation
    -Vendor: The Apache Software Foundation
    Implementation
    -Version: 2.2
    Extension
    -List: ant qdox
    ant
    -Extension-Name: ant
    ant
    -Implementation-Version: 1.5
    ant
    -Implementation-URL: http://www.ibiblio.org/maven/ant/jars/ant-1.5.
     jar
    qdox
    -Extension-Name: qdox
    qdox
    -Implementation-Version: 1.5
    qdox
    -Implementation-URL: http://www.ibiblio.org/maven/qdox/jars/qdox-1
     .5.jar
    Implementation
    -Vendor-Id: org.apache
    X
    -Compile-Source-JDK: 1.4
    X
    -Compile-Target-JDK: 1.4
    我們可以看到URL后面的地址中含有一些不必要的字符,將MF文件修改如下
    Manifest-Version: 1.0
    Ant
    -Version: Apache Ant 1.5.3 
    Created
    -By: Apache Maven
    Built
    -By: hen
    Package: org.apache.commons.attributes
    Build
    -Jdk: 1.4.2_05
    Extension
    -Name: commons-attributes-api
    Specification
    -Title: Client API for Jakarta Commons Attributes.
    Specification
    -Vendor: The Apache Software Foundation
    Implementation
    -Title: org.apache.commons.attributes
    Implementation
    -Vendor: The Apache Software Foundation
    Implementation
    -Version: 2.2
    Extension
    -List: ant qdox
    ant
    -Extension-Name: ant
    ant
    -Implementation-Version: 1.5
    ant
    -Implementation-URL: http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar
    qdox-Extension-Name: qdox
    qdox
    -Implementation-Version: 1.5
    qdox
    -Implementation-URL: http://www.ibiblio.org/maven/qdox/jars/qdox-1.5.jar
    Implementation-Vendor-Id: org.apache
    X
    -Compile-Source-JDK: 1.4
    X
    -Compile-Target-JDK: 1.4
    這個問題就可以解決。
    2、替換compiler.jar包
    下載,將我提供的jar包下載之后替換也可以解決這個問題

    Feedback

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案[未登錄]  回復  更多評論   

    2007-04-27 18:59 by java
    1.直接刪除這個包的引用,怎么操作啊?
    2.替換compiler.jar包了還是報同樣的錯誤啊!
    謝謝你的回答了!

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案[未登錄]  回復  更多評論   

    2007-04-27 19:10 by java
    你替換的文件里內容還是:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.5.3
    Created-By: Apache Jakarta Maven
    Built-By: leo
    Package: org.apache.commons.attributes.compiler
    Build-Jdk: 1.4.0_01
    Extension-Name: commons-attributes-compiler
    Specification-Version: 1.0
    Specification-Vendor: The Apache Software Foundation
    Specification-Title: Attribute Compiler
    Implementation-Version: 2.1
    Implementation-Vendor: The Apache Software Foundation
    Implementation-Vendor-Id: ASF

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-04-27 21:15 by 姜海龍
    替換之后,重新發布,沒問題的,我這里沒問題啊,你看看WEB下面的LIB下面的文件是否正確

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-04-28 11:05 by 大山
    你的方法 我都用了怎么還是不能解決問題啊

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-05-15 17:49 by shgavin
    這位老兄說的沒錯.采用這種方式完全可行.謝謝!

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-08-12 01:41 by danielchen19
    之前我也因為這個問題困擾了我很久,現在看了之后,按照樓主的方法做后,現在我的項目也沒了這些錯誤啦,真要感謝樓主。

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-11-15 15:15 by *********
    我的問題也解決了.真的謝謝樓主了呵呵

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-11-19 11:07 by 專注JAVA開源
    問題啊~

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-11-19 11:54 by 專注JAVA開源
    這個問題解決了,但又出了新的問題

    Ignoring namespace handler [org.acegisecurity.config.SecurityNamespaceHandler]: handler class not found
    java.lang.ClassNotFoundException:

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-11-19 11:54 by 專注JAVA開源
    有知道的嗎?急~

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-11-30 13:04 by stiveen
    不錯。

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2007-12-14 10:55 by xp
    這個文件怎么修改,我的怎么修改不了?

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復  更多評論   

    2011-05-25 10:28 by 蘭永
    謝謝 那個問題解決了 但是出現Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener 的錯誤

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     

    posts - 9, comments - 19, trackbacks - 0, articles - 1

    Copyright © 姜海龍

    主站蜘蛛池模板: 久久一本岛在免费线观看2020| 不卡视频免费在线观看| 午夜福利不卡片在线播放免费| 亚洲日韩国产精品第一页一区| 精品国产污污免费网站入口| 国产国拍亚洲精品福利 | 在线播放免费人成毛片乱码| 在线亚洲97se亚洲综合在线| 亚洲免费一区二区| 国产精品亚洲精品日韩已满| 久操视频免费观看| 亚洲福利视频网址| 成年人免费视频观看| 亚洲av无码日韩av无码网站冲| 国产人成免费视频| 好猛好深好爽好硬免费视频| 国产亚洲欧洲Aⅴ综合一区 | 亚洲白色白色永久观看| 国产精品免费观看久久| 亚洲成a人片在线观看天堂无码| 国产18禁黄网站免费观看| 亚洲一级片免费看| 亚洲色欲或者高潮影院| 国产精品久久久久久久久久免费| 337P日本欧洲亚洲大胆艺术图| 亚洲av无码国产精品色在线看不卡| 精品一区二区三区免费观看| 久久亚洲私人国产精品vA| 啦啦啦中文在线观看电视剧免费版 | 国产91免费在线观看| 亚洲av无码专区亚洲av不卡| 亚洲免费日韩无码系列| 久久久久成人片免费观看蜜芽| 亚洲国产一区在线观看| 俄罗斯极品美女毛片免费播放| 日本高清不卡aⅴ免费网站| 久久综合亚洲色HEZYO社区| 国产精品麻豆免费版| 男女午夜24式免费视频| 亚洲欧洲AV无码专区| 国产亚洲精品资在线|