-
1. Re: problem finding classes in /classes dir of WAR
songhai Jul 1, 2004 8:06 PM (in response to maniarkm)
I am having the identical problem. I'm new to this however so the
solution may be trivial. But could someone please point me in the right direction. -
2. Re: problem finding classes in /classes dir of WAR
rzanner Jul 9, 2004 7:20 AM (in response to maniarkm)Hi folks,
it definitely does not work to put a single class in the import statement as in "import MyClass;". This is prohibited by the javac itself.
Besides that it's never a good idea to use classes with no package. Always use at least a single package - what's so difficult about it? It's just an additional folder and you get all the stuff of importing, correct class loader visiblity and so on.
Unfortunately I was not able to dig deeper into it until now. Maybe there's even a rule for classes in a web application not to be put into the default package... I just know that's not a good idea.
Hope that helped,
René -
3. Re: problem finding classes in /classes dir of WAR
songhai Jul 9, 2004 7:22 PM (in response to maniarkm)yes it did.
I eventually figured as much and went the 'package' route.
Thanks