I am using eclipse Kepler
Google app engine 1.8.8
Maven 3.1
I wanted to start working on my first Google App Engine (GAE) project in Eclipse. As always, I wanted to stick to maven with its great dependency management and WAR deployment. Unfortunately,
I got this error message.
So my question why eclipse cannot find SDK? I dont want to add external sdk.
I would suggest to try out the following:
Go to your Eclipse Preferences -> Google -> App Engine. Make sure you are using the App Engine plugin SDK.
Go to Java Project -> Properties. In the Order and Export, make sure that the Eclipse app Engine SDK is higher than the one that your Maven repository is pointing too.
Check this out : How to run maven project on google app engine
Related
I am using the Google Plugin for Eclipse to deploy my project to App Engine, and this has worked great for over a year. But a couple of days ago it stopped working, and I can not seem to find the reason. The project is still an App Engine project, but the Deploy to App Engine button is disabled.
I already reinstalled the entire Google Plugin in Eclipse. I also added another GAE project, but then the button is still disabled. I managed to enable the button once to upload, but I don't know what triggered the enabling.
Has anyone seen this before and any clue on how to fix this?
EDIT: The button enabled when I removed and re-added the App Engine SDK from the build path of the project. After the deployment, the button disabled again..
This is a known bug in the latest 3.9.1 release. The fix will be pushed on Monday, 5/2.
The same thing is happening for my eclipse mars. The workaround I'm using is, File >> Close Project, then double click to open project, voila.
For those who don't want to wait (I didn't), use appcfg. If you want to use External Tools, you'll find the executable in (SDK install - check configured SDK's)/bin/appcfg.(sh|cmd)
Set the working dir to the project folder, the commands are "update war", where 'war' is the location of the war directory relative to the project folder.
I set JAVA_HOME under the environment tab to the Java SDK, and PATH to the Java SDK/bin directory, and "replace native environment with specified environment" on Windows, worked fine without Environment settings on Linux.
The "Deploy to App Engine" only disables itself when I select another project. So to get it enabled:
Deselect all projects (Ctrl+Click on the selected project - or restart Eclipse).
Select your project.
It should then be enabled (well, it was for me).
EDIT: Google rolled out a new version of the plugin, and now the button works fine.
Running Eclipse Neon 4.6.3 with no issue. To get it enabled:
Install Google Cloud SDK and Cloud Tools for Eclipse https://cloud.google.com/eclipse/docs/quickstart
Install components using the Google Cloud command line
gcloud components install app-engine-java
Convert eclipse project to a google app engine project
Right-click on project
Click on Configure
Click on Convert to standard app engine project
Make sure you click on the project and... voila!
For me simple restarting of the eclipse did the trick.
I had closed the project by mistake and when I re-opened it, the deploy button was disabled.
I have installed
Google Plugin for Eclipse 3.6
Google Web Toolkit SDK 2.4.0
in my Eclipse-Helios-3.6 but cannot find the google plugin icon in my toolbar and also I'm able to find Google in Windows>>Preferences.
Operating system-Ubuntu
Well since you are able to see google in windows preferences i am assuming that the installation did work. Have you tried creating a new GWT Project. The GWT button might not show if the project is wrong.
Do not use the pre-packaged Eclipse in Ubuntu (that version is often quite outdated). Get a current version from the Eclipse website instead and install it in a directory that you like (thereby avoiding problems with the Eclipse update mechanism, which doesn't fit the Linux directory guidelines very well).
I have just installed the Google App Engine Plugin for eclipse and want to create a new project. But i only get:
Why cannot I create a new project?
greetings and thx in advance
Plugin is not same as the SDK. Plugin just makes it easy to work with GWT projects.
The actual GWT compiler and libraries are present in the SDK which needs to be downloaded separately.
Once you download and extract the SDK, You have to configure its location in Eclipse's Preferences. Go to Window > Preferences > Google > Web Toolkit and add the SDK there.
I had the same problem.
If you do not want to use GWT just uncheck the "Use Google Web Toolkit" checkbox on that same dialog. You do not need this turned on in order to create a New Web Application Project.
I personally think it was confusing that the checkbox for GWT is turned on by default, even if you don't have one installed.
The SDK that you installed with your eclipse plugin should be sufficient.
I need to create a dynamic web project in Eclipse but the option doesn't appear anymore.
I installed Google Web Apps engine(JAVA) and its SDK along with GWT, ever since the option for dynamic project has disappeared.
Also the option to generate web client from WSDL files is no longer there.
I've tried re-installing the web app toolkit for eclipse but still it's not working.
Any pointers to get back these options would be great
Thanks
Maybe Eclipse WTP plugin has been accidently removed. Have you tried re-installing WTP using this location ? If I were you I would have reinstall Eclipse from strach or even better try Spring ToolSuite which integrates with Google Plugin for Eclipse seamlessly (usign Extenstions tab on STS Dashboard)
Currently I am using GWT 2.3.0 sdk and installed the google web toolkit plugin for eclipse.
I created a web application project with the plugin and want to use GWT-Ext.
Then, right click on the module (com.company.project) and choose "Google Web Toolkit" and choose "Configure for using GWT-Ext".
Then, a gwtext.jar is automatically generated in the project.
My question is, how can I verify the version of the automatic generated gwtext.jar and all the license issues with it?
As I got you, you want to check the gwt version.
So follow this step.
Right click on the project->Properties->Google->Web Tool Kit.
After selecting Web ToolKit you can see the version which is in used and you can also configure the another version by clicking on the configure version.
Hope this will help you.