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

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

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

    系統(tǒng)環(huán)境:WinXP
    數(shù)據(jù)庫(kù):SQL2000
    開(kāi)發(fā)工具:MyEclipse5.5M2

    之所以采用MyEclipse5.5M2主要時(shí)看重這個(gè)版本的MyEclipse集成了最新的Spring2.0版本。這個(gè)系統(tǒng)采用了SSH框架結(jié)構(gòu),由于是初次使用,而且人員經(jīng)驗(yàn)有限,遇到了比較多的問(wèn)題,其中Error getConfigured / ExtensionValidator error錯(cuò)誤是困擾了我兩天的問(wèn)題。
    出現(xiàn)這個(gè)問(wèn)題的條件是使用MyEclipse5.5M2,并且使用Spring Core包。
    問(wèn)題的表現(xiàn)形式是,當(dāng)把項(xiàng)目部署到Tomcat服務(wù)器時(shí),出現(xiàn)如下錯(cuò)誤:
    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
    這個(gè)問(wèn)題導(dǎo)致項(xiàng)目無(wú)法啟動(dòng),也就無(wú)法去訪問(wèn)。
    這個(gè)問(wèn)題出現(xiàn)的原因是commons-attributes-compiler.jar包的MANIFEST.MF文件出現(xiàn)問(wèn)題,如果對(duì)這個(gè)包沒(méi)有依賴(lài),直接刪除這個(gè)包的引用,項(xiàng)目就可以正常啟動(dòng),如果對(duì)這個(gè)包有依賴(lài),那么可以通過(guò)以下兩種方式來(lái)解決。
    1、修改MANIFEST.MF文件
    原compiler.jar包中的MF文件結(jié)構(gòu)
    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
    這個(gè)問(wèn)題就可以解決。
    2、替換compiler.jar包
    下載,將我提供的jar包下載之后替換也可以解決這個(gè)問(wèn)題

    Feedback

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案[未登錄](méi)  回復(fù)  更多評(píng)論   

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

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案[未登錄](méi)  回復(fù)  更多評(píng)論   

    2007-04-27 19:10 by java
    你替換的文件里內(nèi)容還是:
    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解決方案  回復(fù)  更多評(píng)論   

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

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

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

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

    2007-05-15 17:49 by shgavin
    這位老兄說(shuō)的沒(méi)錯(cuò).采用這種方式完全可行.謝謝!

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

    2007-08-12 01:41 by danielchen19
    之前我也因?yàn)檫@個(gè)問(wèn)題困擾了我很久,現(xiàn)在看了之后,按照樓主的方法做后,現(xiàn)在我的項(xiàng)目也沒(méi)了這些錯(cuò)誤啦,真要感謝樓主。

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

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

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

    2007-11-19 11:07 by 專(zhuān)注JAVA開(kāi)源
    問(wèn)題啊~

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

    2007-11-19 11:54 by 專(zhuān)注JAVA開(kāi)源
    這個(gè)問(wèn)題解決了,但又出了新的問(wèn)題

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

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

    2007-11-19 11:54 by 專(zhuān)注JAVA開(kāi)源
    有知道的嗎?急~

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

    2007-11-30 13:04 by stiveen
    不錯(cuò)。

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

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

    # re: MyEclipse Error getConfigured / ExtensionValidator error解決方案  回復(fù)  更多評(píng)論   

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

    只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     

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

    Copyright © 姜海龍

    主站蜘蛛池模板: 亚洲国产综合人成综合网站| 亚洲成A∨人片在线观看无码| 91精品免费国产高清在线| 爱爱帝国亚洲一区二区三区| 亚洲国产综合人成综合网站00| 国产亚洲精久久久久久无码77777| 成年在线网站免费观看无广告 | 免费A级毛片无码无遮挡内射| 三级黄色在线免费观看| 欧美日韩亚洲精品| 亚洲youjizz| 亚洲高清视频在线播放| 国产AV无码专区亚洲精品| 亚洲AV永久无码精品一区二区国产| 一个人免费观看www视频在线| 久久久久国色av免费看| 91免费国产视频| 产传媒61国产免费| 免费播放美女一级毛片| 亚洲精品伦理熟女国产一区二区| 亚洲精品中文字幕乱码影院| 久久亚洲精品无码| 国产亚洲成AV人片在线观黄桃 | 人人公开免费超级碰碰碰视频| 伊人久久亚洲综合影院首页| 亚洲成人高清在线观看| 亚洲欧洲日产韩国在线| 综合自拍亚洲综合图不卡区| 97亚洲熟妇自偷自拍另类图片| 久久精品国产96精品亚洲| 亚洲精品成人片在线观看精品字幕 | 日本免费人成黄页网观看视频| 久久久久久久久免费看无码| 无码av免费毛片一区二区| 国产高清不卡免费在线| 免费成人福利视频| 免费在线看v网址| 曰批全过程免费视频在线观看| 在线视频观看免费视频18| 好爽…又高潮了免费毛片| 狠狠久久永久免费观看|