[opencms-dev] Maven project

Cristina Hernández Sánchez cris_maco at hotmail.com
Mon Jan 19 16:43:25 CET 2009



I'm following the steps from http://opencms-maven.comundus.com/comundus/opencms/html/main/documentation/setup/  but i can't complete the process due to:

[FATAL ERROR] com.comundus.opencms.vfs.SetupMojo#execute() caused a linkage erro
r (java.lang.UnsupportedClassVersionError) and may be out-of-date. Check the rea
lms:
[FATAL ERROR] Plugin realm = app0.child-container[com.comundus.maven:maven-vfs-p
lugin]
urls[0] = file:/C:/Documents and Settings/chernandez/.m2/repository/com/comundus
/maven/maven-vfs-plugin/7.0.1d/maven-vfs-plugin-7.0.1d.jar
urls[1] = file:/C:/Documents and Settings/chernandez/.m2/repository/org/codehaus
/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/EntornoGea/apache-maven-2.0.9/bin/../lib/maven-2.0.9-uber.jar

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] com/comundus/opencms/VfsSetup (Unsupported major.minor version 49.0)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.UnsupportedClassVersionError: com/comundus/opencms/VfsSetup (Unsupport
ed 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:12
3)
        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 java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at com.comundus.opencms.vfs.SetupMojo.execute(SetupMojo.java:65)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:558)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Mon Jan 19 16:31:38 CET 2009
[INFO] Final Memory: 12M/25M
[INFO] ------------------------------------------------------------------------

what i'm doing wrong???

_________________________________________________________________
¿Quieres ver los mejores videos de MSN? Enciende Messenger TV 
http://messengertv.msn.com/mkt/es-es/default.htm  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20090119/d550f412/attachment.html>


More information about the opencms-dev mailing list