This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
horri khaled
Ranch Hand
Posts: 36
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the problem still reside so the above solution is not correct
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic