N/APosted on - 06/07/2012
It was just yesterday when I wanted to deploy a new application to the Google App Engine.
I have done this many times, but I was somewhat surprised that the deployment failed with the following message:
“Deploying app_id to Google has encountered a problem 401 unauthorized Must authenticate first”.
Please help me solve this.
Any help is much appreciated.
Google App Engine failed me this time
If you wish to install the application in the default servlet container beyond the GAE, you can prefer to use the com.vaadin.terminal.gwt.server.ApplicationServlet as an alternative to com.vaadin.terminal.gwt.server.GAEApplicationsServlet.
Just remember that there is an issue with the newest GAE plugin which stops this from working. If you receive an error such as, The App Engine SDK 'C: <workspace path><project name>war' on the project's build path is not valid, do the following steps to correct it:
Launch the Preferences> Google> App Engine> Choose the SDK version
Launch the Preferences> Java Build Path> Export Order. And then modify the Export Order to put the App Engine SDK on top of the Web App Libraries classpath container.
Set the GAE to Enable.
Under the Project Preferences, tick the Use Google App Engine check box on Google/App Engine.
Click My Applications…
Log in using your Google App Engine username and password.
Make a new web application under the My Applications.
Insert the created application ID to your project configuration under Eclipse.
Code and then set up your application.
Right-click on Project option to open the App Engine list and then choose the Google/Deploy or just click the Deploy to App Engine icon under the toolbar menu.
Launch the application in http://yourapplicationid.appspot.com