ExceptionInInitializerError:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ExceptionInInitializerError:

OFBank
hi there

The following error occured when i  installed the 9.04 version of OFBiz in
Eclipse3.6, i don't know what resource was missing.
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(Unknown
Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at
org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:216)
    at
org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:212)
    at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:171)
    at org.ofbiz.base.util.UtilProperties.<clinit>(UtilProperties.java:68)
    ... 5 more

Any help about this will be appreciated.

Regard.

Xu Jinyi
Reply | Threaded
Open this post in threaded view
|

Re: ExceptionInInitializerError:

张良
Hi Jinyi,

  Try to add 'framework/base/config' into the build path.

在 2010年8月25日 上午10:59,战争与和平 <[hidden email]>写道:

> hi there
>
> The following error occured when i  installed the 9.04 version of OFBiz in
> Eclipse3.6, i don't know what resource was missing.
> 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(Unknown
> Source)
>    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
>    at java.util.ResourceBundle.getBundle(Unknown Source)
>    at
> org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:216)
>    at
> org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:212)
>    at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:171)
>    at org.ofbiz.base.util.UtilProperties.<clinit>(UtilProperties.java:68)
>    ... 5 more
>
> Any help about this will be appreciated.
>
> Regard.
>
> Xu Jinyi
>
Reply | Threaded
Open this post in threaded view
|

Re: ExceptionInInitializerError:

Jacques Le Roux
Administrator
And please use rather user ML for such questions, see why here :
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@...

Thanks

Jacques

From: "张良" <[hidden email]>
Hi Jinyi,

  Try to add 'framework/base/config' into the build path.

在 2010年8月25日 上午10:59,战争与和平 <[hidden email]>写道:

> hi there
>
> The following error occured when i  installed the 9.04 version of OFBiz in
> Eclipse3.6, i don't know what resource was missing.
> 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(Unknown
> Source)
>    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
>    at java.util.ResourceBundle.getBundle(Unknown Source)
>    at
> org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:216)
>    at
> org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:212)
>    at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:171)
>    at org.ofbiz.base.util.UtilProperties.<clinit>(UtilProperties.java:68)
>    ... 5 more
>
> Any help about this will be appreciated.
>
> Regard.
>
> Xu Jinyi
>