facebook

Dependent Project can not see supporting project

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #286021 Reply

    Russ
    Member

    I hope I can explain this well enough for someone to follow and understand my issue.

    I have created an enterprise application with a EJB and Web component. It all works and builds on my desktop. I’ve checked in my code to Subversion to include .project files. Next, my junior developer has checked out the projects and imported the enterprise application into the workspace.

    The Web Project has a dependency on the EJB Project. This is set in the Properties>Java Build Path>Projects. I see this but the Web project can not see files from the EJB project. Also the EJB Project is having problems with some of the basic Java classes like Serializable and enum. I have swtiched to JDK 1.6. I have undated the JDK in the Windows>Preferences>Java>Installed JRE window. I’ve started MYEclipse with JDK 1.6. When I try to fix my issue by going to Source>Organize Imports I see the following:

    src.com.mycompany.project.domain.server.Class Name

    The src directory should not be part of the package name.

    Can someone give me a few hints to clear this issue up?

    Thanks for taking the time to read my post!

    Russ

    #286026 Reply

    Russ
    Member

    I have pulled down the latest version of MyEclipse (6.5). I’ve tried viewing the projects in the same workspace created for MyEclipse 6.0.1. The error is still there!

    #286040 Reply

    Loyal Water
    Member

    Also the EJB Project is having problems with some of the basic Java classes like Serializable and enum. I have swtiched to JDK 1.6. I have undated the JDK in the Windows>Preferences>Java>Installed JRE window.

    Can you go to Project > Properties > Java Compiler and make sure the JDK compliance level is set to 6.0.

    Can you create a sample project that would help me reproduce this issue and “pm” it to me.

    #286086 Reply

    Russ
    Member

    I fixed my problem on Friday! For the good of the group, this is how I did it.

    I created a new Enterprise project with a new EJB and Web project. Next, I copied over the directories one by one. I DID NOT copy over the .mymetadata and .project files. Once I did this, all my errors were gone. I seems someone, maybe myself, checked the .project and .mymetadata files into subversion and that corrupted the project files that are required by ME because not all developers had the same project setup.

    Russ

    #286099 Reply

    Loyal Water
    Member

    Glad you got it fixed. Thanks for letting me know.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Dependent Project can not see supporting project

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in