Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while testing root project #853

Open
gustavosalazartorres opened this issue Jun 21, 2023 · 2 comments
Open

Error while testing root project #853

gustavosalazartorres opened this issue Jun 21, 2023 · 2 comments

Comments

@gustavosalazartorres
Copy link

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
Copy link
Author

I checked out the main branch

@jsleight
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants