2016-04-12 49 views
1

私はApache Struts2とHibernateを使ってアプリケーションを開発しています。私はApache Tomcatアプリケーションサーバーを使用しています。突然、私は私のサーバーは、継続的に私のWebページには、2分後にapplication.Butぶら下げの一部の記号で実行されている。この期間の間、これらの線Tomcatが無限ループに遭遇しました

WARNING: No configuration found for the specified action: 'addProject' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 
Apr 12, 2016 2:30:23 PM org.apache.struts2.components.ServletUrlRenderer warn 
WARNING: No configuration found for the specified action: 'addProject' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 
Apr 12, 2016 2:30:23 PM org.apache.struts2.components.ServletUrlRenderer warn 
WARNING: No configuration found for the specified action: 'studentMailbox' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 
Apr 12, 2016 2:30:23 PM org.apache.struts2.components.ServletUrlRenderer warn 
WARNING: No configuration found for the specified action: 'studentMailbox' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 
Apr 12, 2016 2:30:23 PM org.apache.struts2.components.ServletUrlRenderer warn 
WARNING: No configuration found for the specified action: 'addProject' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 
Apr 12, 2016 2:30:24 PM org.apache.struts2.components.ServletUrlRenderer warn 

を印刷していることに気づく私はTomcatが停止して気づくとブラウザが

AW,Snap 
Something went wrong while displaying this page 
を表示します

私に解決策を提案してください。 ありがとうございます。

+0

あなたはweb.xml' –

+0

'における任意のエラーページの離党を持っていますか、あなたのブラウザは火のバグで例えば要求を(送信し続ける場合にも確認してください) –

+0

@AlirezaFattahiいいえWeb.xmlにエラーページの破損がありません。ブラウザがリクエストを送信しているかどうかを確認する方法がわかりません –

答えて

0

この例外が発生する原因は何かが考えられます。その中で最初に、この例外の原因となる2つのポイントに従うことに集中しましょう。

まず、struts.xmlファイルがプロジェクトの適切な場所にあることを確認します。 Struts2がstruts.xmlファイルをロードできない場合、この例外が発生する可能性があるためです。

また、struts.xmlファイルでnamespace属性を使用しないでください。

名前空間をより良く理解するために、以下のリンクを参照してください: ​​

+0

あなたの問題は解決しましたか? – ddgo

関連する問題