wood burning stoves 2.0*
The moose likes JSF and the fly likes cant deploy netbeans after using @Sessionscoped Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "cant deploy netbeans after using @Sessionscoped" Watch "cant deploy netbeans after using @Sessionscoped" New topic
Author

cant deploy netbeans after using @Sessionscoped

widia putra
Greenhorn

Joined: Apr 17, 2011
Posts: 1
Hi,

I got problem after im using @Sessionscoped by javax.enterprise.context.SessionScoped..
I cant deploy my project and i got message like this on output netbeans..



but if i remove that annotation @Sessionscoped i can build and deploy my application again..
Can anyone help me what im suppose to do?

Many thanks
Cesar Loachamin
Ranch Hand

Joined: Dec 25, 2010
Posts: 90

Hi widia

I see your problem, when you are using the SessionScope annotation (JSF 2.0) you must care with the package, so you must use javax.faces.bean.SessionScoped for SessionScope of Managed Beans not javax.enterprise.context.SessionScoped.
I hope this help you with your problem.
Regards
Cesar


When a dream is ending because to come true - OCPJP 6,7. OCE JPA EE6. MCTS
 
GeeCON Prague 2014
 
subject: cant deploy netbeans after using @Sessionscoped