错误日志:

     [java] 2014-09-26 10:12:17,031 (http-bio-0.0.0.0-8443-exec-5) [     ControlServlet.java:233:ERROR]
[java] ---- exception report ----------------------------------------------------------
[java] Error in request handler:
[java] Exception: org.ofbiz.widget.screen.ScreenRenderException
[java] Message: Error rendering screen [component://common/widget/CommonScreens.xml#login]: java.lang.IllegalArgumentException: Could not find screen with name [main-decorator] in class resource [component://practice/widget/PracticeScreens.xml] (Could not find screen with name [main-decorator] in class resource [component://practice/widget/PracticeScreens.xml])
[java] ---- cause ---------------------------------------------------------------------
[java] Exception: java.lang.IllegalArgumentException
[java] Message: Could not find screen with name [main-decorator] in class resource [component://practice/widget/PracticeScreens.xml]
[java] ---- stack trace ---------------------------------------------------------------
[java] java.lang.IllegalArgumentException: Could not find screen with name [main-decorator] in class resource [component://practice/widget/PracticeScreens.xml]
[java] org.ofbiz.widget.screen.ScreenFactory.getScreenFromLocation(ScreenFactory.java:103)
[java] org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:195)
[java] org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:585)
[java] org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
[java] org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
[java] org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
[java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
[java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
[java] org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
[java] org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:868)
[java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:582)
[java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
[java] javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
[java] javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
[java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
[java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
[java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:337)
[java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
[java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
[java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
[java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
[java] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
[java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
[java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
[java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
[java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
[java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
[java] org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
[java] org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
[java] org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
[java] java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[java] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[java] org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[java] java.lang.Thread.run(Thread.java:662)
[java] --------------------------------------------------------------------------------

解决问题:在practice/widget/PracticeScreens.xml中添加如下配置即可

    <screen name="main-decorator">
<section>
<actions>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PracticeUiLabels" map-name="uiLabelMap" global="true"/>
<set field="layoutSettings.companyName" from-field="uiLabelMap.PracticeCompanyName" global="true"/>
<set field="layoutSettings.label1" from-field="uiLabelMap.PracticeApplication" global="true"/>
<set field="layoutSettings.label1" from-field="uiLabelMap.PracticeApplication" global="true"/>
<set field="activeApp" value="practice" global="true"/>
<set field="applicationMenuName" value="PracticeAppBar" global="true"/>
<set field="applicationMenuLocation" value="component://practice/widget/PracticeMenus.xml" global="true"/>
</actions>
<widgets>
<include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/>
</widgets>
</section>
</screen>

OFBIZ bug_ControlServlet.java:233:ERROR的更多相关文章

  1. OFBIZ bug_ControlServlet.java:239:ERROR

    错误日志: [java] 2014-09-23 00:11:34,877 (http-bio-0.0.0.0-8080-exec-4) [ ControlServlet.java:141:INFO ] ...

  2. idea报错:error java compilation failed internal java compiler error

    idea下面报如下问题 error java compilation failed internal java compiler error 解决办法:Setting->Compiler-> ...

  3. idea Error:java: Compilation failed: internal java compiler error

    idea 遇到Error:java: Compilation failed: internal java compiler error 是提示说你当前使用的编译器jdk版本不对. 按住Ctrl+Alt ...

  4. idea之internal java compiler error

    启动错误:Error:java: Compilation failed: internal java compiler error 解决:将圈选地方改为对应的jdk版本即可

  5. Error:java:Compilation failed: internal java compiler error

    在IDEA中编译时出现这个错误:Error:java:Compilation failed: internal java compiler error! Information:Using javac ...

  6. java 区分error和exception

    1) java.lang.Error: Throwable的子类,用于标记严重错误.合理的应用程序不应该去try/catch这种错误.绝大多数的错误都是非正常的,就根本不该出现的.java.lang. ...

  7. java中Error与Exception有什么区别

    Error类和Exception类都继承自Throwable类. Error的继承关系: java.lang.Object  java.lang.Throwable      java.lang.Er ...

  8. org.apache.axis2.AxisFault: java.lang.Error: Unresolved compilation problem:

    原创:转载请注明出处 今天遇到以下一个异常,找了好长时间,就是不知道什么原因, 在网上搜了好多,也没搜到相关的解决方法. 1.异常展示, org.apache.axis2.AxisFault: jav ...

  9. java.lang.Error: Unresolved compilation problem: 解决方案

    严重: Allocate exception for servlet WX_Interfacejava.lang.Error: Unresolved compilation problem: The ...

随机推荐

  1. Yii2高级版本复制新项目出现问题解决(转)

    引用于 http://www.linuxidc.com/Linux/2015-02/114116.htm Yii2高级版本复制新项目会遇到下面的报错信息: exception 'yii\base\In ...

  2. POJ 1159 - Palindrome (LCS, 滚动数组)

    Palindrome Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 55018   Accepted: 19024 Desc ...

  3. hdu 4630 树状数组

    思路:这题的处理方式和hdu4358有点像.我们用一个pre[x]表示约数x的倍数上次出现的位置,将查询按区间的右节点升序排序.num[i]的约数为j,如果pre[j]为0,就将pre[j]置为i;否 ...

  4. Java Concurrency - 浅析 CyclicBarrier 的用法

    The Java concurrency API provides a synchronizing utility that allows the synchronization of two or ...

  5. C#操作Excel数据增删改查示例

    Excel数据增删改查我们可以使用c#进行操作,首先创建ExcelDB.xlsx文件,并添加两张工作表,接下按照下面的操作步骤即可 C#操作Excel数据增删改查. 首先创建ExcelDB.xlsx文 ...

  6. form提交数据中文乱码问题总结

    一:form在前台以post方式提交数据: 浏览器将数据(假设为“中国”)发送给服务器的时候,将数据变成0101的二进制数据(假设为98 99)时必然要查码表,浏览器以哪个码表打开网页,浏览器就以哪个 ...

  7. CSS之Win8界面摸拟

    开门见山,先把测试Result放上: <head> <meta charset="UTF-8"> <meta http-equiv="X-U ...

  8. 创建Mysql 序列

    create table sequence( name ) not null primary key, current_value , increment , max_value BIGINT, -- ...

  9. oracle经典操作sql

    分页: SELECT * FROM ( SELECT A.*, ROWNUM RN FROM (SELECT * FROM TABLE_NAME) A WHERE ROWNUM <= 40)WH ...

  10. lex&yacc

    LEX: yytext 数组包含匹配模式的文本; 使词法分析程序工作的两条规则是:1. lex 模式只匹配输入字符或字符串一次.2. lex 执行当前输入的最长可能匹配的动作. 由 lex 产生的词法 ...