Hi
You are on the right track but I think you have found a bug, my
guess is that this is a binary incomparability issue with the specs2
version and java 8. If no one else
When this issue is resolved you can take a look at [1] below for
instructions.
I just tried it out and I get the following error when i run 'sbt
test' in the console (see trace bellow)
Note: running 'sbt test' will enable debugging in Eclipse (or it
should) as it will compile the RunWebApp.scala file as instructed
from here [1]
[1]
https://app.assembla.com/spaces/liftweb/wiki/sbt_0_12_and_Eclipse_Indigo
>sbt test
[info] Loading project definition from
/usr/local/proj/private/lift_30_sbt/lift_advanced_bs3/project
[info] Set current project to Lift v3.0 Template Application with
Bootstrap v3 (in build
file:/usr/local/proj/private/lift_30_sbt/lift_advanced_bs3/)
[info] Compiling 2 Scala sources to
/usr/local/proj/private/lift_30_sbt/lift_advanced_bs3/target/scala-2.11/test-classes...
java.lang.ClassCastException:
scala.reflect.internal.Symbols$NoSymbol cannot be cast to
scala.reflect.internal.Symbols$ClassSymbol
at
scala.reflect.internal.Symbols$Symbol.newLinkedModule(Symbols.scala:300)
at
scala.reflect.internal.pickling.UnPickler$Scan.readSymbol(UnPickler.scala:362)
at
scala.reflect.internal.pickling.UnPickler$Scan.run(UnPickler.scala:87)
:
[error] error while loading Action, class file
'/home/peter/.ivy2/cache/org.specs2/specs2_2.11/jars/specs2_2.11-2.3.12.jar(org/specs2/specification/Action.class)'
is broken
[error] (class java.lang.RuntimeException/error reading Scala
signature of Action.class: scala.reflect.internal.Symbols$NoSymbol
cannot be cast to scala.reflect.internal.Symbols$ClassSymbol)
Switching to use
"org.specs2" %% "specs2" % "3.7" %
"test",
compiles as it should but unfortunately running this from inside
Eclipse creates a security exception when trying to "Debug As"
selecting the RunWebApp file, I am not sure how to resolve this, any
suggestions?
Exception in thread "main" java.lang.SecurityException: class
"javax.servlet.HttpConstraintElement"'s signer information does not
match signer information of other classes in the same package
best regards Peter Petersson