Running OFBiz in Eclipse

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

Running OFBiz in Eclipse

David Shere
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

Reply | Threaded
Open this post in threaded view
|

Re: Running OFBiz in Eclipse

Ashish Vijaywargiya-3
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
Reply | Threaded
Open this post in threaded view
|

Re: Running OFBiz in Eclipse

Jacques Le Roux
Administrator
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" <[hidden email]>
À : <[hidden email]>
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 <[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.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
> [hidden email]
> __________________________________
> Office          :  509.855.4113
> Cellphone    :  +919893479711
>

Reply | Threaded
Open this post in threaded view
|

RE: Running OFBiz in Eclipse

Vikrant.Rathore
In reply to this post by David Shere
Hi David,

Indeed I have been using eclipse SDK with different set of plugins
including Aptana for XML, CSS and HTML editing and I did not need to
change anything just import the existing project into eclipse and it
works like a charm.

Thanks
With best regards,
IVkrant


-----Original Message-----
From: news [mailto:[hidden email]]
Sent: Wednesday, April 11, 2007 3:14 AM
To: [hidden email]
Subject: 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(Mine
rvaConnectionFactory.java:54)
        at
org.ofbiz.geronimo.GeronimoTransactionFactory.getConnection(GeronimoTran
sactionFactory.java:94)
        at
org.ofbiz.entity.transaction.TransactionFactory.getConnection(Transactio
nFactory.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(GenericHelp
erDAO.java:198)
        at
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:184)
        at
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.j
ava:116)
        at
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.ja
va:163)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.j
ava: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