Eclipse refuses to save JSP files in Dynamic Web Project [message #659069] |
Thu, 10 March 2011 21:17 |
No real name Messages: 1 Registered: March 2011 |
Junior Member |
|
|
I have a folder from a git repository in which we are storing our code
(eg. /workspace/gitFolder/). In this folder I'm trying to make a "dynamic web project" from the project wizard (eg. TestApp, in /workspace/gitFolder/TestApp).
The web project works fine, and I can deploy it to Tomcat 7 by going Run >> Run On Server, which is the goal of all this.
BUT! I cannot save the JSP files from within eclipse. I can create them, edit them, etc, and it lets me save, but when I close the file then reopen it, the file has reverted to before my edits. It doesn't give me an error or any notice; it just refuses to save the file.
I haven't committed this project to the git repo because it doesn't work yet, in case that matters. If I create the TestApp in the workspace and not in the git repo folder, everything works fine. If I create the TestApp in the workspace and then move it into the git repo folder, it doesn't work. If I edit the file in a text editor outside of Eclipse, the file saves normally and is deployed to Tomcat properly.
The only other relevant issue is that the git folder (eg workspace/gitFolder) has a pom.xml for a couple sub projects in that same folder.
What would prevent Eclipse from saving these jsps?
|
|
|
Powered by
FUDForum. Page generated in 0.02887 seconds