Community
Participate
Working Groups
I have the following problem working on a large j2ee project with the following project layout -- several EJB's reside in the same java package -- metainformation (ejb-jar.xml, ...) is kept in subfolders with the EJB's name using the Exclusion filter, i filter out the subfolders with the metainformation, they correctly don't show up in the package explorer, but the compiler still emits the error XY resolves to a package. Unfortunately, we are not able to move to another project layout. Using Eclipse 2.1.1 Build id: 200305071103 on Windows NT 4 with JDK 1.3.1 from Sun
Can you provide a simple testcase ?
Created attachment 4858 [details] Simple Testcase to show the behaviour Simple Testproject to show the behaviour including .classpath and .project if additional information is needed, please let me know
The problem was the source folder is also the output folder and while looking for packages, we did not check with the exclusion patterns. As a workaround for now, try putting your .class files in a separate bin folder.
Verified.