You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by David Shere <ds...@steelerubber.com> on 2007/04/10 21:14:06 UTC

Running OFBiz in Eclipse

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


Re: Running OFBiz in Eclipse

Posted by Jacques Le Roux <ja...@les7arts.com>.
Here are the last (and best IMHO) advises on this
http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-Running(ordebugging)OFBizinEclipse
or if you prefer http://docs.ofbiz.org/x/gQ

Are you guys reading the docs ? OK, I just added "Running" in the title
(but it was already in the anchor ;o)

Jacques

----- Message d'origine ----- 
De : "Ashish Vijaywargiya" <as...@adititechlabs.com>
À : <us...@ofbiz.apache.org>
Envoyé : mardi 10 avril 2007 21:47
Objet : Re: Running OFBiz in Eclipse


> 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 <ds...@steelerubber.com> 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.ja
va
> > :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
> ashish.vijaywargiya@adititechlabs.com
> __________________________________
> Office          :  509.855.4113
> Cellphone    :  +919893479711
>


Re: Running OFBiz in Eclipse

Posted by Ashish Vijaywargiya <as...@adititechlabs.com>.
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 <ds...@steelerubber.com> 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
ashish.vijaywargiya@adititechlabs.com
__________________________________
Office          :  509.855.4113
Cellphone    :  +919893479711