Re: Running OFBiz in Eclipse

Posted by Ashish Vijaywargiya-3 on
URL: http://ofbiz.116.s1.nabble.com/Running-OFBiz-in-Eclipse-tp145495p145497.html

David,

Probably you will get the solution from here.

http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php

Have you kept the database connector in framework/entity/lib/jdbc/ ???

Are you using ofbiz or opentaps ??

On 4/11/07, David Shere <[hidden email]> wrote:

>
> I've followed the directions at
> http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse and I get
> the following error:
>
> 2007-04-10 15:11:57,305 (main) [   GenericDelegator.java:182:INFO ]
> Doing database check as requested in entityengine.xml with addMissing=true
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/ofbiz/base/util/Log4jLoggerWriter
>         at
> org.ofbiz.entity.transaction.MinervaConnectionFactory.getConnection(
> MinervaConnectionFactory.java:54)
>         at
> org.ofbiz.geronimo.GeronimoTransactionFactory.getConnection(
> GeronimoTransactionFactory.java:94)
>         at
> org.ofbiz.entity.transaction.TransactionFactory.getConnection(
> TransactionFactory.java:95)
>         at
> org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(
> ConnectionFactory.java:72)
>         at org.ofbiz.entity.jdbc.DatabaseUtil.getConnection(
> DatabaseUtil.java:98)
>         at org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames(
> DatabaseUtil.java:827)
>         at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java
> :136)
>         at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java
> :125)
>         at org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java
> :1087)
>         at
> org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(
> GenericHelperDAO.java:198)
>         at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java
> :184)
>         at
> org.ofbiz.entity.GenericDelegator.getGenericDelegator(
> GenericDelegator.java:116)
>         at
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java
> :163)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(
> ContainerLoader.java:141)
>         at org.ofbiz.base.container.ContainerLoader.load(
> ContainerLoader.java:65)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
>         at org.ofbiz.base.start.Start.init(Start.java:87)
>         at org.ofbiz.base.start.Start.main(Start.java:403)
>
> --
> David Shere
> Information Technology Services
> Steele Rubber Products
> www.SteeleRubber.com
>
>


--
Thanks & Regards
Ashish Vijaywargiya
Aditisoft Technology Laboratory
http://www.adititechlabs.com
[hidden email]
__________________________________
Office          :  509.855.4113
Cellphone    :  +919893479711