Skip to main content

Error while installing GWT plugin in eclipse

What type of errors we will get by installing GWT plugin in eclipse as well as what is new in GWT? will see in this page. If you are new to GWT better first read GWT, then you will easily understand what I am explaining here.

I was already explained in GWT page, how to install gwt plugin and create sample application and running the same application in development mode. 

Previously I am using gwt-2.4 in my system with JDK-1.6 and eclipse-juno-4.2 in windows-xp. Now, I got changed my system OS to Windows-8.1. I have installed JDK-1.6 as per my project requirement and I followed the same steps as previously I have installed GWT-plugin. The plugin was installed, but in eclipse GWT symbol is not displaying. I was tried with different eclipses, but there was no Luck.

Finally I have uninstalled JDK 1.6 and again I installed JDK-1.7. After that I have tried again installing GWT-plugin in new eclipse. Now, I got the GWT symbol in my eclipse after that I realized that was installed 2.6. I have created one sample application and I ran as web application. I tried to run the same url which will generate GWT in mozilla, IE browser. But, that browser plugin I am not able to install. Because, In my new system I am using Firefox-36 version.

In mozilla-firefox-27 version on-wards gwt-plugin support they were removed. If you are using below GWT-2.6, you must install GWT-browser plugin also. But, I was installed GWT-2.6, that has the special features compare to previous versions of GWT. Now, you got the doubt what is the special feature in GWT-2.6. Yes, its really a special feature compare to previous. That is, no need of installing any browser plugin to run your application in development mode.

There is an option to run your application is "Run as --> Web Application (GWT Super Dev Mode)". If you used this option to run your application, you no need of installing any plugin's in any browsers. Also, you will be able run your application in any of the major higher version browsers. 

But, there is a disadvantage of using this. That is, when you will try to run your application in browser it will take some time to compiling. You should wait until completing the compilation of your application. This was previously not there.

As per this process I understand the version compatibility in GWT. If your using Windows-8-64-bit. Better to install the below software's.
  • JDK-7-64bit
  • Eclipse-<version>-64bit or (x86)
How to upgrade GWT version in real time project for all modules? 
In my project I have tried to upgrade GWT-2.4.0 to GWT-2.6.0 version. While doing this, I have faced lot many problems with dependent jars and environment.

JDK Environment: To achieve GWT-2.6.0 or higher version you should installed JDK-7 or higher version, below version JDK is not compatible with GWT-2.6.0.   

Sencha GXT: If you are using com.sencha.gxt in your modules in project, for GWT-2.6.0, GXT-3.1.0 or higher version only compatible. If you are using com.extjs.gxt in you project, gxt-2.3.1a-gwt22 is compatible for GWT-2.6.0.

GWT Upload: If you have used any type of GWT Upload jar previously in your project, it is better to upgrade GWTUpload.jar

GWT-SDK missing:

If you installed GWT through install new software in eclipse, GWT-SDK will be taken from plugin by default. In case again your getting the problem like, GWT-SDK is missing in your eclipse console. Better to download GWT SDK externally and place the path in eclipse windows --> preferences --> Google --> Web Toolkit --> Click on Add --> browse the path of SDK --> ok.

If your facing any technical issues in gwt or anything is wrong in this post, please send me an email to admin@javatbrains.com or write a comment on the same post.

Thanks for referring javatbrains.com.

Comments

Popular posts from this blog

Multithreading in java with example

Multithreading  is one of the most important concept in core java. In this article we will learn what is multithreading? , what is the use of it? and What is the use of Synchronization and when to use it?  with detailed examples. At a time, two or more threads are accessing the same object is called as Multithreading  in Java .  First, we will create two threads for two objects. It is also possible to run two or more threads on a single class object. In this case, there is a possibility to get unreliable results. If the two threads are perform same task, then they need same object to be executed each time. For your better understanding, take an example of any reservations like, railway, movie ticket booking,etc. Let us think only one berth is available in a train and two passengers are asking for that berth. The first person has sent a request to allocate that ticket/berth to him. At the same time, the second person also sent a request to allocate that ...

JNDI configuration for Tomcat 9 with Oracle

In this article, I am going to place the required source code to get data from the table by using the JNDI configuration. Below are the environment details that I have configured currently. Windows - 7 Oracle - 10g Tomcat - 9 JDK - 8 Eclipse Oxygen Ojdbc6 jar required First, we need to create the Dynamic Web Project. If you don't know how to do <Click Here>. I have faced a lot of issues before getting the output like 405, No driver class to load, etc. I am using JSP & Servlets in the current explanation. Before started writing the application logic, we need to do the below configuration in the installed tomcat directory. Place OJDBC6.jar in the Tomcat LIB directory. Add this Resource under <GlobalNamingResources> in Server.xml file which is present under the conf directory in Tomcat. < Resource name = "jdbc/myoracle" global= "jdbc/myoracle" auth = "Container" type= "javax.sql.DataSource" driverClass...

Git installation for AngularJS 2 in Windows 10

Download Git latest version from https://git-scm.com/downloads or you click on the below link to download directly for windows https://git-scm.com/download/win . Once download completes, click on executable file to start installation process and choose Yes to allow the software installation in windows 10. Click on Next button to continue further installation. Browse the isntallation directory and click on Next button to continue. Select the list of components which you want to be installed and click on Next button to proced further installation. Type the shortcut name for Start menu and click on Next button. Select how you want to use the Git and click on Next button. For Windows no need to change anything, let it be the default one. Choose the Use the OpenSSL library and click on Next button. Select how should Git treat line ending in text files and click on Next button. Select which terminal emulator to use with Git and click on Next button. Configure extr...