Eclipse - Can not create a web application project - java

I have installed a new version of Eclipse Kepler and have installed the Google Plugin from "http://dl.google.com/eclipse/plugin/4.3" using "Help/Install new software". However, the "g" button to allow the creation of a web application is not in the menu bar. Also when I go to "File>New" the option "Web Application Project" does not appear (I have checked under "Other". What else do I need to install please?
I have used this reference "http://www.gwtproject.org/usingeclipse.html#installing".

I resolved this by installing Eclipse-JEE. It recognised the Eclipse I had already installed, and spent a lot of time on configuring, and configured its self for me. I was very re-leaved as I expected to spend hours re-doing all the work. So if you have a similar issue do not hesitate to install Eclipse-JEE (do not remove the old Eclipse first).
Regards,
Glyn

You need the GWT SDK as well, but that is usually installed with the plugin. Unless you deselected SDK during the installation. What do you see when you go to Window>Preference>Google>Web Toolkit? Any entries there? If not you can use the Add... button to install SDKs.

Related

Java Enterprise doesn't appear in IntelliJ

I have problem about importing Java EE glassfish server to my IntelliJ.
I have searched nothing on the web.
When I want to create a new glassfish project, I don't have option for it.
I can't add image cause I don't have reputation for it. I add direct link to image below text.
Screenshots:
It appears you have a community version of IntelliJ. Tools to support enterprise frameworks, like JavaEE or Grails, are only available in paid version. If need a free JavaEE IDE, I recommend Netbeans,which is similar to IntelliJ but free, or Eclipse, which is also great, but more different
If you have the Ultimate version, the accepted answer provides no value.
To enable these project templates to show up you have to enable the Java EE: EJB, JPA, Servlets plugin
This is bundled with IntelliJ but chances are when you first installed it, this was not selected as one of the resources you wanted, or it was deselected for not knowing what it does.
All you have to do is go to your plugins, click on the 'Installed Tab' and re-enable it. IntelliJ will prompt you to restart

How to run old STS 2.8.0 GWT SDK project in new STS 3.7.2?

I unfortunately happened to have to fix an old project written by somebody else long ago. All they left were brief instructions regarding what IDE did they use and what configurations to select to compile.
I have the old STS version they used and the project can be launched in it. The problem is that the IDE is incredibly laggy and erroneous. It randomly crashes on memory exceptions, needs me to clean and rebuild often as it messes up builds, randomly not compiles java classes and so on. I want to try whether they improved at least some of that over the years.
I downloaded the new STS. I backed up my workspace, fortunately, because of course new STS also messes up things as I quickly learned. This is the menu I used to launch the project from old STS:
New STS deleted the items:
The IDE instructions for the project state that the the GWT should added using Window -> Preferences -> Google -> Web Toolkit. You guessed it, it's not there:
How to run GWT project in new STS IDE?
It looks like someone installed the GWT plugin for Eclipse into the old STS installation and you don't have that yet in the new STS installation. I would recommend to take a look at: https://developers.google.com/eclipse/ to get instructions on that extension of Eclipse.
I am sure there is also an item on the STS Dashboard Extension install to easily grab the Google Plugin and install it into your STS version.
Aside of that I would be interested in hearing more details about what exactly the latest STS version is messing up. Please let us know the details behind your projects so that we are able to fix them for the next version. A simple "of course new STS also messes up things as I quickly learned" doesn't help much. Would appreciate more details and reports about that doesn't work as expected.

Eclipse 4.2.1 Error installing Google plug in 4.2

i am new to the eclipse and i am trying to install the google plug in for eclipse and i get the following :
Cannot complete the install because one or more required items could not be found.
Software being installed: Google Plugin for Eclipse 4.2 3.2.0.v201302131858-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.2.0.v201302131858-rel-r42)
Missing requirement: Google Plugin for Eclipse 4.2 3.2.0.v201302131858-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.2.0.v201302131858-rel-r42) requires 'org.eclipse.wst.css.core 0.0.0' but it could not be found
Use Eclipse Java EE, not Eclipse SDK..
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junosr2
Taken from this page http://www.shekhargovindarajan.com/tips-n-tricks/solved-requires-bundle-org-eclipse-wst-xml-core-error-while-installing-google-plugin-in-fedora-eclipse/
Launch Eclipse. Click on Help>Install New Software. On the subsequent window titled “Available Software”, click on blue link ‘Available Software Sites’. Look for the URL http://download.eclipse.org/releases/galileo in the list of Software Sites. Select and click on Enable (button on the right). Click on OK.
Back on the “Available Software” window, type the URL http://dl.google.com/eclipse/plugin/3.5 in the field labeled “Work with:” . Click on Add. This will show Plugin and SDKs in the bottom pane. Check the boxes against them and click on Next. Follow the onscreen instructions. This will install the Google plugin and SDK. When prompted, restart Eclipse.
You may obviously need to update the links to be 4.2 instead of 3.5 and juno instead of galileo.
As Kevin Fritz said, use preferably the Eclipse Java EE package. If you don't want to install Eclipse from scratch, you can also install the needed plugins from the Juno update site or the WTP update site. Install the WTP packages. Just ask if you don't know how to proceed.

Eclipse is saying "Update Android Developer Toolkit"

I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows:
In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version."
Going to Help > Check for Updates in Eclipse, returns no updates found
Going to Help > Install new software and selecting work with ADT Plugin - https://dl-ssl.google.com/android/eclipse/. Selecting Developer Tools and next, returns
Cannot complete the request. See the error log for details.
"Android DDMS" will be ignored because it is already installed.
"Android Development Tools" will be ignored because it is already installed.
"Android Hierarchy Viewer" will be ignored because it is already installed.
"Android Traceview" will be ignored because it is already installed.
"Tracer for OpenGL ES" will be ignored because it is already installed.
If I then take a look at what is already install, Android Development Tools is listed and the version is 20.0.0.v201206242043-391819
Now for the interesting part:
If I go to Help > About > Installation Details > Features is lists Android Development Toolkit as Version: 20.0.0.v201206242043-391819 but if I then go into Plug-ins it lists Android Development Toolkit as Version: 18.0.0...
Sorry for yet another question on updating the ADT as there already seem to be quite a lot of questions on the topic but I've tried the typically solutions and they does seem to be getting me very far
Some extra info, that people often ask for
OS: Ubuntu 12.04 LTS
Eclipse Platform: Version 3.7.2
In your installed folder of eclipse there is a folder named plugins.
Do the following:
Find the plugin file/folder of Andriod SDK and move it to some other folder for backup.
Download from Android site the latest version of Android SDK
Copy/paste it in your plugins folder
Restart eclipse
And everything should be fine.
Try using http://dl-ssl.google.com/android/eclipse/ instead of https://dl-ssl.google.com/android/eclipse/
In the end, I just couldn't fix it so I complete uninstalled it and set it back up again from scratch, thanks for your help
Run software updates in Eclipse (Help > Check for Updates) and update the ADT.
I know I'm late to the game on this one, but I figured I would contribute since I ran into the same problem myself. In order to check for installed plugins in Eclipse, do the following.
From the Eclipse Preferences Menu..
-Select "Install/Update"
-From the General Menu, There should be a link button that says "Uninstall or Update"
This should take you to a prompt that will allow you to uninstall anything you've added onto your Eclipse setup!
Go to the below site
https://developer.android.com/sdk/installing/installing-adt.html
and download ADT-22.3.0.zip from the site.
then follow the procedures mentioned there..
uncheck "Contact all update sites during install to find required software"
see: Can not install Android ADT 21.1 on eclipse Juno (Windows 7) after upadate to SDK 21.1
After updating the Android SDK Tools to the latest version from the SDK manager, do the following:
Go to Eclipse->Help->Install new software
Type https://dl-ssl.google.com/android/eclipse/ in the "Work with" Text box
From the list, select all and then click next
Now Eclipse will prompt you that in order to install these new software, Eclipse will uninstall the old version (in this case Android Developer Tools), click on next, read and accept the license and wait for it to download
Restart Eclipse and everything should be working fine.

How to install Web Platform Tools in Eclipse?

Which URL do I install this and any pre-reqs from, and how can I install them? Been struggling with this for the last 1 hour with no luck.
new 2013 answer: it seems to depend on what version of eclipse you're running.
click "help" -> "about eclipse sdk" to find the version (e.g. 4.2.2).
optionally, from the version number you can know the codename (e.g. Juno) from wikipedia: http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases
go here: http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
right click on the correct WTP link copy the link address (e.g. WTP 3.4) (they should be listed by version and codename)
now in eclipse, click "help" -> "install new software..." and paste the link location in the "work with" field (e.g. "http://download.eclipse.org/webtools/repository/juno/").
choose "Web Tools Platform (WTP #.#.#)" and click next and install everything.
restart eclipse, close all open files and re-open them for web tools to start working.
If you can use a clean install of Eclipse. Download Enterprise Java version. WTP its included in this Eclipse distribution. When you need updates for WTP, you can get updates via "Eclipse Software Updates" tool.
Regards
You can download WTP from Eclipse Help Menu. Following is the link to download the WTP into Eclipse.
http://download.eclipse.org/webtools/updates
Install Software Menu in Eclipse
Following image show the Install New Software Window.
Install New Software window
I try my best to stick to Pulse, which handles a lot of the configuration of Eclipse plugins for you. I'm not associated with them by the way, but am very happy with the service. WTP is one of the features they provide.

Categories

Resources