tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Cetina <maxtorz...@gmail.com>
Subject Re: CODI + TomEE + ManagedBean with public attributes
Date Wed, 12 Jun 2013 14:20:35 GMT
Of course i did, it is the in the first post.


2013/6/12 Howard W. Smith, Jr. <smithh032772@gmail.com>

> doh, really? lol :)
>
> Jose, did you 'not' copy/paste that user-friendly exception message when
> you provided the stack trace?
>
>
> On Wed, Jun 12, 2013 at 10:13 AM, Romain Manni-Bucau
> <rmannibucau@gmail.com>wrote:
>
> > seems logged at startup, i didn't commited anything...but it is at the
> > begnning of the list of exceptions ;)
> >
> > globally it prevent the app to start so then all cdi stuff is broken
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/6/12 Howard W. Smith, Jr. <smithh032772@gmail.com>
> >
> > > On Wed, Jun 12, 2013 at 2:47 AM, Romain Manni-Bucau
> > > <rmannibucau@gmail.com>wrote:
> > >
> > > Here is the exception:
> > > >
> > > > org.apache.webbeans.exception.WebBeansConfigurationException: If bean
> > has
> > > > a public field, bean scope must be defined as @Scope. Bean is :
> > > > com.maxtorzito.test.MyBeanThree
> > > >  at
> > > >
> > > >
> > >
> >
> org.apache.webbeans.inject.impl.InjectionPointFactory.buildInjectionPoints(InjectionPointFactory.java:87)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.webbeans.container.InjectionTargetFactoryImpl.createInjectionPoints(InjectionTargetFactoryImpl.java:68)
> > > >
> > >
> > > That definitely looks like a more user/developer-friendly exception. :)
> > >
> > > 1. Is this a newly-modified exception per a recently added TOMEE-XXXX
> > JIRA?
> > >
> > > 2. Does this exception occur at startup or when app is deployed? and
> does
> > > this require developer to fix the code and redeploy?
> > >
> > > 3. Jose, did the exception in the OP occur at startup (or when app is
> > > deployed)? and same as #2 above, did you have to modify your code and
> > > redeploy, because app would not start/run because of the exception?
> > >
> >
>



-- 
-------------------------------------------------------------------
*SCJA. José Luis Cetina*
-------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message