GWT Incubator - JDK 1.4 Issues

6 views
Skip to first unread message

Chris Moltisanti

unread,
Feb 19, 2008, 10:50:28 AM2/19/08
to Google Web Toolkit
Hi!

I'm trying to include the gwt incubator as part of my existing GWT
project. I am using JDK 1.4.
I have followed the instructions on the gwt incubator site and
included the JAR file in my classpatha and added <inherits
name='com.google.gwt.widgetideas.WidgetIdeas' />
<inherits name='com.google.gwt.widgetideas.LibIdeas' />
to my module file. However, when I run my application i get the error
below.
From my understanding this means that I am trying to run JDK 1.5
compiled code in a JSK 1.4 environment.
I was under the impression the gwt incubator was compatible with 1.4
and 1.5

Has anyone else com across this issue or managed to include the
incubator in their JDK 1.4 codeset?

Thanks

Chris

[ERROR] Line 18: Unexpected exception while processing element
'inherits'
java.lang.UnsupportedClassVersionError: com/google/gwt/libideas/
resources/rebind/context/StaticResourceBundleGenerator (Unsupported
major.minor version 49.0)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1255)

Peter Blazejewicz

unread,
Feb 20, 2008, 4:03:52 PM2/20/08
to Google Web Toolkit
hi Chris,

Emily Crutcher posted about that recently but I don't know if here or
maybe on contrubors group,
Basically incubator goes on the head because its role is to promote
new ideas and they choose to stay with upcoming GWT 1.5. RC release
(so migration to 1.5 should be integral part of incubator),
However please fill free to do following (at least two options I
know):
- go to SVN repository:
- there is older (1.4) .jar version somewhere, probably from november
there
- there is 1.4 release branch there in repository,

And yes, I'm using current .jar

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)

with 1.4 JDK compability mode projects in Eclipse without much issues,
Myabe that is related to what part of incubator is used, I'm mostly
using Immutable resource boundles or simliar solutions,

regards,
Peter

Peter Blazejewicz

unread,
Feb 20, 2008, 5:14:06 PM2/20/08
to Google Web Toolkit

Chris Moltisanti

unread,
Feb 20, 2008, 6:37:09 PM2/20/08
to Google Web Toolkit
Thnks for your help peter. Ill give that a try.
Chris

On Feb 20, 10:14 pm, Peter Blazejewicz <peter.blazejew...@gmail.com>
wrote:
> hi,
>
> post by Emily Crutcher:http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse...
Reply all
Reply to author
Forward
0 new messages