This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans doesn Watch "Netbeans doesn New topic
Author

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?

Thanks-you

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


Olly
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: http://aspose.com/file-tools
 
subject: Netbeans doesn't find javax.servlet.*