Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » (MAC) Problem in Eclipse with GWT plugin on debugging
(MAC) Problem in Eclipse with GWT plugin on debugging [message #631173] Wed, 06 October 2010 09:09 Go to next message
kostas  is currently offline kostas
Messages: 5
Registered: October 2010
Junior Member
Hello i am new to Eclipse IDE.

I have MAC OS and I have downloaded the latest eclipse version for JAVA developers.

I want to use eclipse as an IDE support for GWT(Google Web Toolkit). I followed the instructions from google to install it's plugin.

The plugin i installed is:
Eclipse 3.6 (Helios)
http://dl.google.com/eclipse/plugin/3.6

I completed the installation successfully. So i jump in creating my first web application using the gwt framework.

I go to
FIle>New>New Web Application Project
Then i name my project and click to enable the Google SDK's (The Google Web Toolkit and the Google App Engine).

It creates all the files automatically then to deploy my web application i left click to my project Debug As>Web Application and then comes the build error:

'Launching MyWebApp' has encountered a problem:
An internal error occurred during: "Launching MyWebApp".
java.lang.NoClassDefFoundError
.

Any solutions please? Thanks in advance.

[Updated on: Wed, 06 October 2010 09:12]

Report message to a moderator

Re: (MAC) Problem in Eclipse with GWT plugin on debugging [message #631239 is a reply to message #631173] Wed, 06 October 2010 12:10 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 2859
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2010.10.06 7:09, kostas wrote:
> Hello i am new to Eclipse IDE.
>
> I have MAC OS and I have downloaded the latest eclipse version for JAVA
> developers.
>
> I want to use eclipse as an IDE support for GWT(Google Web Toolkit). I
> followed the instructions from google to install it's plugin.
>
> The plugin i installed is:
> Eclipse 3.6 (Helios)
> http://dl.google.com/eclipse/plugin/3.6
>
> I completed the installation successfully. So i jump in creating my
> first web application using the gwt framework.
>
> I go to FIle>New>New Web Application Project
> Then i name my project and click to enable the Google SDK's (The Google
> Web Toolkit and the Google App Engine).
>
> It creates all the files automatically then to deploy my web application
> i left click to my project Debug As>Web Application and then comes the
> build error:
>
> 'Launching MyWebApp' has encountered a problem:
> An internal error occurred during: "Launching MyWebApp2".
> java.lang.NoClassDefFoundError.
>
> Any solutions please? Thanks in advance.

Why not try a tutorial to guide you through? Lars Vogel's are really good:

http://www.vogella.de/google.html
Re: (MAC) Problem in Eclipse with GWT plugin on debugging [message #631307 is a reply to message #631239] Wed, 06 October 2010 19:05 Go to previous messageGo to next message
kostas  is currently offline kostas
Messages: 5
Registered: October 2010
Junior Member
Thanks for the tutorial, it is really good and useful. However the tutorial cannot solve an eclipse or GWT bug such as the reported. I followed the official google tutorial with precision and unfortunately it resulted to errors.

1)An error has occurred. See error log for more details.
java.lang.NullPointerException

2)An internal error occurred during: "Launching HelloWorld".
java.lang.NoClassDefFoundError


Any further assistance please?

http://dl.dropbox.com/u/1035468/Picture%202.png

[Updated on: Wed, 06 October 2010 19:10]

Report message to a moderator

Re: (MAC) Problem in Eclipse with GWT plugin on debugging [message #634508 is a reply to message #631173] Thu, 21 October 2010 23:11 Go to previous messageGo to next message
JerryGx Missing name is currently offline JerryGx Missing name
Messages: 1
Registered: October 2010
Junior Member
Same problem on a 32-bit CPU Leopard..
Re: (MAC) Problem in Eclipse with GWT plugin on debugging [message #634582 is a reply to message #634508] Fri, 22 October 2010 06:22 Go to previous message
kostas  is currently offline kostas
Messages: 5
Registered: October 2010
Junior Member
I found the solution to another post of java forums

To solve the issue:

1. Decompress the com.ibm.icu_4.0.1.v20090822.jar file in the eclipse/plugins folder to any directory you like
If you cannot find the exact version, just decompress the IBM ICU JAR that's shipped with your version of Eclipse

2. In that directory, open the file com/ibm/icu/ICUConfig.properties
3. Replace

com.ibm.icu.util.TimeZone.DefaultTimeZoneType = JDK
with
com.ibm.icu.util.TimeZone.DefaultTimeZoneType = ICU

4. Recompress the com.ibm.icu_4.0.1.v20090822.jar file in the eclipse/plugins folder with the modified file

Make sure Eclipse is started with a clean cache, and it should work. The easiest way of cleaning the Eclipse cache is to remove the .plugins folder of your workspace.
Previous Topic:Folder of projects
Next Topic:ShellEd install?
Goto Forum:
  


Current Time: Tue Oct 08 07:52:54 EDT 2013

Powered by FUDForum. Page generated in 0.01729 seconds