[
https://issues.apache.org/jira/browse/ACCUMULO-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137971#comment-13137971
]
Michael Van Geertruy commented on ACCUMULO-88:
----------------------------------------------
This issue came up when I downloaded the trunk, and attemped to compile it.
This error was reproduced by Oracle JDK 1.6.0_29 and the equivelent version of
OpenJDK. Because I was able to verify this was an issue, I thought it was
worthy of reporting.
The problem is, that for whatever reason, maven isn't compiling the referenced
class before the class that needs it. As such, it is not present, and the
compiler cannot find it. At least, that's the best I can think of regarding
this issue.
> Build Errors - CentOS with Trunk
> --------------------------------
>
> Key: ACCUMULO-88
> URL: https://issues.apache.org/jira/browse/ACCUMULO-88
> Project: Accumulo
> Issue Type: Bug
> Components: tserver
> Environment: [blue@localhost accumulo-trunk]$ mvn --version
> Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Java version: 1.6.0_29
> Java home: /home/blue/Development/jdk1.6.0_29/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-71.29.1.el6.x86_64" arch: "amd64" Family:
> "unix"
> This issue also came up using the equivelent version of OpenJDK. Am
> reporting this because I was able to validate that this error was not
> isolated to open jdk.
> Reporter: Michael Van Geertruy
> Assignee: Keith Turner
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building accumulo-server
> [INFO] task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: enforce-mvn}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 38 resources
> [INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
> [INFO] commons-configuration-1.5.jar already exists in destination.
> [INFO] commons-io-1.4.jar already exists in destination.
> [INFO] commons-lang-2.4.jar already exists in destination.
> [INFO] jline-0.9.94.jar already exists in destination.
> [INFO] log4j-1.2.16.jar already exists in destination.
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 410 source files to
> /home/blue/workspace/accumulo-trunk/src/server/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[207,65]
> cannot find symbol
> symbol: class TabletServerMBean
> public class TabletServer extends AbstractMetricsImpl implements
> TabletServerMBean {
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[2649,28]
> cannot find symbol
> symbol : constructor
> StandardMBean(org.apache.accumulo.server.tabletserver.TabletServer,java.lang.Class<org.apache.accumulo.server.tabletserver.metrics.TabletServerMBean>,boolean)
> location: class javax.management.StandardMBean
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3137,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3149,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3161,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3173,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3186,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3199,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3212,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3225,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3232,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3239,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3251,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3258,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3265,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3272,2]
> method does not override or implement a method from a supertype
> /home/blue/workspace/accumulo-trunk/src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java:[3279,2]
> method does not override or implement a method from a supertype
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 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:597)
> 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
> 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:490)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> ... 17 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 5 seconds
> [INFO] Finished at: Thu Oct 27 23:07:46 EDT 2011
> [INFO] Final Memory: 45M/120M
> [INFO]
> ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira