File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Package javax.faces missing" Watch "Package javax.faces missing" New topic

Package javax.faces missing

Simon Wilsona

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: 17421

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

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Package javax.faces missing
It's not a secret anymore!