UNIX mvn Compile error

2 views
Skip to first unread message

Jeff.oakes

unread,
Sep 12, 2009, 12:04:44 PM9/12/09
to ToCollege-net
I set up maven 2.1.0, java 1.5, progwt zip for gwt 1.5.3, and have yet
to set up the MySQL db user progwt. At the end of the compile I got
this error. Does anyone have any good suggestions, while I try some
sample shots?

[ERROR] Exception in thread "main"
java.lang.UnsupportedClassVersionError: com/google/gwt/dev/GWTCompiler
(Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
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.security.AccessController.doPrivileged(Native Method)
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 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
302)

jdwy

unread,
Sep 14, 2009, 9:14:39 AM9/14/09
to ToCollege-net
hmm.. if I recall correctly I think that's a Java 1.5 on Java 1.4 JVM
type of error.

check your JAVA_PATH etc? Maybe mvn is running a different Java than
you think it is?
Reply all
Reply to author
Forward
0 new messages