Re: Problem in viewing ui.xml in designer mode.

2011-11-27 Thread Eric Clayberg (Google)
You have a JDK version mismatch between the JDK you are using to run 
Eclipse and the one you are using to compile your code. Make sure you are 
running Eclipse with the latest JDK.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/nk6FkmPDVogJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Problem in viewing ui.xml in designer mode.

2011-11-18 Thread Neorj
Hi,
I am new to GWT and uiBinder concept.
While trying out examples on eclipse Galileo. I stumbled upon the
following error below.
I started my eclipse using jdk1.6.0.
I am using Mac OS X Ver 10.5.8.
Any assistance would be of great help.

Regards
RJ


Internal Error

GWT Designer encountered unexpected internal error.

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

java.lang.UnsupportedClassVersionError: Bad version number in .class
file

Hide stack trace.
Stack trace:

java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.loadImpl(HostedModeSupport.java:
111)
at
com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.(HostedModeSupport.java:
84)
at
com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupportFactory.create(HostedModeSupportFactory.java:
33)
at
com.google.gdt.eclipse.designer.model.widgets.support.GwtState.getHostedModeSupport(GwtState.java:
939)
at
com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize0(GwtState.java:
228)
at
com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize(GwtState.java:
204)
at
com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createGWTState(UiBinderContext.java:
434)
at
com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createProjectClassLoader(UiBinderContext.java:
295)
at
org.eclipse.wb.internal.core.xml.model.EditorContext.createClassLoader(EditorContext.java:
146)
at
com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createClassLoader(UiBinderContext.java:
252)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.