开发者

Scala value slf4j is not a member of package org

开发者 https://www.devze.com 2023-01-07 08:08 出处:网络
I\'m trying get cross compiling between 2.7.7 and 2.8.0.The package is included, this works just fine in 2.7.7.Here\'s the code:

I'm trying get cross compiling between 2.7.7 and 2.8.0. The package is included, this works just fine in 2.7.7. Here's the code:

package bizondemand.utils {
package logging  {

import _root_.org.slf4j.LoggerFactory

/**This code copied and pasted from http://johlrogge.wordpress.com/2009/06/27/loggingtools-in-scala/
 *
 */

I k开发者_如何学编程eep getting the "value slf4j is not a member of package org" error when I compile for 2.8 What's the magic incantation to make this work?


+ update

in sbt, and voila.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号