I have a servlet & a class sitting in the same package on a NetBeans web project. (these class locations are for example only-- this is nowhere near my ideal organization of classes.)
In the servlet, everything is alright-- it is seeing javax and whatever i'm looking for in it.
However, in the plain java class, it's not even recognizing the imports-- giving me "Package javax.* does not exist" let alone fixing the imports itself.
What's missing here?
EDIT: I've seen java.lang.NoClassDefFoundError: javax/mail/Authenticator, whats wrong? along with some other discussions.