MarkBryanMilligan / LanternPowerMonitor

The Lantern Power Monitor is a Raspberry Pi service, Java Web Service, and Android application that allow you to monitor every electrical breaker in your house, regardless of how many panels or breakers you have.
GNU General Public License v3.0
82 stars 26 forks source link

Fix Compilation Error #22

Closed sicXnull closed 2 years ago

sicXnull commented 2 years ago

Fixes the following compilation error on Pi3. Does not seem to be an issue when using IntelliJ

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/pi/LanternPowerMonitor/zwave/lantern-service-zwave/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/pi/LanternPowerMonitor/zwave/lantern-service-zwave/src/test/java/com/lanternsoftware/zwave/CreateConfig.java:[3,53] package com.lanternsoftware.dataaccess.currentmonitor does not exist
[ERROR] /home/pi/LanternPowerMonitor/zwave/lantern-service-zwave/src/test/java/com/lanternsoftware/zwave/CreateConfig.java:[4,53] package com.lanternsoftware.dataaccess.currentmonitor does not exist
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] lantern-util-common 1.0.0 .......................... SUCCESS [  8.136 s]
[INFO] lantern-util-dao 1.0.0 ............................. SUCCESS [  0.599 s]
[INFO] lantern-datamodel-currentmonitor 1.0.0 ............. SUCCESS [  2.437 s]
[INFO] lantern-util-http 1.0.0 ............................ SUCCESS [  0.365 s]
[INFO] lantern-currentmonitor 1.0.4 ....................... SUCCESS [ 10.575 s]
[INFO] lantern-datamodel-rules 1.0.0 ...................... SUCCESS [  0.299 s]
[INFO] lantern-util-dao-mongo 1.0.0 ....................... SUCCESS [  0.238 s]
[INFO] lantern-dataaccess-currentmonitor 1.0.0 ............ SUCCESS [  0.287 s]
[INFO] lantern-util-servlet 1.0.0 ......................... SUCCESS [  0.224 s]
[INFO] lantern-dataaccess-rules 1.0.0 ..................... SUCCESS [  0.173 s]
[INFO] lantern-service-rules 1.0.0 ........................ SUCCESS [  3.934 s]
[INFO] lantern-service-currentmonitor 1.0.0 ............... SUCCESS [ 19.560 s]
[INFO] currentmonitor 1.0.0 ............................... SUCCESS [  0.015 s]
[INFO] lantern-util-dao-ephemeral 1.0.0 ................... SUCCESS [  6.433 s]
[INFO] lantern-util-excel 1.0.0 ........................... SUCCESS [  1.226 s]
[INFO] util 1.0.0 ......................................... SUCCESS [  0.021 s]
[INFO] rules-reactor 1.0.0 ................................ SUCCESS [  0.014 s]
[INFO] lantern-datamodel-zwave 1.0.0 ...................... SUCCESS [  0.174 s]
[INFO] lantern-service-thermometer 1.0.0 .................. SUCCESS [  2.092 s]
[INFO] lantern-zwave 1.0.0 ................................ SUCCESS [  3.303 s]
[INFO] lantern-service-zwave 1.0.0 ........................ FAILURE [  3.692 s]
[INFO] lantern-uirt 1.0.0 ................................. SKIPPED
[INFO] zwave-reactor 1.0.0 ................................ SKIPPED
[INFO] LanternPowerMonitor 1.0.0 .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:04 min
[INFO] Finished at: 2021-10-10T13:59:07-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:testCompile (default) on project lantern-service-zwave: Compilation failure: Compilation failure:
[ERROR] /home/pi/LanternPowerMonitor/zwave/lantern-service-zwave/src/test/java/com/lanternsoftware/zwave/CreateConfig.java:[3,53] package com.lanternsoftware.dataaccess.currentmonitor does not exist
[ERROR] /home/pi/LanternPowerMonitor/zwave/lantern-service-zwave/src/test/java/com/lanternsoftware/zwave/CreateConfig.java:[4,53] package com.lanternsoftware.dataaccess.currentmonitor does not exist