GWT 2.8.0 released

3,290 views
Skip to first unread message

Daniel Kurka

unread,
Oct 21, 2016, 3:21:41 PM10/21/16
to GWT Users
Hi all,

I am very happy to announce GWT 2.8.0 on behalf of the GWT steering committee and the GWT team at Google.

You can download the release from http://www.gwtproject.org/download.html or from maven central.


Daniel,
on behalf of the GWT team

Wesley.JUNG

unread,
Oct 21, 2016, 3:48:48 PM10/21/16
to GWT Users
Hoorey~~~

Alain Ekambi

unread,
Oct 21, 2016, 3:53:48 PM10/21/16
to google-we...@googlegroups.com
YEEEEEES

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/

Kirill Prazdnikov

unread,
Oct 21, 2016, 4:03:44 PM10/21/16
to GWT Users
Cool. Nice Job. We have ported out project and it works perfectly.

Thanks 

Alex W

unread,
Oct 21, 2016, 4:16:29 PM10/21/16
to GWT Users
The GWT team couldn't even be bothered to delete the out of date docs on gwtproject.org for the release? For shame. I'm not being negative; this is a team that  needs more criticism, both internal and external.

Daniel Kurka

unread,
Oct 21, 2016, 4:29:57 PM10/21/16
to GWT Users
Hi Alex,

thanks for your non negative way of approaching this. The docs on gwtproject.org are open source and anybody is welcome to change them on github:

It's as simple as clicking edit on the page: https://github.com/gwtproject/gwt-site

If you feel something is outdated simply propose a patch. These docs are not being maintained by the GWT team at Google and we rely on open source contributions to update them.

-Daniel



--
You received this message because you are subscribed to the Google Groups "GWT Users" 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.

Vassilis Virvilis

unread,
Oct 21, 2016, 4:32:21 PM10/21/16
to google-we...@googlegroups.com
+1 congrats for the release +1

   Vassilis

On Fri, Oct 21, 2016 at 11:29 PM, Daniel Kurka <kurka....@gmail.com> wrote:
Hi Alex,

thanks for your non negative way of approaching this. The docs on gwtproject.org are open source and anybody is welcome to change them on github:

It's as simple as clicking edit on the page: https://github.com/gwtproject/gwt-site

If you feel something is outdated simply propose a patch. These docs are not being maintained by the GWT team at Google and we rely on open source contributions to update them.

-Daniel


On Fri, Oct 21, 2016 at 10:16 PM Alex W <alexwh...@gmail.com> wrote:
The GWT team couldn't even be bothered to delete the out of date docs on gwtproject.org for the release? For shame. I'm not being negative; this is a team that  needs more criticism, both internal and external.


On Saturday, October 22, 2016 at 5:21:41 AM UTC+10, Daniel Kurka wrote:
Hi all,

I am very happy to announce GWT 2.8.0 on behalf of the GWT steering committee and the GWT team at Google.

You can download the release from http://www.gwtproject.org/download.html or from maven central.


Daniel,
on behalf of the GWT team

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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-web-toolkit@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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-web-toolkit@googlegroups.com.



--
Vassilis Virvilis

Alberto Mancini

unread,
Oct 21, 2016, 4:32:41 PM10/21/16
to GWT Users
Thanks Daniel thanks to all the contributors and to all the developers that spent time, energy, and work to release 2.8. 


On Fri, Oct 21, 2016 at 10:16 PM Alex W <alexwh...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "GWT Users" 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.

Rodrigue Lagoué Rodrigue

unread,
Oct 21, 2016, 4:39:32 PM10/21/16
to GWT Users
good job

Edu

unread,
Oct 21, 2016, 4:51:02 PM10/21/16
to google-we...@googlegroups.com
Thanks!!!

Denis Shagaleev

unread,
Oct 21, 2016, 4:52:05 PM10/21/16
to GWT Users
yeah!!

thank you guys!

Ed

unread,
Oct 21, 2016, 6:46:33 PM10/21/16
to Google Web Toolkit
Thank You for Your effort!

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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-web-toolkit@googlegroups.com.

jumanor

unread,
Oct 21, 2016, 7:26:36 PM10/21/16
to GWT Users
Thanks...great job

maticpetek

unread,
Oct 22, 2016, 2:58:47 AM10/22/16
to GWT Users
Thank you for all the effort.

Franco Skrzypczak

unread,
Oct 22, 2016, 10:27:19 AM10/22/16
to GWT Users
Awesome news .. well done!

Velusamy Velu

unread,
Oct 22, 2016, 11:35:18 AM10/22/16
to GWT Users
Kudos to Daniel and the GWT team!


On Friday, October 21, 2016 at 3:21:41 PM UTC-4, Daniel Kurka wrote:

zakaria amine

unread,
Oct 22, 2016, 2:31:43 PM10/22/16
to GWT Users
Great! Elemental 2 is part of it ?

David

unread,
Oct 23, 2016, 10:13:54 AM10/23/16
to GWT Users
The best news in years! Well done to the GWT team!
Java8, JsInterop and Elemental2 makes a really big difference in my projects.
Looking forward for what's next to come.

On Sat, Oct 22, 2016 at 8:31 PM zakaria amine <zakaria...@gmail.com> wrote:
Great! Elemental 2 is part of it ?

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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.

Thomas Broyer

unread,
Oct 23, 2016, 11:35:09 AM10/23/16
to GWT Users


On Saturday, October 22, 2016 at 8:31:43 PM UTC+2, zakaria amine wrote:
Great! Elemental 2 is part of it ?

No. Elemental 2 will be released independently (along with its generator I believe)

Marko

unread,
Oct 23, 2016, 2:56:03 PM10/23/16
to GWT Users
Thanks!

Eric Nissan

unread,
Oct 24, 2016, 1:48:52 PM10/24/16
to GWT Users
Can someone confirm?  are we able to use Guava with this version?  20-rc1?


On Friday, October 21, 2016 at 3:21:41 PM UTC-4, Daniel Kurka wrote:

Jens

unread,
Oct 24, 2016, 2:55:04 PM10/24/16
to GWT Users

Can someone confirm?  are we able to use Guava with this version?  20-rc1?

Yes, 20-rc1 actually requires GWT 2.8 and is incompatible to older GWT releases.

-- J.

Lars

unread,
Oct 24, 2016, 2:58:49 PM10/24/16
to GWT Users
Yes! Guava 20 requires GWT 2.8 and the other way around.

Hristo Stoyanov

unread,
Oct 24, 2016, 3:28:11 PM10/24/16
to GWT Users
Cool!
So what's next? I see a bunch of unmerged code request sitting in gerrit. Is GWT 2.9 coming with all things in it that did not make it into 2.8? if so, when?

Ahamed

unread,
Oct 24, 2016, 10:01:47 PM10/24/16
to GWT Users
Happy to see this..

but i want to know what are the extra future introduces in GWT 2.8?
Is it reduces the time taken to launch super dev mode ?
When is the GWT 3.0  next release? 

Lars

unread,
Oct 25, 2016, 12:54:01 AM10/25/16
to GWT Users
May read this http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0
The big points are Java8 support, JsInterop (to step away from JSNI), GSS and more performance in SDM and the emulation.

H Maner

unread,
Oct 25, 2016, 10:58:44 AM10/25/16
to GWT Users
Thank you!

Hal Maner
M Systems International, Inc.

Piotr Morgwai Kotarbinski

unread,
Oct 26, 2016, 11:34:29 AM10/26/16
to GWT Users
great news! thanks to everybody who made this happen!

Thad Humphries

unread,
Oct 27, 2016, 6:08:38 PM10/27/16
to GWT Users
The doc/javadoc directory is incomplete. It is missing the index.html and the other files to complete it. Will these be added to the gwt-2.8.0.zip?

NGdeM

unread,
Nov 6, 2016, 12:40:48 PM11/6/16
to GWT Users
Congrats to the GWT team.

I had not taken a peek at the GWT downloads in a while, having missed out on the last two release candidates and now the release.
UAU! 
Really, congrats to you all, thanks for the massive effort.

Zeeshan Chughtai

unread,
Nov 7, 2016, 5:17:10 PM11/7/16
to GWT Users
Hi,

Thanks for this, really happy to have it around. 

We were using 2.8.0-beta1 version for a while without any major fuss. 

While upgrading to 2.8.0 released version, we get stuck with codeserver refused to start because of class loading issues. 

Here are the changes which we had to made.

<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>

<!-- Only the exclusion part>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${com.google.gwt.version}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
<artifactId>apache-jsp</artifactId>
</exclusion>
</exclusions>
</dependency>

Compilation and tomcat startup went well without any real issues. 

Here is a exception which we are facing when running codeserver. 

[INFO] 23:11:19,291 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@225153c8 - Registering current configuration as safe fallback point
[INFO]
[INFO]    Loading Java files in com.alphasense.AlphaInsightDebug.
[INFO]    Module setup completed in 4628 ms
[ERROR] java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/AggregateLifeCycle
[ERROR] 	at java.lang.ClassLoader.defineClass1(Native Method)
[ERROR] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[ERROR] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[ERROR] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[ERROR] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[ERROR] 	at java.security.AccessController.doPrivileged(Native Method)
[ERROR] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ERROR] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR] 	at java.lang.ClassLoader.defineClass1(Native Method)
[ERROR] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[ERROR] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[ERROR] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[ERROR] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[ERROR] 	at java.security.AccessController.doPrivileged(Native Method)
[ERROR] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ERROR] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR] 	at java.lang.ClassLoader.defineClass1(Native Method)
[ERROR] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[ERROR] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[ERROR] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[ERROR] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[ERROR] 	at java.security.AccessController.doPrivileged(Native Method)
[ERROR] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ERROR] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR] 	at java.lang.ClassLoader.defineClass1(Native Method)
[ERROR] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[ERROR] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[ERROR] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[ERROR] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[ERROR] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[ERROR] 	at java.security.AccessController.doPrivileged(Native Method)
[ERROR] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ERROR] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR] 	at com.google.gwt.dev.codeserver.WebServer.start(WebServer.java:121)
[ERROR] 	at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:161)
[ERROR] 	at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:102)
[ERROR] 	at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:55)
[ERROR] Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.component.AggregateLifeCycle
[ERROR] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[ERROR] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[ERROR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[ERROR] 	... 52 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

I've attached my WEB-IN/lib directory structure with beta version build and released version of 2.8.0 build. The jetty version with 2.8.0 release is jetty-util-9.2.14.v20151106.jar which 
doesn't have AggregateLifeCycle class. 


Any suggestions are welcome. Looking forward. Thanks.

PS. I can share more details if required. 

lib-2.8-beta.txt
lib-2.8.txt

Thomas Broyer

unread,
Nov 8, 2016, 5:14:01 AM11/8/16
to GWT Users
If this is your WEB-INF/lib, then you have a problem: why does it contain gwt-dev and all those Jetty JARs? Those aren't supposed to be inside the webapp, they are dev-time dependencies, not runtime ones.
(hint: gwt-dev should have scope provided, not compile)
 
The jetty version with 2.8.0 release is jetty-util-9.2.14.v20151106.jar which 
doesn't have AggregateLifeCycle class. 

I'd bet this is due to the jetty-deploy-8.1.10.v20130312.jar. Run "mvn dependency:tree" to find out where it comes from.
I also see guava 17 and guava-gwt 20; so overall you need a better "dependency hygiene".
And if you somehow have conflicts between the dependencies brought by GWT (Jetty et al.) and the ones needed by other, non-GWT dependencies; I highly suggest splitting your project into (at least) 2 modules: one for the client-side code and one for the server-side code, so that each can have its own set of dependencies that won't conflict.


Zeeshan Chughtai

unread,
Nov 8, 2016, 5:36:05 AM11/8/16
to google-we...@googlegroups.com, t.br...@gmail.com
Thanks Thomas for your reply. You are correct, we definitely needs to optimize these dependencies.

About this 'AggregateLifeCycle class. ' Issue. I did able to find out the origin of jetty-deploy from where it was coming, but even excluding it doesn't solve my issue. Any other hint , from where else it can come from ? 

Thanks again for your prompt reply. Always helpful. 

Zeeshan Chughtai
Sr. Software Engineer
AlphaSense  |  Tammasaarenkatu 3  |  00180 Helsinki, Finland
Mobile: +358 45 8953811
zee...@alpha-sense.com   |   www.alpha-sense.com

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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-web-toolkit@googlegroups.com.

Zeeshan Chughtai

unread,
Nov 8, 2016, 7:06:07 AM11/8/16
to google-we...@googlegroups.com, t.br...@gmail.com
Thomas, 

Finally, i was able to make superdev mode work. I had to exclude all the jetty 8.1 dependencies (those were getting included because of my some other internal dependency). In addition to that, i am also now using 3.1 servlet-api version (it was 3.0.1).

Thanks again. Appreciated.  

Zeeshan Chughtai
Sr. Software Engineer
AlphaSense  |  Tammasaarenkatu 3  |  00180 Helsinki, Finland
Mobile: +358 45 8953811
zee...@alpha-sense.com   |   www.alpha-sense.com

To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.

Rasmus Olesen

unread,
Nov 8, 2016, 7:09:06 AM11/8/16
to GWT Users
Hi

There might be an issue with the gwt-user-2.8.0.jar or jsinterop-annotations-1.0.x.jar(s) uploaded to the maven repository.

We are getting the following error:
   Loading inherited module 'com.google.gwt.core.Core'
      Loading inherited module 'jsinterop.annotations.Annotations'
         [ERROR] Unable to find 'jsinterop/annotations/Annotations.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?


The jsinterop-annotations sources are found in the gwt-user.jar which can be downloaded from http://www.gwtproject.org/versions.html
But they are not found in the gwt-user-2.8.0.jar which can be downloaded from https://mvnrepository.com/artifact/com.google.gwt/gwt-user/2.8.0
And the jsinterop-annotations-1.0.0.jar and jsinterop-annotations-1.0.1.jar jars, which can be found at https://mvnrepository.com/artifact/com.google.jsinterop/jsinterop-annotations, only contain the binaries.

Please let me know if this is not the correct "forum" for this question.

Best regards
Rasmus

Thomas Broyer

unread,
Nov 8, 2016, 7:44:28 AM11/8/16
to GWT Users
Basically, either you use "managed dependencies" (Maven, Gradle, Ivy, etc.) and it should resolve all dependencies for you; or you use the GWT SDK that you can download from the project website which bundles (almost) everything into 2 JARs.
If you download from a Maven repo, then you'll need jsinterop-annotations-1.0.1-sources.jar (have a look at the POMs for the complete list of dependencies).

Rasmus Olesen

unread,
Nov 8, 2016, 8:16:09 AM11/8/16
to GWT Users
Thank you.

I completely forgot about "com.google.jsinterop:jsinterop-annotations:1.0.0:sources"

Turns out you actually need to know how to use maven when using maven :)

GAURAV GUPTA

unread,
Nov 29, 2016, 7:47:15 AM11/29/16
to GWT Users
Hi Daniel,

I am using GWT 2.8.0 and using -generateJsInteropExports with Polymer to access GWT elements, however I was able to get it successfully with 2.8 RC2 but getting error with 2.8 final version, 

gwt-elements.html:72 Uncaught ReferenceError: com is not defined(…)attached @ gwt-elements.html:72_invokeBehavior @ polymer-micro.html:455_doBehavior @ polymer-micro.html:445(anonymous function) @ polymer-micro.html:227whenReady @ polymer-micro.html:107attachedCallback @ polymer-micro.html:225attachedCallback @ polymer-mini.html:104QX_g$ @ MBAApp-0.js:6137Awc_g$ @ MBAApp-0.js:14157a2b_g$ @ MBAApp-0.js:10126initializeModules_0_g$ @ MBAApp-0.js:28Rp_g$ @ MBAApp-0.js:4391Up_g$ @ MBAApp-0.js:4461(anonymous function) @ MBAApp-0.js:4427t1b_g$ @ MBAApp-0.js:41(anonymous function) @ MBAApp-0.js:24127

getting this error.

Can you please suggest.

Thanks,
Gaurav

Kumarasamy R

unread,
Jan 1, 2017, 2:44:15 AM1/1/17
to GWT Users
Hi all,

I have tried to migrate to 2.8 from 2.7. somehow resolved all the build issues and successfully done. When I deploy my war into weblogic getting folloing error. 
I verified gwt-servlet jar is in war\WEB-INF\lib\gwt-servlet-2.8.0.jar
Any idea what might cause this issue ?

appreciate your help.

<Jan 1, 2017 2:32:32 AM EST> <Warning> <HTTP> <BEA-101162> <User defined listener weblogic.wsee.deploy.ServletDeployListener failed: java.lang.NoClassDefFoundError: com/google/gwt/user/client/rpc/RemoteService.
java.lang.NoClassDefFoundError: com/google/gwt/user/client/rpc/RemoteService
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
        Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.google.gwt.user.client.rpc.RemoteService'
        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:275)
        at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
        Truncated. see log file for complete stacktrace

Caused By: java.lang.UnsupportedClassVersionError: com/google/gwt/user/client/rpc/RemoteService : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
        Truncated. see log file for complete stacktrace
>

Kumarasamy R

unread,
Jan 1, 2017, 3:40:53 AM1/1/17
to GWT Users
I just noticed that weblogic is still running at JDK 1.6. That might be the reason. It will be very hard for now to upgrade sdk on weblogic since other legacy applications are in same server.

Is there any alternate solution ?

Thanks
Kumar

Thomas Broyer

unread,
Jan 1, 2017, 3:59:38 AM1/1/17
to GWT Users
GWT 2.8 dropped support for Java 6. You can probably use tools to "backport" the JAR to be Java 6-compatible.

Frank Hossfeld

unread,
Jan 1, 2017, 5:33:52 AM1/1/17
to GWT Users
Don't know how much work it will be, but this will work:

Replace GWT RPC with restful services (f.e.: RestyGWT & Jersey) and separate your single project into two, one for the client and the other for the server code. 

Ed

unread,
Jan 5, 2017, 3:45:52 PM1/5/17
to GWT Users
I noticed that I had to increase the Max heap size a lot when compiling through the gwt-maven-plugin. I increased it from 1G to 2G to not getting the exception "GC overhead limit exceeded". 
What is your experience with this?
What are the recommended settings when using java 8? (like GC method,  etc..)

- Ed

Kirill Prazdnikov

unread,
Jan 6, 2017, 6:29:33 AM1/6/17
to GWT Users
This depends on amount of code and permutations you build.
Reply all
Reply to author
Forward
0 new messages