jeffy

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            70 Posts :: 1 Stories :: 14 Comments :: 0 Trackbacks
          4. 錯誤描述: Eclipse 不能自動編譯,即使已經在Project menu選擇了自動構建選項。
              錯誤信息:  不能編譯,生成java class文件
              錯誤原因:  項目屬性里面的java構建路徑里面缺少構建需要的類包,或者錯誤引用不存在的類包
              錯誤解決: 項目屬性里面的java構建路徑里面添加必要的類包。

          3
          . 錯誤描述
              錯誤信息: java.lang.NoSuchMethodError:  org.apache.commons.pool.impl.GenericObjectPool: method <init>()V   not found
              錯誤原因: commons-pool-1.2.jar,commons-dbcp-1.2.1.jar,commons-collections.jar版本問題
              錯誤解決: commons-pool-1.2.jar,commons-dbcp-1.2.1.jar,commons-collections.jar放置,就解決。


          2
          . 錯誤描述:當用Eclipse的Lomboz J2EE Project 創建web應用, web server選的是weblogic8.1, 自動生成的weblogic.xml 的參考DTD <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 6.1//EN" "           當在weblogic.xml添加
              <container-descriptor>
                       <prefer-web-inf-classes>true</prefer-web-inf-classes>  //要weblogic 先加載 WEB-INF下面的jar包, 避免類包沖突.
                      </container-descriptor>
               產生警告:
              錯誤信息: Deployment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: Element type "prefer-web-inf-classes" must be declared.
                       Deployment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: The content of element type "container-descriptor" must match "(check-auth-on-forward?,redirect-content-type?,redirect-content?,redirect-with-absolute-url?)". (line 5, column 26).>
              錯誤原因: weblogic.xml的DTD版本是6.1,版本太老
              錯誤解決:   <?xml version="1.0" encoding="UTF-8"?>
                         <!DOCTYPE weblogic-web-app   PUBLIC "-//BEA Systems, Inc.//DTD Web Application 7.0//EN"   "
              
          1. 錯誤描述:把axis-bin-1_2_1.zip解壓后的webapps目錄下面的axis目錄copy到{TOMCAT_HOME}\webapps\axis.  Tomcat啟動之后,點擊
          http://127.0.0.1:8080/axis/happyaxis.jsp, 有下面錯誤
              錯誤信息: Error: could not find class javax.activation.DataHandler from file  activation.jar   Axis will not work. 。
                                    控制臺顯示下面錯誤:
                                    -Unable to find required classes (javax.activation.DataHandler and  
                                    javax.mail.internet.MimeMultipart). Attachment support is disabled.
              錯誤原因: 缺少 activation.jar ,mail.jar, 
              錯誤解決: 把這幾個類包放到{TOMCAT_HOME}\webapps\axis\WEB-INF\lib下面。
          posted on 2006-01-12 17:49 Live-in Java 閱讀(1763) 評論(1)  編輯  收藏 所屬分類: Others

          評論

          # re: 錯誤列表[未登錄] 2008-03-19 21:49 小米
          commons-pool-1.2.jar,commons-dbcp-1.2.1.jar,commons-collections.jar放置,就解決。

          什么意思啊 ????????????????  回復  更多評論
            

          主站蜘蛛池模板: 关岭| 平凉市| 平顺县| 嘉定区| 济宁市| 土默特左旗| 德惠市| 灌阳县| 阿坝| 巴彦淖尔市| 通道| 洪洞县| 蒲江县| 灌阳县| 宣威市| 南充市| 浦城县| 方正县| 石楼县| 仪陇县| 大连市| 太白县| 龙山县| 珲春市| 女性| 揭西县| 盘山县| 防城港市| 辉南县| 沾益县| 任丘市| 潜江市| 南皮县| 康平县| 确山县| 平塘县| 江达县| 云林县| 伊金霍洛旗| 丹江口市| 常德市|