Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans doesn't find javax.servlet.*

 
Olivier Legat
Ranch Hand
Posts: 176
Chrome Mac Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Olivier Legat
Ranch Hand
Posts: 176
Chrome Mac Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic