I just started a glassfish workspace from scratch.
"maven bootstrap" worked fine.
However, when I run "maven configure-runtime", I get the following error:
java.lang.UnsupportedClassVersionError: com/sun/enterprise/cli/framew
ork/CLIMain (Unsupported major.minor version 49.0)
I remember having that error in the past, and I believe it was caused
by not using JSE 5.0. However, I do use JSE 5.0 in this case.
Details below.
Thanks,
-- Pierre
--------------------------------------------
D:\glassfish_tunnel\glassfish\bootstrap>maven configure-runtime
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download glassfish-image-SNAPSHOT.jar.
build:start:
configure-runtime:
[exec] java.lang.UnsupportedClassVersionError: com/sun/enterprise/cli/framew
ork/CLIMain (Unsupported major.minor version 49.0)
[exec] at java.lang.ClassLoader.defineClass0(Native Method)
[exec] at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
[exec] at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:123)
[exec] at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
[exec] at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
[exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
[exec] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
[exec] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
[exec] Exception in thread "main"
BUILD SUCCESSFUL
Total time: 1 minutes 14 seconds
Finished at: Mon Jul 11 13:26:20 PDT 2005
D:\glassfish_tunnel\glassfish\bootstrap>java -version
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode)
D:\glassfish_tunnel\glassfish\bootstrap>