[nbj2ee] Re: Cannot import javax.faces... package

  • From: John Yeary < >
  • To:
  • Cc:
  • Subject: [nbj2ee] Re: Cannot import javax.faces... package
  • Date: Tue, 31 Jul 2012 15:14:27 -0400

Try 

import javax.faces.bean.*;

and 

fix the misspelling of @ManagedBean

Also please make sure that you have not imported the CDI @ManagedBean annotation.

____________________________

John Yeary
____________________________ 
NetBeans Dream Team
President Greenville Java Users Group
Java Users Groups Community Leader
Java Enterprise Community Leader


____________________________ 

       

"Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat."
-- Theodore Roosevelt



On Tue, Jul 31, 2012 at 5:41 AM, Mandlendoda Jele < " target="_blank"> > wrote:
Greetings,

Please assist, i am following Oracle tutorials on j2ee 6. i cannot import the ff package;


javax.faces.bean.*, 

@ManagedBea;
@RequestScope

i am using netbeans vers. 7.0.1 
also downloaded Java EE 6 SDK from oracle website.

many thanks,

mandla.




[nbj2ee] Cannot import javax.faces... package

Mandlendoda Jele 07/31/2012

[nbj2ee] Re: Cannot import javax.faces... package

John Yeary 07/31/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close