combust / mleap

MLeap: Deploy ML Pipelines to Production
https://combust.github.io/mleap-docs/
Apache License 2.0
1.5k stars 310 forks source link

Error while testing root project #853

Open gustavosalazartorres opened 1 year ago

gustavosalazartorres commented 1 year ago

Hello, I have been trying to test the root project and I get this exception:

[info] - saves local file to HDFS
[error] /Users/dev/git/mleap/mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/LeapFrameScoringController.scala:79:15: not found: value ExceptionUtils
[error]       error = ExceptionUtils.getMessage(ex), backtrace = ExceptionUtils.getStackTrace(ex))
[error]               ^
[error] /Users/dev/git/mleap/mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/LeapFrameScoringController.scala:79:58: not found: value ExceptionUtils
[error]       error = ExceptionUtils.getMessage(ex), backtrace = ExceptionUtils.getStackTrace(ex))
[error]                                                          ^
[error] /Users/dev/git/mleap/mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ProtobufScoringController.scala:12:27: object lang3 is not a member of package org.apache.commons
[error] import org.apache.commons.lang3.exception.ExceptionUtils
[error]                           ^
[error] /Users/dev/git/mleap/mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ProtobufScoringController.scala:91:15: not found: value ExceptionUtils
[error]       error = ExceptionUtils.getMessage(ex), backtrace = ExceptionUtils.getStackTrace(ex))
[error]               ^
[error] /Users/dev/git/mleap/mleap-spring-boot/src/main/scala/ml/combust/mleap/springboot/ProtobufScoringController.scala:91:58: not found: value ExceptionUtils
[error]       error = ExceptionUtils.getMessage(ex), backtrace = ExceptionUtils.getStackTrace(ex))
[error]                                                          ^
[error] 9 errors found

I'm running on MacOS Monterey and with Java 11. Any clue why this is happening? Any help will be much appreciated!

gustavosalazartorres commented 1 year ago

I checked out the main branch

jsleight commented 1 year ago

I'd guess you're getting the wrong version of apache commons somehow. Should have commons-lang3 v3.7