Can‘t find bundle for base name cache

错误信息: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目录

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。