EdColeman opened a new issue #1532: Build environment - class not found 
org/apache/tools/ant/taskdefs/Execute - used by commons-configuration
URL: https://github.com/apache/accumulo/issues/1532
 
 
   This is likely something in my environment / tooling but wanted to document 
what I am seeing in case this is a more general issue with dependencies / java 
runtime version.
   
   Environment:
   
   java: openjdk full version "12.0.1+12"
   IntelliJ:  IntelliJ IDEA 2019.3.3  Build #IU-193.6494.35, built on February 
10, 2020
   macOS 10.15.3
   
   Trying to run IT tests with legacy metrics enabled causes the master to die 
with the stack trace below.
   
   This happens with the commons-configuration in the pom left at 1.6.  
Changing the version to 1.10, the tests can be launched / run with the IntelliJ 
IDE without issue.
   
   The release notes for commons-configuration 1.7 references 
https://issues.apache.org/jira/browse/CONFIGURATION-436 to change the group id 
for Apache Ant  
   
   > org.apache.ant is the standard groupId used by the Apache Ant project. 
Please start using it instead of the ant groupId. 
   
   Full stack track from the mini Master log:
   `
   java.lang.NoClassDefFoundError: org/apache/tools/ant/taskdefs/Execute
           at 
org.apache.commons.configuration.EnvironmentConfiguration.extractProperties14(EnvironmentConfiguration.java:160)
           at 
org.apache.commons.configuration.EnvironmentConfiguration.<init>(EnvironmentConfiguration.java:77)
           at 
org.apache.accumulo.server.metrics.MetricsConfiguration.getEnvironmentConfiguration(MetricsConfiguration.java:114)
           at 
org.apache.accumulo.server.metrics.MetricsConfiguration.loadConfiguration(MetricsConfiguration.java:155)
           at 
org.apache.accumulo.server.metrics.MetricsConfiguration.getMetricsConfiguration(MetricsConfiguration.java:145)
           at 
org.apache.accumulo.server.metrics.MetricsConfiguration.<init>(MetricsConfiguration.java:108)
           at 
org.apache.accumulo.server.metrics.AbstractMetricsImpl.<init>(AbstractMetricsImpl.java:118)
           at 
org.apache.accumulo.server.metrics.ThriftMetrics.<init>(ThriftMetrics.java:30)
           at 
org.apache.accumulo.server.metrics.MetricsFactory.createThriftMetrics(MetricsFactory.java:46)
           at 
org.apache.accumulo.server.rpc.TimedProcessor.<init>(TimedProcessor.java:47)
           at 
org.apache.accumulo.server.rpc.TimedProcessor.<init>(TimedProcessor.java:41)
           at 
org.apache.accumulo.server.rpc.TServerUtils.startServer(TServerUtils.java:152)
           at org.apache.accumulo.master.Master.run(Master.java:1382)
           at org.apache.accumulo.master.Master.main(Master.java:1664) 
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:567)
           at org.apache.accumulo.start.Main$2.run(Main.java:170)
           at java.base/java.lang.Thread.run(Thread.java:835)
   Caused by: java.lang.ClassNotFoundException: 
org.apache.tools.ant.taskdefs.Execute
           at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
           at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
           at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
           ... 20 more
   
   `
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to