- This topic has 1 reply, 2 voices, and was last updated 13 years, 1 month ago by support-swapna.
-
AuthorPosts
-
Clayton E. CramerMemberI 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 ProblemI 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.
support-swapnaModeratorclaytoncramer ,
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.
-
AuthorPosts