posted 16 years ago
Hi Ranchers,
I know this is very common error of declaring source folder, but some how I am not able to solve my particular case.
I tried searching through other posts here but could not get to resolve my issue with any of those.
So here is my problem.
I have a project called "javasource" which is created with existing source option. I have 'javasource' folder on my C drive and it has other set of com.mystuff folders etc.
So now javasource/com/mycomp/myfolder/MyClass.java has package declaration statement "package com.mycomp.myfolder;" which gives me error saying declared package does not meet expected package. Aslo, it does not recognize any other classes from that folder ie.. same package. However it recognizes files from other package.
It says expected package is "" so asks me to remove package statement.
My source folder : javasource
output folder : javasource/output
Can someone help me here? How do I get rid of all these errors? I dont want to change any package statements. I am missing something with eclipse build configuration.
Thanks in advance.
- vivian