facebook

"project was not built since its build path is incomple

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #320935 Reply

    I am using MyEclipse 9.1. I have an existing project that builds and runs–but for various bad reasons, it is located on a branch in Subversion, and it really needs to be on the trunk. So I copied the project to a different repository, where it can be the trunk. (No, we can’t safely override the trunk associated with the branch where the existing project is located.)

    So, I copied the project to a different repository, created a new workspace, and imported from the trunk to the new workspace. It will not build. There are two error messages:

    Description Path Resource Location Type
    The project was not built since its build path is incomplete. Cannot find the class file for javax.servlet.http.HttpServletResponse. Fix the build path then try building this project MyEclipse 9exp Unknown Java Problem
    The type javax.servlet.http.HttpServletResponse cannot be resolved. It is indirectly referenced from required .class files /MyEclipse 9exp/src/otrack/util ReportUtil.java line 1 Java Problem

    I can see one obvious difference between the project that builds and the one that does not: In Window -> Preferences -> MyEclipse -> Project Capabilities, Hibernate is missing in the project that does not build, and is the Tomcat entry under Servers.

    I suspect that these are part of the problem, but I am unclear on what I have to do make these appear. I am running the same version of MyEclipse, with all the same installed features, for both workspaces. Yet in one of them, Hibernate and the Tomcat server is not visible, but in the other it is.

    UPDATE: I have Hibernate and the Tomcat server enabled. Still can’t figure out why it isn’t building.

    #320949 Reply

    support-swapna
    Moderator

    claytoncramer ,

    Sorry that you are seeing this issue with MyEclipse.

    It looks like you are missing the J2EE libraries. Go to your Build Path > Libraries > Add Library, select the J2EE version library set and hit Finish. You can add Hibernate libraries too in the same way.

    Let us know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: "project was not built since its build path is incomple

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