geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lasantha Ranaweera <lasan...@opensource.lk>
Subject Geronimo Trunk compilation error with JDK5
Date Tue, 15 Sep 2009 11:43:37 GMT
Folks,

Just noticed that G source cannot be build using JDK5 anymore due to the 
following error. This error will not happen with JDK6. Is this is the 
expected behavior?

Regards,
Lasantha

[INFO] 
------------------------------------------------------------------------
[INFO] 
Trace                                                                   
org.apache.maven.BuildFailureException: Compilation 
failure                    
/home/hd2/work/geronimo/server/plugins/jetty7/geronimo-jetty7/src/main/java/org/apache/geronimo/jetty7/connector/HTTPSocketConnector.java:[25,-1]

cannot access org.eclipse.jetty.server.bio.SocketConnector
bad class file: 
/home/lasantha/.m2/repository/org/eclipse/jetty/jetty-server/8.0.0.M0-SNAPSHOT/jetty-server-8.0.0.M0-SNAPSHOT.jar(org/eclipse/jetty/server/bio/SocketConnector.class)
class file has wrong version 50.0, should be 49.0


        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:580)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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)
Caused by: org.apache.maven.plugin.CompilationFailureException: 
Compilation failure
/home/hd2/work/geronimo/server/plugins/jetty7/geronimo-jetty7/src/main/java/org/apache/geronimo/jetty7/connector/HTTPSocketConnector.java:[25,-1]

cannot access org.eclipse.jetty.server.bio.SocketConnector
bad class file: 
/home/lasantha/.m2/repository/org/eclipse/jetty/jetty-server/8.0.0.M0-SNAPSHOT/jetty-server-8.0.0.M0-SNAPSHOT.jar(org/eclipse/jetty/server/bio/SocketConnector.class)
class file has wrong version 50.0, should be 49.0


Mime
View raw message