我是 OfBiz 的新手。在 eclipse 中运行它时...我在 eclipse 控制台中得到以下信息...
Httpd started on port: 9989
Sessiond started on port: 9990
2014-02-04 12:57:37,538 (main) [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990
2014-02-04 12:57:37,538 (main) [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports
2014-02-04 12:57:45,824 (org.ofbiz.service.jms.JmsListenerFactory@6ec213ad) [ JmsListenerFactory.java:75 :INFO ] JMS Listener Factory Thread Finished; All listeners connected.
在此之后,我尝试打开教程中提到的 url https://localhost:8080/webtools
,但我在浏览器中遇到以下错误消息
:ERROR MESSAGE:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty)
帮我解决这个问题...谢谢
最佳答案
当您在没有任何额外命令的情况下运行 ant build 然后执行应用程序时,通常会发生该错误
>ant
您可以安装演示版或全新安装,安装演示版运行:
>ant load-demo
或安装新的运行:
>ant run-install
如果您需要在新安装运行之前清理:
>ant clean-all
加载信息和模板后,应用程序现在应该可以工作了,从 eclipse 或使用命令运行
startofbiz
希望对你有帮助
问候
关于java - 运行 OfBiz 时获取 ScreenRenderException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21546509/