[weld-issues] [JBoss JIRA] (WELD-1123) WELD-000075 error message with AspectJ

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Wed May 9 14:28:17 EDT 2012


    [ https://issues.jboss.org/browse/WELD-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12691546#comment-12691546 ] 

Jean ANDRE commented on WELD-1123:
----------------------------------

Finally I've took the ear from:
https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/weld/weld-osgi-bundle/1.1.8.Final/
Under Eclipse, the project 1.1.6 is not working - many errors - Under NetBean, it sounds good.

I've update GlassFish with this file - INFO: WELD-000900 1.1.8 (Final) - But it still not working even when the file comes from JBoss... So, it is not back compatible unless something is missing, I mean additional file is required to be updated.

The error we got is the same as 1.1.6 which is java.lang.NoClassDefFoundError: org/jboss/weld/interceptor/proxy/LifecycleMixin.

So, Justin, I also found this
           https://community.jboss.org/thread/197617
 and that: https://issues.jboss.org/browse/WELD-807
 and..     http://java.net/jira/browse/GLASSFISH-10787


                
> WELD-000075 error message with AspectJ
> --------------------------------------
>
>                 Key: WELD-1123
>                 URL: https://issues.jboss.org/browse/WELD-1123
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.4.Final
>         Environment: WELD-000900 1.1.4 (Final)  with GlassFish 3.1.2 Open Source - commons-lang-2.4 - commons-logging-1.1.1 - cssparser-0.9.6 - el-impl-2.2 - guava-11.0.1 - hibernate-validator-4.2.0.Final - junit-4.10 -  log4j-1.2.16 - richfaces-components-api-4.2.1.Final - sac-1.3 - AspectJ / AJDT for Eclipse Indigo.
>            Reporter: Jean ANDRE
>         Attachments: NestedWeb_Bug 378361.zip, NestedWeb_WELD-000075.zip
>
>
> We have an application - Without AspectJ, the application is running smoothly but as soon as we activate aspectJ, if we tried to deploy and run the application we got the following error message:
> {code}
> GRAVE: Exception while loading the app
> GRAVE: Exception while loading the app : WELD-000075 Normal scoped managed bean implementation class has a public field:  public at Named @RequestScoped class com.nested.web.controller.PanelTwoController
> org.jboss.weld.exceptions.DefinitionException: WELD-000075 Normal scoped managed bean implementation class has a public field:  public at Named @RequestScoped class com.nested.web.controller.PanelTwoController
> 	at org.jboss.weld.bean.ManagedBean.checkBeanImplementation(ManagedBean.java:438)
> 	at org.jboss.weld.bean.AbstractClassBean.initialize(AbstractClassBean.java:191)
> 	at org.jboss.weld.bean.ManagedBean.initialize(ManagedBean.java:322)
> 	at org.jboss.weld.bootstrap.AbstractBeanDeployer.deploy(AbstractBeanDeployer.java:115)
> 	at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:204)
> 	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:344)
> 	at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:179)
> 	at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
> 	at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277)
> 	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
> 	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> 	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
> 	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list