VIPER
VIPER

Reputation: 31

Eclipse Java Web app generating following error - "Generating the api metadata for your cloud endpoints classes"

When I try to create a new web app, eclipse automatically gives the error below:

"There was a problem generating the API metadata for your Cloud Endpoints classes: unknown protocol: c"

I searched on many places but I couldn't find an effective solution.

I changed the SDK version 3 times. I tried 1.9.17 - 1.9.15 - 1.9.13 - 1.9.3 but always results in the same error.

Upvotes: 1

Views: 921

Answers (3)

Seppe
Seppe

Reputation: 1

Make sure that the path of the project workspace, eclipse install folder and Google App Engine folder does not contain any spaces.

I think the "c" at the end of the error refers to the Windows "C"-drive.

Upvotes: 0

user3090074
user3090074

Reputation: 101

I had the same problem becouse It was an error in my *.gwt.xml. There was a wrong path in

<set-configuration-property name="gin.ginjector"
       value="com.gwtplatform.samples.basic.client.MyGinjector" />

My MyGinjector has another location. When it was fixed, all was good.

Upvotes: 0

tomrozb
tomrozb

Reputation: 26251

Solution is here

  • Right click on the project
  • Properties-->Builders
  • Uncheck the Google App Engine Project Validator.
  • Then clean the project.
  • Then check the Google App Engine Project Validator again.
  • Then left click the project,
  • Go to Project-->Build Project.

If it still doesn't work for you try with old versions of App Engine like 1.9.3 and older.

Upvotes: 2

Related Questions