This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JBOSS Deployement ERROR : org.jboss.weld.exceptions.ForbiddenArgumentException: WELD-001301 Annotati
 
Similar Threads
We are migrating our application from JBoss4.0.3 Sp1 to Jboss6.0.0.M3.
Servlet /MyAPP threw load() exception: java.lang.Null.PointerException
What's the best integration of Spring+jsf+jpa+hibernate+jboss
JBOSS 6.0 Error While Starting Up..
JPA+Jboss+eclipse and ClassNotFoundException (oracle.toplink.essentials.PersistenceProvider)