This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Package javax.faces missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Package javax.faces missing" Watch "Package javax.faces missing" New topic
Author

Package javax.faces missing

Simon Wilsona
Greenhorn

Joined: Oct 28, 2010
Posts: 2
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

Joined: Jun 25, 2001
Posts: 15952
    
  19

Because this is an IDE question, I'm moving this to the IDE forum.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Package javax.faces missing
 
Similar Threads
Maven cannot delete jar on Windows when executing clean
Is this an applet?
Doubt with NetBeans 6.1
Netbeans GlassFish Registry SOA
Import Netbeans Maven Enterprise Project in Eclipse