Scala logging error, com.typesafe.scalalogging.LazyLogging.$init$ method not found

送分小仙女□ 提交于 2019-12-13 11:17:01

问题


Hi I tried multiple combinations of including dependencies of scala logging, however I'm getting runtime error as method init not found.

For detailed code and error I'm getting, please have a look here at my Github repository.

PS: I do know there are exisiting similar threads there but all those solutions seems to be not working in my case, so had to create this seperate thread with detailed code and error message.

Any help will be highly appreciated. Thanks in advance.


回答1:


Your import is wrong. It should be

import com.typesafe.scalalogging.LazyLogging 

and not

import com.typesafe.scalalogging.slf4j.LazyLogging


来源:https://stackoverflow.com/questions/45998740/scala-logging-error-com-typesafe-scalalogging-lazylogging-init-method-not-fou

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!