Eclipse: "SDK / myproject / war directory" does not exist "

Earlier my Eclipse started acting weird. When I change the SDK of my App Engine of my project in properties -> Google -> App Engine and click "OK", a dialog box appears that says:

'Update / myproject / war / WEB-INF / lib with banks from /home/dominik/.eclipse/org.eclipse.platform_3.7.0_1543616141/plugins/com.google.appengine.eclipse.sdkbundle_1.5.2.r37v201107211953/appengine- java-sdk-1.5.2 - 1.5.2 'has encountered a problem.

SDK directory '/ myproject / war' does not exist

If I click Details >> it says:

SDK directory '/ myproject / war' does not exist

There are no errors in stdout. I don't know why eclipse is looking for /myproject/war . It should be /home/dominik/workspace/myproject/war . In properties -> Resource, I have:

Path: / myproject

Type: Project

Location: / home / dominik / workspace / myproject

Removing the .eclipse folder and reinstalling the plugin did not help. The log ( workspace/.metadata/.log ) has the following lines:

! ENTRY com.google.appengine.eclipse.core 4 0 2011-08-06 18: 59: 33.999

MESSAGE The SDK directory '/ myproject / war' does not exist

I sent a more detailed stack trace to the App Engine issue tracker: http://code.google.com/p/googleappengine/issues/detail?id=5518

In a Google search, one thread was found with the same problem, but there is no solution: http://forum.springsource.org/showthread.php?91089-Spring-3.0.2-JPA-2.0-Hibernate-3.5.0

+4
source share
2 answers

I still do not know what caused the problem, but created a new project and manually moved all the project files to a new folder, solving it.

+2
source

Somewhat easier to solve the same problem; delete the project inside Eclipse and re-import it.

-2
source

All Articles