Closed coffeeaddict closed 10 years ago
Not sure about that yet. Are you using Scala 1.0.0-RC1 in your langs.properties? Can you try with 0.3.0? Maybe that's still an issue. I'm trying to update to Scala 1.0.0-RC1 but have trouble with the new VertxExecutionContext. Hopefully this will be resolved soon.
Unexpected exception in Ruby verticle
java.lang.AbstractMethodError: io.vertx.asyncsql.Starter.setVertx(Lorg/vertx/scala/core/Vertx;)V
at org.vertx.scala.platform.impl.ScalaVerticle.setVertx(ScalaVerticle.scala:51)
at org.vertx.scala.platform.impl.ScalaVerticle$.newVerticle(ScalaVerticle.scala:37)
at org.vertx.scala.platform.impl.ScalaVerticleFactory.createVerticle(ScalaVerticleFactory.scala:72)
at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1269)
at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:170)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:348)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
at java.lang.Thread.run(Thread.java:744)
Same thing, different output...
Perhaps mixing and matching this with Ruby is not the best of ideas :smirk:...
Just to be sure: You've tried Scala lang 0.3.0 and the master branch of this module (0.3.0-SNAPSHOT)?
:scream: it works now!
Thx for the help; perhaps these learned lessons need a place in the readme? :wink:
What is the ETA for this to update to scala lang 1.0.x?
@coffeeaddict do you have to change your module to scala lang 0.3.0 or just postgres mod's scala lang to 0.3.0?
When trying to use this in a ruby-verticle like so:
where
server.rb
looks like:it throws this error:
What is wrong?