I have classes in an Entities package, but I still want to run import stuff that is in the default package... how do I do that?
+1
A:
You don't.
Sorry.
Though I'm quoting the other answer, you can check out the ORACLE reference that says that that is intended behaviour.
I recommend moving your stuff to a named package.
If you absolutely cannot re-factor, you can try using reflection to access it. Again, check the answer linked above.
Andres
2010-09-30 22:39:41
what is reflection?
DerNalia
2010-10-01 00:03:36
http://en.wikipedia.org/wiki/Reflection_(computer_science) - Basically, it is Java's way of creating instances of classes and calling methods without importing the class. It is a huge pain, and I don't recommend it.
Andres
2010-10-01 00:57:22