On Sunday, October 13, 2013, Cong Tran wrote:

> Hi Matt,
>
> I know how to configure the port in the eclipse. To run the app we invoke
> cargo:run. How to configure the port with cargo?
>
> It's set in the Pom file of the rave-portal module in the cargo plugin
section (toward bottom of file)

>
> 2013/10/6 Matt Franklin <[email protected] <javascript:;>>
>
> > I am not an eclipse user, but the error indicates that the openjpa maven
> > enhancement plugin was not run.  Normally, my workflow is to remote debug
> > using localhost port 8000 through IntellIJ's remote debugger. I assume
> > Eclipse has equivalent functionality.
> >
> > On Sat, Oct 5, 2013 at 8:34 AM, Cong Tran 
> > <[email protected]<javascript:;>
> > >wrote:
> >
> > > Hi community,
> > >
> > > I'm trying to deploy Apache Rave in Eclipse Kepler with m2e-wtp and
> > Apache
> > > Tomcat 6.0.37 (OS Window 7). The last trunk version
> > > (https://svn.apache.org/repos/asf/rave/trunk) was imported in Eclipse
> > > by following the steps
> > > listed in IDE Settings and Debugging. But I got the
> BeanCreationException
> > > for the Bean "dataImporter" when I started Rave Server in Tomcat from
> > > Eclipse. Can you please help? Apache Rave project was builded without
> > tests
> > > with maven 3.1.0, which was separate installed in Window. By invoking
> mvn
> > > cargo:run I can start the portal without problem.
> > >
> > > There is another option in IDE Settings and Debugging using Remote
> > > debugging. How does it work?
> > >
> > > Here are the exceptions:
> > >
> > > 03.10.2013 16:09:05 org.apache.catalina.core.StandardContext
> > listenerStart
> > > SCHWERWIEGEND: Exception sending context initialized event to listener
> > > instance of class
> > > org.apache.rave.portal.web.context.RaveContextLoaderListener
> > > org.springframework.beans.factory.BeanCreationException: Error creating
> > > bean with name 'dataImporter': Invocation of init method failed; nested
> > > exception is <openjpa-2.2.2-r422266:1468616 nonfatal user error>
> > > org.apache.openjpa.persistence.ArgumentException: An error occurred
> while
> > > parsing the query filter "SELECT count(w) FROM JpaWidget w". Error
> > message:
> > > The name "JpaWidget" is not a recognized entity or identifier. Known
> > entity
> > > names: [] at
> > >
> > >
> >
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
> > > at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)
> > > at
> > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1475)
> > >
> >
>

Reply via email to