選擇java 進(jìn)入自由開(kāi)放的國(guó)度

          具有豐富知識(shí)和經(jīng)驗(yàn)的人,比只有一種知識(shí)和經(jīng)驗(yàn)的人更容易產(chǎn)生新的聯(lián)想和獨(dú)到的見(jiàn)解。
          隨筆 - 49, 文章 - 3, 評(píng)論 - 154, 引用 - 1

          導(dǎo)航

          <2007年11月>
          28293031123
          45678910
          11121314151617
          18192021222324
          2526272829301
          2345678

          常用鏈接

          留言簿(9)

          隨筆分類(43)

          隨筆檔案(49)

          文章分類(2)

          文章檔案(3)

          相冊(cè)

          收藏夾(1)

          java開(kāi)源項(xiàng)目

          • Hibernate插件 Synchronizer
          • 根據(jù)mappingfile自動(dòng)產(chǎn)生java代碼The automaticallly generated objects include: Value Objects Proxy Interfaces Composite Key Objects Enumeration Objects Component Objects Subclasses DAOs Other features include: Editor with code assist and outline view Custom template generation New mapping file wizard that queries your database New configuration file wizard Actions for adding mapping references, synchronizing files, and manually activating code generation
          • Junit
          • Struts
          • apache開(kāi)源基金的MVC框架

          Reading

          搜索

          •  

          積分與排名

          • 積分 - 107932
          • 排名 - 545

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          Strus常見(jiàn)錯(cuò)誤及原因分析

          本篇文章包含了在用Struts開(kāi)發(fā)web應(yīng)用時(shí)經(jīng)常碰到的一些異常和錯(cuò)誤,根據(jù)異常或錯(cuò)誤信息本身,經(jīng)常可以找到潛在的錯(cuò)誤發(fā)生原因。

          下面列出了一些Struts的常見(jiàn)錯(cuò)誤和異常,并給出了一些可能發(fā)生此類錯(cuò)誤或異常的原因。有的后面有相關(guān)連接,你可以通過(guò)它找到更多的信息。

          Cannot retrieve mapping for action

          異常

          javax.servlet.jsp.JspException: Cannot retrieve mapping for action /Login /Login是你的action名字)

           

           

          可能原因

          action沒(méi)有再struts-config.xml 中定義,或沒(méi)有找到匹配的action,例如在JSP文件中使用 <html:form action="Login.do".將表單提交給Login.do處理,如果出現(xiàn)上述異常,請(qǐng)查看struts-config.xml中的定義部分,有時(shí)可能是打錯(cuò)了字符或者是某些不符合規(guī)則,可以使用struts console工具來(lái)檢查。

           

          Cannot retrieve definition for form bean null

          異常

          org.apache.jasper.JasperException: Cannot retrieve definition for form bean null

          可能原因       
                 

          這個(gè)異常是因?yàn)?/SPAN>Struts根據(jù)struts-config.xml中的mapping沒(méi)有找到action期望的form bean。大部分的情況可能是因?yàn)樵?/SPAN>form-bean中設(shè)置的name屬性和action中設(shè)置的name屬性不匹配所致。換句話說(shuō),actionform都應(yīng)該各自有一個(gè)name屬性,并且要精確匹配,包括大小寫(xiě)。這個(gè)錯(cuò)誤當(dāng)沒(méi)有name屬性和action關(guān)聯(lián)時(shí)也會(huì)發(fā)生,如果沒(méi)有在action中指定name屬性,那么就沒(méi)有name屬性和action相關(guān)聯(lián)。當(dāng)然當(dāng)action制作某些控制時(shí),譬如根據(jù)參數(shù)值跳轉(zhuǎn)到相應(yīng)的jsp頁(yè)面,而不是處理表單數(shù)據(jù),這是就不用name屬性,這也是action的使用方法之一。

           

          No action instance for path /xxxx could be created

          異常

          No action instance for path /xxxx could be created

          可能原因

          特別提示:因?yàn)橛泻芏嘀星闆r會(huì)導(dǎo)致這個(gè)錯(cuò)誤的發(fā)生,所以推薦大家調(diào)高你的web服務(wù)器的日志/調(diào)試級(jí)別,這樣可以從更多的信息中看到潛在的、在試圖創(chuàng)建action類時(shí)發(fā)生的錯(cuò)誤,這個(gè)action類你已經(jīng)在struts-config.xml中設(shè)置了關(guān)聯(lián)(即添加了<action>標(biāo)簽)。

          struts-config.xml中通過(guò)action標(biāo)簽的class屬性指定的action類不能被找到有很多種原因,例如:

          • 定位編譯后的.class文件失敗。Failure to place compiled .class file for the action in the classpath (web開(kāi)發(fā)中,class的的位置在r WEB-INF/classes,所以你的action class必須要在這個(gè)目錄下。例如你的action類位于WEB-INF/classes/action/Login.class,那么在struts-config.xml中設(shè)置action的屬性type時(shí)就是action.Login).
          • 拼寫(xiě)錯(cuò)誤,這個(gè)也時(shí)有發(fā)生,并且不易找到,特別注意第一個(gè)字母的大小寫(xiě)和包的名稱。

          struts-config.xml中指定的action類沒(méi)有繼承自Stuts的Action類,或者你自定義的Action類沒(méi)有繼承自Struts提供的Action類。

          你的action類必須繼承自Struts提供的Action類。

          你的classpath的問(wèn)題。例如web server沒(méi)有發(fā)現(xiàn)你的資源文件,資源文件必須在WEB-INF/classes/目錄下

          Problem in struts-config.xml file with action mapping.

          Problem with data-sources.xml file.

          相關(guān)鏈接

           

          No getter method for property XXXX of bean org.apache.struts.taglib.html.BEAN

          異常

          javax.servlet.jsp.JspException: No getter method for property username of bean org.apache.struts.taglib.html.BEAN

          可能原因

          沒(méi)有位form bean中的某個(gè)變量定義getter 方法

          這個(gè)錯(cuò)誤主要發(fā)生在表單提交的FormBean中,用struts標(biāo)記<html:text property=”username”>時(shí),在FormBean中必須有一個(gè)getUsername()方法。注意字母“U”。

          Related Links

           

          java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm

          錯(cuò)誤

          java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm

          可能原因

          這個(gè)錯(cuò)誤主要發(fā)生在在classpath中找不到相應(yīng)的Java .class文件。如果這個(gè)錯(cuò)誤發(fā)生在web應(yīng)用程序的運(yùn)行時(shí),主要是因?yàn)橹付ǖ?/SPAN>class文件不在web serverclasspath中(/WEB-INF/classes /WEB-INF/lib)。

          在上面的錯(cuò)誤中,原因是找不到ActionForm類。

          This error is sometimes seen when one or more ActionForm.class instances are actually in the classpath. This most often occurs when ActionForm.class is made available correctly by placing struts.jar in the /WEB-INF/lib directory. When this library has been correctly placed and it is verified that ActionForm.class actually is present in the struts.jar file, the problem is either that more than one copy of ActionForm.class is in the classpath or (more likely) that duplicate versions of class files other than ActionForm are in the same classpath, causing confusion. This is especially true if a class that extends ActionForm is made available twice, such as in an .ear file that encompasses a .war file as well as in the .war file's own classpath (/WEB-INF/classes). This problem can be resolved by guaranteeing that there are no redundant classes, especially those related to Struts (directly from Struts or extensions of Struts), in the web application's view.

          相關(guān)連接

           

          Exception creating bean of class org.apache.struts.action.ActionForm: {1}

          異常

          javax.servlet.jsp.JspException: Exception creating bean of class org.apache.struts.action.ActionForm: {1}

          可能原因

          Instantiating Struts-provided ActionForm class directly instead of instantiating a class derived off ActionForm. This might occur implicitly if you specify that a form-bean is this Struts ActionForm class rather than specifying a child of this class for the form-bean.

          Not associating an ActionForm-descended class with an action can also lead to this error.

          Related Links

           

           

          Cannot find ActionMappings or ActionFormBeans collection

          Exception

          javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection

          可能原因

          不是標(biāo)識(shí)Struts actionServlet<servlet>標(biāo)記就是映射.do擴(kuò)展名的<sevlet-mapping>標(biāo)記或者兩者都沒(méi)有在web.xml中聲明。

          struts-config.xml中的打字或者拼寫(xiě)錯(cuò)誤也可導(dǎo)致這個(gè)異常的發(fā)生。例如缺少一個(gè)標(biāo)記的關(guān)閉符號(hào)/>最好使用struts console工具檢查一下

          另外,load-on-startup必須在web.xml中聲明,這要么是一個(gè)空標(biāo)記,要么指定一個(gè)數(shù)值,這個(gè)數(shù)值用來(lái)表servlet運(yùn)行的優(yōu)先級(jí),數(shù)值越大優(yōu)先級(jí)越低。

          還有一個(gè)和使用load-on-startup有關(guān)的是使用Struts預(yù)編譯JSP文件時(shí)也可能導(dǎo)致這個(gè)異常。

          相關(guān)鏈接

           

          NullPointerException at ... RequestUtils.forwardURL

          異常

          java.lang.NullPointerException at org.apache.struts.util.RequestUtils.forwardURL(RequestUtils.java:1223)

          可能原因

          struts-config.xml中的forward元素缺少path屬性。例如應(yīng)該是如下形式:
          <forward name="userhome" path="/user/userhome.jsp"/>

           

          Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

          Exception

          javax.servlet.jsp.JspException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

           

           

          Probable Causes

          試圖在Struts的form標(biāo)記外使用form的子元素。這常常發(fā)生在你在</html:form>后面使用Struts的html標(biāo)記。

          另外要注意可能你不經(jīng)意使用的無(wú)主體的標(biāo)記,如<html:form … />,這樣web 服務(wù)器解析時(shí)就當(dāng)作一個(gè)無(wú)主體的標(biāo)記,隨后使用的所有<html>標(biāo)記都被認(rèn)為是在這個(gè)標(biāo)記之外的,如又使用了<html:text property=”id”>

          還有就是在使用taglib引入HTML標(biāo)記庫(kù)時(shí),你使用的prefix的值不是html。 

          相關(guān)連接

           

          Missing message for key xx.xx.xx

          Exception

          javax.servlet.jsp.JspException: Missing message for key xx.xx.xx

          Probable Causes

          這個(gè)key的值對(duì)沒(méi)有在資源文件ApplicationResources.properties中定義。如果你使用eclipse時(shí)經(jīng)常碰到這樣的情況,當(dāng)項(xiàng)目重新編譯時(shí),eclipse會(huì)自動(dòng)將classes目錄下的資源文件刪除。

          資源文件ApplicationResources.properties 不在classpath 應(yīng)將資源文件放到 WEB-INF/classes 目錄下,當(dāng)然要在struts-config.xml中定義)

           

          Cannot find message resources under key org.apache.struts.action.MESSAGE

          異常

          Cannot find message resources under key org.apache.struts.action.MESSAGE

          可能原因

          很顯然,這個(gè)錯(cuò)誤是發(fā)生在使用資源文件時(shí),而Struts沒(méi)有找到資源文件。

          Implicitly trying to use message resources that are not available (such as using empty html:options tag instead of specifying the options in its body -- this assumes options are specified in ApplicationResources.properties file)

          XML parser issues -- too many, too few, incorrect/incompatible versions

          Related Links

           

          No input attribute for mapping path /loginAction

          錯(cuò)誤

          No input attribute for mapping path /xxxxAction

          可能原因e

          No input attribute in action mapping in struts-config.xml file for the action with the name specified in the error message. An input attribute is not required if form validation is not performed (either because the validate attribute is set to false or because the validation method in the relevant form class is not implemented. The input attribute specifies the page leading to this action because that page is used to display error messages from the form validation.

          Related Links

           

           

          Strange Output Characters

          錯(cuò)誤

          Strange and seemingly random characters in HTML and on screen, but not in original JSP or servlet.

          可能原因

          混和使用Strutshtml:form標(biāo)記和標(biāo)準(zhǔn)的HTML標(biāo)記不正確。

          使用的編碼樣式在本頁(yè)中不支持。

           

          "Document contained no data" or no data rendered on page

          錯(cuò)誤

          "Document contained no data" in Netscape

          No data rendered (completely empty) page in Microsoft Internet Explorer

          可能原因

          使用一個(gè)Action的派生類而沒(méi)有實(shí)現(xiàn)perform()方法或execute()方法。在Struts1.0中實(shí)現(xiàn)的是perform()方法,在Struts1.1中實(shí)現(xiàn)的是execute()方法,但Struts1.1向后兼容perform()方法。

          但你使用Struts1.1創(chuàng)建一個(gè)Action的派生類,并且實(shí)現(xiàn)了execute()方法,而你在Struts1.0中運(yùn)行的話,就會(huì)得到"Document contained no data" error message in Netscape or a completely empty (no HTML whatsoever) page rendered in Microsoft Internet Explorer.”的錯(cuò)誤信息。

           

          posted on 2005-06-11 11:58 soochow_hhb 以java論成敗 以架構(gòu)論英雄 閱讀(31521) 評(píng)論(48)  編輯  收藏 所屬分類: Struts

          評(píng)論

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          很好,謝謝
          2005-07-12 11:48 | 訪客

          # --v  回復(fù)  更多評(píng)論   

          幫了我和大的忙,謝了~
          2005-09-22 19:52 | LucyWang

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          非常感謝!~
          2005-10-10 10:54 | inkier

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          javax.servlet.jsp.JspException: Define tag cannot set a null value

          此錯(cuò)誤有那位大俠能解決一下嗎?
          2005-11-03 11:48 | 井中月

          # Strus常見(jiàn)錯(cuò)誤及原因分析[TrackBack]  回復(fù)  更多評(píng)論   

          本篇文章包含了在用Struts開(kāi)發(fā)web應(yīng)用時(shí)經(jīng)常碰到的一些異常和錯(cuò)誤,根據(jù)異常或錯(cuò)誤信息本身,經(jīng)常可以找到潛在的錯(cuò)誤發(fā)生原因。


          [引用提示]寒雨引用了該文章, 地址: http://blog.csdn.net/kenmoxi/archive/2005/11/25/536667.aspx
          2005-11-25 13:02 | 寒雨

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          非常經(jīng)典,多謝啊
          2005-12-07 12:03 | changli

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          謝謝,幫我解決一個(gè)困惑了2個(gè)小時(shí)的問(wèn)題。。
          2006-01-12 13:35 | ryan

          # Cannot find ActionMappings or ActionFormBeans collection   回復(fù)  更多評(píng)論   

          Cannot find ActionMappings or ActionFormBeans collection
          這個(gè)錯(cuò)誤還一種原因就是要把struts中的jar包都拷到lib目錄下。如果只拷struts.jar包就會(huì)報(bào)這樣的錯(cuò)。
          2006-02-06 10:53 | yyw

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/Ch10.tld


          這個(gè)錯(cuò)誤是怎么回事啊?謝謝各位大俠~~~~~~~~~
          2006-05-24 17:06 | 創(chuàng)造晴天

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          有人嗎??看我上面的問(wèn)題~~~~~~~~
          2006-05-24 17:13 | 創(chuàng)造晴天

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          感謝!
          2006-06-21 12:04 | wj

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          5555555555555

          我終于知道我錯(cuò)在哪里了,謝謝~~~~~

          :"(
          2006-08-01 14:20 | cederela

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/Ch10.tld
          2006-10-25 11:20 | oraclebug

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          這個(gè)是什么問(wèn)題啊
          我也碰到了,請(qǐng)指教啊???
          2006-10-25 11:20 | oraclebug

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/Ch10.tld

          有人知道嗎,這個(gè)是哪里出錯(cuò)了?在線等-----------------
          2006-10-25 11:25 | oraclebug

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          雖然現(xiàn)在還用不到,保存先~謝謝樓主
          2006-12-11 10:53 | 紅寶

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析[未登錄](méi)  回復(fù)  更多評(píng)論   

          不錯(cuò),加油!~
          2007-03-26 21:59 | 流水

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          謝謝,幫我解決一個(gè)困惑了2個(gè)小時(shí)的問(wèn)題。。
          2007-05-09 22:59 | 監(jiān)聽(tīng)器

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          解決一個(gè)困或我很久的問(wèn)題:
          jbuilder2006運(yùn)行struts時(shí),出現(xiàn)以下提示,請(qǐng)各位高手看一下,
          java.lang.ClassLoader.defineClass1(Native Method)
          java.lang.ClassLoader.defineClass(ClassLoader.java:620)
          java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
          org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1629)
          org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)
          org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)
          org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
          org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
          org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
          org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1081)
          org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
          javax.servlet.GenericServlet.init(GenericServlet.java:211)
          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
          org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
          org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
          org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
          org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
          org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
          java.lang.Thread.run(Thread.java:595)
          note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.Apache Tomcat
          2007-05-29 13:46 | jyfllzy

          # 內(nèi)容被禁止顯示  回復(fù)  更多評(píng)論   

          頂一個(gè)
          2007-08-30 11:44 | 內(nèi)容被禁止顯示

          # 手機(jī)監(jiān)聽(tīng)器  回復(fù)  更多評(píng)論   

          頂一個(gè)頂一個(gè)
          2007-08-30 11:45 | 監(jiān)聽(tīng)器

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          好東西,正好能用上
          2007-09-19 14:07 | 征途私服

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          研究研究先
          2007-09-19 14:07 | 新開(kāi)征途私服

          # 猶太人  回復(fù)  更多評(píng)論   

          剛剛度過(guò)
          2007-09-24 15:44 | 有人提議

          # 猶太人  回復(fù)  更多評(píng)論   

          特特特
          2007-09-24 15:45 | 有人提議

          # 猶太人  回復(fù)  更多評(píng)論   

          內(nèi)貿(mào)部vmdgfhgdg廣東如果對(duì)方郭德綱和合法化
          2007-09-24 15:45 | 有人提議

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          內(nèi)貿(mào)部vmdgfhgdg廣東如果對(duì)方郭德綱和合法化
          2007-10-29 17:02 | 內(nèi)容被禁止顯示

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          牛人一個(gè)
          2007-11-05 13:32 | 監(jiān)聽(tīng)器

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析[未登錄](méi)  回復(fù)  更多評(píng)論   

          同志,辛苦了!
          2007-11-08 15:49 | 無(wú)名

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析[未登錄](méi)  回復(fù)  更多評(píng)論   

          牛鼻子 我咋不會(huì)阿
          2007-11-20 22:34 | 北京網(wǎng)站建設(shè)

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析[未登錄](méi)  回復(fù)  更多評(píng)論   

          哈哈

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          dsdsad
          2007-11-23 02:24 | 內(nèi)容被禁止顯示

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          gbdzgf
          2007-11-23 17:56 | 44xp

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          內(nèi)容被禁止顯示
          2007-11-25 01:41 | 3232

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          內(nèi)容被禁止顯示
          2007-11-25 01:42 | 3232

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          內(nèi)容被禁止顯示
          2007-11-25 01:42 | 3232

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          大蘇打撒
          2007-11-25 01:44 | 內(nèi)容被禁止顯示

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          wqewq
          2007-11-25 01:45 | 監(jiān)聽(tīng)器

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          的分工合作的風(fēng)格
          2007-11-29 16:10 | 11xp

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          GDSZFGDFFGS
          2007-11-30 09:31 | 44xp

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          gsgdfgdafgsd
          2007-11-30 09:31 | 11sss

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析[未登錄](méi)  回復(fù)  更多評(píng)論   

          感謝呀
          2007-12-04 19:46 | 小鳥(niǎo)

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          內(nèi)容被禁止顯示
          2007-12-12 20:36 | 見(jiàn)錯(cuò)誤

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          這些東西太好了,謝謝!
          2008-02-25 21:51 | 風(fēng)云

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          struts居然有人用
          2008-04-08 18:07 | 牢記

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          type Exception report

          message

          description The server encountered an internal error () that prevented it from fulfilling this request.

          exception

          org.apache.jasper.JasperException
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


          root cause

          java.lang.NullPointerException
          com.tichogrid.oa.database.SMMailBoxModule.getCLOBContent(SMMailBoxModule.java:30)
          com.tichogrid.oa.database.SMMailBoxModule.getGuestList(SMMailBoxModule.java:55)
          org.apache.jsp.SMmailbox.SMMailBoxAudit_jsp._jspService(SMMailBoxAudit_jsp.java:54)
          org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


          note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.

          2008-04-09 09:57 | Strus

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          朋友寫(xiě)得不錯(cuò),感謝
          2008-05-07 14:06 | 小小寶

          # re: Strus常見(jiàn)錯(cuò)誤及原因分析  回復(fù)  更多評(píng)論   

          good
          2010-03-27 15:28 | 游龍!
          主站蜘蛛池模板: 京山县| 唐海县| 西安市| 台州市| 泽州县| 卢氏县| 绥芬河市| 称多县| 南澳县| 邻水| 定安县| 锡林浩特市| 和林格尔县| 页游| 建湖县| 滁州市| 通化县| 晋州市| 安宁市| 阳信县| 子洲县| 阆中市| 开封县| 晋州市| 永新县| 治多县| 南丰县| 临沧市| 长岛县| 班戈县| 睢宁县| 青川县| 景宁| 株洲市| 顺义区| 宿迁市| 镇安县| 汉阴县| 永登县| 柏乡县| 巨鹿县|