10 Replies Latest reply on Aug 12, 2009 9:30 AM by Rares STANCIULESCU

    Error building apache-activemq-5.3.0.4-fuse

    Rares STANCIULESCU Newbie

      Hello , I'm new to FUSE, and I'm trying to build the source.

      I get a error and I don'know what to do, may be somebody give me a hint.

       

      FUSE: apache-activemq-5.3.0.4-fuse

      OS Linux Mandriva Spring 2008 , Kernel 2.6.24

      Java: 1.5.0

      ANT: apache-ant-1.7.1

      MAVEN: apache-maven-2.0.1

      MAVEN_OPTS="-Xmx1024m"

       

      build command as root:

      1. mvn -e install -Dmaven.test.skip=true

       

       

      Compiling 10 source files to /u1/fuse/apache-activemq-5.3.0.4-fuse/src/activemq-jaas/target/classes

      -


      BUILD FAILURE

      -


      Compilation failure

      /u1/fuse/apache-activemq-5.3.0.4-fuse/src/activemq-jaas/src/main/java/org/apache/activemq/jaas/TextFileCertificateLoginModule.java:[59,13] abstract method initialize(javax.security.auth.Subject,javax.security.auth.callback.CallbackHandler,java.util.Map<java.lang.String,?>,java.util.Map<java.lang.String,?>) in javax.security.auth.spi.LoginModule cannot be accessed directly

       

       

       

      /u1/fuse/apache-activemq-5.3.0.4-fuse/src/activemq-jaas/src/main/java/org/apache/activemq/jaas/TextFileCertificateLoginModule.java:[59,13] abstract method initialize(javax.security.auth.Subject,javax.security.auth.callback.CallbackHandler,java.util.Map<java.lang.String,?>,java.util.Map<java.lang.String,?>) in javax.security.auth.spi.LoginModule cannot be accessed directly

       

       

      -


      Trace

      org.apache.maven.BuildFailureException: Compilation failure

      /u1/fuse/apache-activemq-5.3.0.4-fuse/src/activemq-jaas/src/main/java/org/apache/activemq/jaas/TextFileCertificateLoginModule.java:[59,13] abstract method initialize(javax.security.auth.Subject,javax.security.auth.callback.CallbackHandler,java.util.Map<java.lang.String,?>,java.util.Map<java.lang.String,?>) in javax.security.auth.spi.LoginModule cannot be accessed directly

       

       

           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

      /u1/fuse/apache-activemq-5.3.0.4-fuse/src/activemq-jaas/src/main/java/org/apache/activemq/jaas/TextFileCertificateLoginModule.java:[59,13] abstract method initialize(javax.security.auth.Subject,javax.security.auth.callback.CallbackHandler,java.util.Map<java.lang.String,?>,java.util.Map<java.lang.String,?>) in javax.security.auth.spi.LoginModule cannot be accessed directly

       

       

           at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)

           at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)

           at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)

           at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)

           ... 16 more

      -


      Total time: 15 seconds

      Finished at: Mon Jul 13 12:20:48 CEST 2009

      Final Memory: 31M/56M

      -