This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans doesn't find javax.servlet.* 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 "Netbeans doesn Watch "Netbeans doesn New topic

Netbeans doesn't find javax.servlet.*

Olivier Legat
Ranch Hand

Joined: Nov 17, 2007
Posts: 176

Howdy folks,

So according to Andrew Monkhouse the javax.servlet.* package is not a package, it's from J2EE.

So I went ahead and downloaded the Netbeans Java EE to get this thing to work but I get a nasty "package javax.servlet.http does not exist" error. And here I was thinking a bigger download would solve all my problems

I'm a complete idiot with Netbeans, how to I check if I have Java EE and how do I reconfigure the project so it can find it?


P.S. I'm on a Mac so I can't find the J2EE SDK anywhere in the Download Page

Olivier Legat
Ranch Hand

Joined: Nov 17, 2007
Posts: 176

Resolved, I found the JAR files ... for Googler's that stumble upon this page here's how I did it:

- Right-click the Libraries folder in the left-hand Projects tab
- Goto /Applications/NetBeans/glassfish-3.1.1/glassfish/modules/
- Select all javax*.jar files.
- Click Choose
- Post a thank-you on this thread (optional)
I agree. Here's the link:
subject: Netbeans doesn't find javax.servlet.*
jQuery in Action, 3rd edition