Closed
Description
When testing verticle extends with org.vertx.scala.platform.Verticle, it would throw an exception.
java.lang.ClassCastException: verticles.SockJSVerticle cannot be cast to org.vertx.java.platform.Verticle
Here is my deploy code:
container.deployVerticle(
classOf[SockJSVerticle].getName,
(ar: AsyncResult[String]) => {
})
Here is my verticle code
import org.vertx.scala.platform.Verticle
class SockJSVerticle extends Verticle {
override def start(future: Future[Void]):Unit = {
start()
}
}