From: <pt...@co...> - 2008-12-27 01:13:22
|
Hi Gregor, It seems that the code source is not compatible with this java version. I compile the code successfully with other solaris box. This machine has been updated last week and this new java cannot compile the source code. Tanis Patrick > I am using this version : > java version "1.5.0_17" > Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04) > Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_17-b04, mixed mode) > > > I configure java on solaris 10 amd64 to use the java 64 bit version. > Tanis Patrick > >> This is odd. What version of Java are you compiling with? >> >> "java -version" >> >> >> - deej >> >> On Fri, 26 Dec 2008 16:12:08 -0500 (EST), pt...@co... said: >>> Greetings Everyone, >>> I am trying to compile opennms 1.6.1 source code, but i got this error: >>> /opennms/source/opennms-util/src/main/java/org/opennms/core/utils/CollectionMath.java:[152,23] >>> median(java.util.List<java.lang.Number>) in >>> org.opennms.core.utils.CollectionMath cannot be applied to >>> (java.util.List<java.math.BigDecimal>) >>> >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Trace >>> org.apache.maven.BuildFailureException: Compilation failure >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) >>> at >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) >>> 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:287) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> >>> >>> Any idea would be appreciable. >>> >>> Tanis Patrick >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Please read the OpenNMS Mailing List FAQ: >>> http://www.opennms.org/index.php/Mailing_List_FAQ >>> >>> opennms-discuss mailing list >>> >>> To *unsubscribe* or change your subscription options, see the bottom of >>> this page: >>> https://lists.sourceforge.net/lists/listinfo/opennms-discuss >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Please read the OpenNMS Mailing List FAQ: >> http://www.opennms.org/index.php/Mailing_List_FAQ >> >> opennms-discuss mailing list >> >> To *unsubscribe* or change your subscription options, see the bottom of >> this page: >> https://lists.sourceforge.net/lists/listinfo/opennms-discuss >> > > |