1

I imported a Java project into Eclipse workspace and the structure of the project folders broke. Attached the screenshot of the situation. How to safely import a project with out breaking the structure of the project.

The second image shows how the project looks on a file system. Won't eclipse displays the hierarchy in the similar fashion visually in the left pane.

enter image description here

enter image description here

user64287
  • 53
  • 1
  • 8
  • 1
    Explain what you think is "broken" about the "structure." I see compilation errors, but those aren't related to any folder structure. Also, what version and package of Eclipse are you using? – E-Riz Jun 24 '16 at 13:38
  • Am using Eclipse Luna version. In the left pane, the folder structures are not organized properly. My question is not about the errors or warnings, sorry for not framing the question properly with additional details. – user64287 Jun 24 '16 at 13:57
  • 1
    To echo the first comment, explain what you think is wrong with it. This is how a conventional Java project should look. – David M. Karr Jun 24 '16 at 14:03
  • 1
    Note that the source being in 'src/main/java' and the presence of a 'pom.xml' means this is a Maven project which is structured differently to a plain Java project. – greg-449 Jun 24 '16 at 14:10

0 Answers0