xsbt plugin 1.0.0-M7 and scalatra

2019-03-04 02:22发布

问题:

I have tried upgrading the xsbt plugin to 1.0.0-M7 in my scalatra project but scalatra does not seem to be compatible with this version. When I try to reload my project I get the error below. I have tried with version 2.3.0 of scalatra

Regards Des

java.lang.NoClassDefFoundError: com/earldouglas/xsbtwebplugin/PluginKeys$
    at org.scalatra.sbt.ScalatraPlugin$.<init>(ScalatraPlugin.scala:15)
    at org.scalatra.sbt.ScalatraPlugin$.<clinit>(ScalatraPlugin.scala)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:270)
    at sbt.ModuleUtilities$.getObject(ModuleUtilities.scala:13)
    at sbt.Load$.loadPlugin(Load.scala:644)
    at sbt.Load$$anonfun$loadPlugins$1.apply(Load.scala:641)
    at sbt.Load$$anonfun$loadPlugins$1.apply(Load.scala:641)
    at scala.collection.immutable.Stream$$anonfun$map$1.apply(Stre...