Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 21.1.0, Meridian-2017.1.7
-
Fix Version/s: 22.0.0, Meridian-2017.1.8
-
Component/s: Data Output - Protobuf
-
Security Level: Default (Default Security Scheme)
-
Labels:
Description
I've tried to compile the perfdata-receiver project from the opennms-tools directory, and it is throwing compile errors.
[INFO] ------------------------------------------------------------------------ [INFO] Building perfdata-receiver 1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ perfdata-receiver --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ perfdata-receiver --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 1 source file to /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/src/main/java/org/opennms/rrd/utils/PerfDataReceiver.java:[89,159] cannot access com.google.protobuf.MessageOrBuilder class file for com.google.protobuf.MessageOrBuilder not found [ERROR] /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/src/main/java/org/opennms/rrd/utils/PerfDataReceiver.java:[93,92] cannot find symbol symbol: method getValueCount() location: variable message of type org.opennms.netmgt.rrd.tcp.PerformanceDataProtos.PerformanceDataReading [ERROR] /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/src/main/java/org/opennms/rrd/utils/PerfDataReceiver.java:[97,94] cannot find symbol symbol: method getValue(int) location: variable message of type org.opennms.netmgt.rrd.tcp.PerformanceDataProtos.PerformanceDataReading [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.002 s [INFO] Finished at: 2018-04-26T11:11:58-04:00 [INFO] Final Memory: 21M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project perfdata-receiver: Compilation failure: Compilation failure: [ERROR] /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/src/main/java/org/opennms/rrd/utils/PerfDataReceiver.java:[89,159] cannot access com.google.protobuf.MessageOrBuilder [ERROR] class file for com.google.protobuf.MessageOrBuilder not found [ERROR] /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/src/main/java/org/opennms/rrd/utils/PerfDataReceiver.java:[93,92] cannot find symbol [ERROR] symbol: method getValueCount() [ERROR] location: variable message of type org.opennms.netmgt.rrd.tcp.PerformanceDataProtos.PerformanceDataReading [ERROR] /Users/agalue/Development/opennms/git/develop/opennms-tools/perfdata-receiver/src/main/java/org/opennms/rrd/utils/PerfDataReceiver.java:[97,94] cannot find symbol [ERROR] symbol: method getValue(int) [ERROR] location: variable message of type org.opennms.netmgt.rrd.tcp.PerformanceDataProtos.PerformanceDataReading [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] child exited with value 1