错误信息:Can‘t find bundle for base name cache
Exception in thread "main" java.lang.ExceptionInInitializerError
Admin socket not configured; set to port 0
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:51)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250)
at org.ofbiz.base.start.Start.init(Start.java:89)
at org.ofbiz.base.start.Start.main(Start.java:398)
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)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:224)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:220)
at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:176)
at org.ofbiz.base.util.UtilProperties.<clinit>(UtilProperties.java:68)
... 5 more
==============================================================================
解决方法:在build path 里加上base/config,base/cert,base/dtd目录
时间: 2024-10-17 00:53:37