Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Package javax.faces missing

 
Simon Wilsona
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been working my way through the J2EE tutorial using netbeans and glassfish.

So far everything was going ok, but today when I loaded up netbeans and opened the latest example project I found that I was getting error messages "package javax.package.bean does not exist". This applied not only to the newly opened project, but also to a couple of project I had previously open and sucessfully run.

I have managed to fix one of the projects by manually adding references to JSf 1.2 and JSF 2.1 libraries. I guess I can do that for all the other examples if I have to, but that is a bit of a pain.

Does anyone have any idea what might have got wrong and more importantly how I can fix it. I guess I need to somehow cross reference those libaries to the glassfish server references inside Netbeans so they are automatically included in any future projects I open? However cannot work out how to do that inside Netbeans.

Any advice greatfully received.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18272
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because this is an IDE question, I'm moving this to the IDE forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic