Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
horri khaled
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
horri khaled
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the problem still reside so the above solution is not correct
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!