I tried to run a sample app project using GIN. When compiling, I get
the following error:
Loading inherited module 'com.google.gwt.inject.Inject'
[ERROR] Unexpected error while processing XML
java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
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)
...
There has been an issue raised a couple of weeks ago (#55). However,
it says that there are no problems when using GWT 2.0, the version I
am using. I couldnt find any workaround.
Can anybody help?
Thanks very much! Steffen
--
You received this message because you are subscribed to the Google Groups "google-gin" group.
To post to this group, send email to googl...@googlegroups.com.
To unsubscribe from this group, send email to google-gin+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-gin?hl=en.
I am using a precompiled Gin jar, the one I have downloaded here...
So, I simply have to compile a new version from source provided here
as well?
Steffen
On Jan 25, 6:30 am, Peter Schmitt <ara...@gmail.com> wrote:
> This usually happens if you compile your classes with one version of java
> and then try to run them in the wrong context. I'm not even sure what
> classes your example is loading (can't tell from the stack trace). Are you
> using the precompiled Gin jar or do you make your own?
>
> Peter
>
> > google-gin+...@googlegroups.com<google-gin%2Bunsu...@googlegroups.com>
http://0x3333.com.br/builds/google-gin/
Mine is compiled against java 1.5(I add a target="1.5" in the
build.xml). May help.
Regards,
Tercio
> > > google-gin+...@googlegroups.com<google-gin%2Bunsubscribe@googlegrou ps.com>