On Wed, Jun 12, 2013 at 2:47 AM, Romain Manni-Bucau
<[email protected]>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?

Reply via email to