UnsupportedClassVersionError in gwt-sl 1.0 on Java 1.5
11 views
Skip to first unread message
Athos
unread,
Sep 25, 2009, 8:40:19 AM9/25/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-sl
I get this error for GWTHandler since upgrading gwt-sl from 0.1.5b to
1.0.
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0'
defined in class path resource [gwt-common-context.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.factory.CannotLoadBeanClassException: Error
loading class [org.gwtwidgets.server.spring.GWTHandler] for bean with
name 'org.gwtwidgets.server.spring.GWTHandler#0' defined in
ServletContext resource [/WEB-INF/spring-dispatcher-servlet.xml]:
problem with class file or dependent class; nested exception is
java.lang.UnsupportedClassVersionError: Bad version number in .class
file
The problem exhibits on a test server, which is running Java 1.5
(1.5.0_13) under Mac OS X Server. On my developer machine (running
Java 1.6), I do not have this problem. I suspect that gwt-sl 1.0 might
not have been properly compiled for Java 1.5, and in reality requires
Java 1.6 because of this.
Message has been deleted
George Georgovassilis
unread,
Sep 29, 2009, 8:22:03 AM9/29/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt...@googlegroups.com
Darn, I knew I forgot something. Athos, you are right, the binaries are
for 1.6. Should not be a problem though to recompile for 1.5. Thanks for
pointing out!