Exception whit the GWT 2.7

1,167 views
Skip to first unread message

Noël MAURICE

unread,
Mar 1, 2015, 5:36:09 PM3/1/15
to google-we...@googlegroups.com
Hello,

I work with Eclipse Luna and I installed the GWT plugin.

When I want use the GWT Designer with the GWT SDK 2.5.1, it's fine.

Now, I want use the GWT Designer with the GWT SDK 2.6 or 2.7 and I can't. When I launch the designer, the following exception :

Internal Error

 encountered unexpected
internal error.

This could be caused by a bug or by a misconfiguration issue, conflict, partial update, etc.

java
.lang.NoSuchMethodError: com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(Lcom/google/gwt/core/ext/TreeLogger;Ljava/lang/String;Z)Lcom/google/gwt/dev/cfg/ModuleDef;
Show stack trace.

 

Stack trace:java.lang.NoSuchMethodError: com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(Lcom/google/gwt/core/ext/TreeLogger;Ljava/lang/String;Z)Lcom/google/gwt/dev/cfg/ModuleDef;
 at com
.google.gwt.dev.shell.designtime.HostedModeSupportImpl.loadModule(HostedModeSupportImpl.java:85)



I'm seeking for some days but I still can't use the 2.7.0 SDK version.

Can you explain me why ?

Thanks.

See you soon.


Jens

unread,
Mar 1, 2015, 6:06:03 PM3/1/15
to google-we...@googlegroups.com
The update site is outdated, you can download GWT 2.7 from gwtproject.org and manually add it to Eclipse through Eclipse Settings -> Google.

GWT Designer is not maintained by the GWT team at Google and currently GWT Designer does not work with newer GWT versions. From a GWT point of view GWT Designer is no longer supported which is also mentioned in the release notes http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1

-- J.

Thomas Broyer

unread,
Mar 1, 2015, 6:07:22 PM3/1/15
to google-we...@googlegroups.com
See http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_1 and http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1
In other words: GWT Designer doesn't support 2.6.0 (workaround in 2.6.1), and is now deprecated and won't work with 2.7 either.

Meryem Alay

unread,
Mar 2, 2015, 10:22:57 AM3/2/15
to google-we...@googlegroups.com
Why doesn't you supoort GWT designer anymore?

2 Mart 2015 Pazartesi 01:07:22 UTC+2 tarihinde Thomas Broyer yazdı:

Thomas Broyer

unread,
Mar 2, 2015, 10:48:05 AM3/2/15
to google-we...@googlegroups.com


On Monday, March 2, 2015 at 4:22:57 PM UTC+1, Meryem Alay wrote:
Why doesn't you supoort GWT designer anymore?

You're asking the wrong people actually.
GWT Designer is (was?) a Google product, maintained by Google (after they bought Instantiations), with a stripped-down version shipped with the Google Plugin for Eclipse. It's Google all the way down, and maintained by a different team inside Google than the one building GWT.
There was a need to change some internal API of GWT, and it happens that GWT Designer calls that API (hence the error); and nobody is actually actively maintaining GWT Designer. In 2.6.0, another change broke GWT Designer already, and we reintroduced the legacy code in 2.6.1 hoping GWT Designer would be fixed. It didn't happen (as far as I know). Because the GWT Team wants to move forward, even if that means breaking GWT Designer, we thought we had to mention the breaking change in GWT's release notes, but the reality is that the team behind GWT Designer don't actively maintain it anymore, and that team is not affiliated with GWT (besides many developers working in the same company).

BTW, if you're looking for GWT Designer's source code, it's there: https://code.google.com/p/gwt-designer/

Mister Nono

unread,
Mar 3, 2015, 11:42:55 AM3/3/15
to google-we...@googlegroups.com
It's a pity for the designer.

See you soon. ;)

Marcin Kurzawa

unread,
May 6, 2015, 2:20:54 PM5/6/15
to google-we...@googlegroups.com
What is the preferred way to graphically design GWT gui (developing in eclipse) when GWT Designer is phased out? Does that mean we'll have to do all that tedious work all manually typing out the code for gui layouts?

Vassilis Virvilis

unread,
May 6, 2015, 2:24:23 PM5/6/15
to google-we...@googlegroups.com
uibinder is pretty nice. You right XML that is mapped automatically to HTML+GWT code

I never trusted GUI editors anyway... Even the best (qt-designer) has weird corners or at least it had 10 years ago...

     Vassilis

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--
Vassilis Virvilis

Marcin Kurzawa

unread,
May 6, 2015, 4:11:18 PM5/6/15
to google-we...@googlegroups.com
Excuse me for being totally ticked off. There has got to be a better way. For example, developing for Android, we get a nice visual layout building tool for eclipse, and we don't for web applications? I couldn't even imagine handing all the gui layouts manually in xml, it would be a nightmare. I think this is moving backwards and a significant setback!

Marcin

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/SRCpvbmkmTA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.

Thomas Broyer

unread,
May 6, 2015, 5:10:12 PM5/6/15
to google-we...@googlegroups.com, mkur...@gmail.com


On Wednesday, May 6, 2015 at 8:20:54 PM UTC+2, Marcin Kurzawa wrote:
What is the preferred way to graphically design GWT gui (developing in eclipse) when GWT Designer is phased out? Does that mean we'll have to do all that tedious work all manually typing out the code for gui layouts?


This is what 94% of GWT users do (among those who answered the latest GWT Survey): https://vaadin.com/gwt/report-2015

Chad Vincent

unread,
May 7, 2015, 10:15:33 AM5/7/15
to google-we...@googlegroups.com
My understanding is that the Eclipse Android GUI tool is likewise discontinued/deprecated.  If you want Android GUI tools that will continue to be officially supported, you have to move to IntelliJ/Android Studio or code the GUI manually.


On Wednesday, May 6, 2015 at 3:11:18 PM UTC-5, Marcin Kurzawa wrote:
Excuse me for being totally ticked off. There has got to be a better way. For example, developing for Android, we get a nice visual layout building tool for eclipse, and we don't for web applications? I couldn't even imagine handing all the gui layouts manually in xml, it would be a nightmare. I think this is moving backwards and a significant setback!

Marcin
On Wed, May 6, 2015 at 2:23 PM, Vassilis Virvilis <vas...@gmail.com> wrote:
uibinder is pretty nice. You right XML that is mapped automatically to HTML+GWT code

I never trusted GUI editors anyway... Even the best (qt-designer) has weird corners or at least it had 10 years ago...

     Vassilis
On Wed, May 6, 2015 at 7:56 PM, Marcin Kurzawa <mkur...@gmail.com> wrote:
What is the preferred way to graphically design GWT gui (developing in eclipse) when GWT Designer is phased out? Does that mean we'll have to do all that tedious work all manually typing out the code for gui layouts?



On Monday, March 2, 2015 at 10:48:05 AM UTC-5, Thomas Broyer wrote:


On Monday, March 2, 2015 at 4:22:57 PM UTC+1, Meryem Alay wrote:
Why doesn't you supoort GWT designer anymore?

You're asking the wrong people actually.
GWT Designer is (was?) a Google product, maintained by Google (after they bought Instantiations), with a stripped-down version shipped with the Google Plugin for Eclipse. It's Google all the way down, and maintained by a different team inside Google than the one building GWT.
There was a need to change some internal API of GWT, and it happens that GWT Designer calls that API (hence the error); and nobody is actually actively maintaining GWT Designer. In 2.6.0, another change broke GWT Designer already, and we reintroduced the legacy code in 2.6.1 hoping GWT Designer would be fixed. It didn't happen (as far as I know). Because the GWT Team wants to move forward, even if that means breaking GWT Designer, we thought we had to mention the breaking change in GWT's release notes, but the reality is that the team behind GWT Designer don't actively maintain it anymore, and that team is not affiliated with GWT (besides many developers working in the same company).

BTW, if you're looking for GWT Designer's source code, it's there: https://code.google.com/p/gwt-designer/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub...@googlegroups.com.

To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--
Vassilis Virvilis

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/SRCpvbmkmTA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages