aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBOSS Deployement ERROR : org.jboss.weld.exceptions.ForbiddenArgumentException: WELD-001301 Annotati Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS Deployement ERROR : org.jboss.weld.exceptions.ForbiddenArgumentException: WELD-001301 Annotati" Watch "JBOSS Deployement ERROR : org.jboss.weld.exceptions.ForbiddenArgumentException: WELD-001301 Annotati" New topic
Author

JBOSS Deployement ERROR : org.jboss.weld.exceptions.ForbiddenArgumentException: WELD-001301 Annotati

horri khaled
Ranch Hand

Joined: Mar 24, 2008
Posts: 36
Hi,

I have an error when deploying a web application using spring 3 and jsf 2, the error appear when I change @ManagedBean by @Named, for more information I have a bean like this :



User.java


the stack error :


note that I use JBOSS 6 M3



thanks in advance


SCJP 5
horri khaled
Ranch Hand

Joined: Mar 24, 2008
Posts: 36
I think the problem come not from @Named annotation but from the bean.xml file added to WEB-INF to support JSF 2, just remove this file.
horri khaled
Ranch Hand

Joined: Mar 24, 2008
Posts: 36
the problem still reside so the above solution is not correct
 
 
subject: JBOSS Deployement ERROR : org.jboss.weld.exceptions.ForbiddenArgumentException: WELD-001301 Annotati