2017-07-27 1 views
0

私はOFBiz 16.11を学ぼうとしていますが、新しいプラグインを追加してそのURLを使用してアクセスしようとするとエラーに遭遇しています。新しいOFBiz 16.11プラグインにアクセスできない

:ERROR MESSAGE: 
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#login]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ofbizDemo/widget/CommonScreens.xml#main-decorator]: java.lang.IllegalArgumentException: Could not find resource bundle [OfbizDemoUiLabels] in the locale [en_US] (Could not find resource bundle [OfbizDemoUiLabels] in the locale [en_US]) (Error rendering screen [component://ofbizDemo/widget/CommonScreens.xml#main-decorator]: java.lang.IllegalArgumentException: Could not find resource bundle [OfbizDemoUiLabels] in the locale [en_US] (Could not find resource bundle [OfbizDemoUiLabels] in the locale [en_US])) 

私は新しいプラグインを作成するには、次のコマンドを実行しました:

--Initialize OFBiz and load demo data 
gradlew cleanAll loadDefault ofbiz 

--Add new plugin 
gradlew createPlugin -PpluginId=ofbizDemo 

--Apply changes and run OFBiz 
gradlew loadDefault ofbiz 

私は現在、Windows 10 新しいプラグインのURLを使用してOFBizをテストしています:https://localhost:8443/ofbizDemo

は中に欠落しているステップがありますこのエラーメッセージの原因となっている新しいプラグインの作成?上記のコマンドは、OFBizチュートリアルドキュメントで見つけることができることを

注: Tutorial Document

私はOfbizDemoUiLabels.xmlファイルをチェックし、それが正しい場所に存在します。

答えて

0

解決策が見つかりました。 OfbizDemoUiLabels.xmlファイルの英語以外のエントリをすべて削除するだけです。これは現在、期待どおりに動作しています!

0

私はちょうど同じ問題に直面しました。私は、システムのデフォルト言語(ドイツ語)のエントリをOfbizDemoUiLabels.xml( )に追加することで解決しました。 <value xml:lang="de">OfbizDemo Applikation</value>

関連する問題