1.eclipse下面运行出现
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.ofbiz.base.util.Debug.<clinit>(Debug.java:86)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:50)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:277)
at org.ofbiz.base.start.Start.init(Start.java:101)
at org.ofbiz.base.start.Start.main(Start.java:440)
Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
解决方法1:
[img]http://dl.iteye.com/upload/attachment/543811/d56746c5-91b1-327c-889d-d61f437ac17d.png[/img]
这种方法是http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php中说明的
解决方法2:
进入ofbiz运行的run configuration
修改
[img]http://dl.iteye.com/upload/attachment/543975/7e7e300a-4c7a-3795-bfb6-0488bfa509a5.jpg[/img]
为
[img]http://dl.iteye.com/upload/attachment/543979/1b564d66-5000-30b5-bb94-4b089303e630.jpg[/img]
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.ofbiz.base.util.Debug.<clinit>(Debug.java:86)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:50)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:277)
at org.ofbiz.base.start.Start.init(Start.java:101)
at org.ofbiz.base.start.Start.main(Start.java:440)
Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
解决方法1:
[img]http://dl.iteye.com/upload/attachment/543811/d56746c5-91b1-327c-889d-d61f437ac17d.png[/img]
这种方法是http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php中说明的
解决方法2:
进入ofbiz运行的run configuration
修改
[img]http://dl.iteye.com/upload/attachment/543975/7e7e300a-4c7a-3795-bfb6-0488bfa509a5.jpg[/img]
为
[img]http://dl.iteye.com/upload/attachment/543979/1b564d66-5000-30b5-bb94-4b089303e630.jpg[/img]