Eclipse imports these java projects incorrectly (main, site, test paradigm)

78 Views Asked by At

I encounter a few projects that have a set of folders in the src directory: main, site and test. A few levels under main eventually I encounter the com.x.x. package, all the files have package names that start with the com folder, not the main folder.

So when the project is imported into eclipse, whether as "existing project" or with "maven" , the result is that all the files in the project have errors because they can't find references to the other files in the package.

I'm wondering if this is a file structure paradigm that I just need to be aware of and import a certain way, or if I just need to restructure the projects

insight appreciated

0

There are 0 best solutions below