Closed philoskim closed 10 years ago
Thanks for your remind. I think you mean [org.vertx.java.core.http CaseInsensitiveMultiMap]
The package for CaseInsensitiveMultiMap changed between 2.1M1 and 2.1M2 because it became part of the public API. We don't yet support 2.1M2, but will soon. I may be able to make that happen today.
This will be fixed in 0.4.0, which will be out this week. You can try it now by using 0.4.0-SNAPSHOT
in your langs.properties
.
Thanks a lot for your instant reply and great contribution to this project. In addition, I hope that you will improve the embed.clj as soon as possible, because it is too inconvenient that vertx execution is not integrated inside leiningen.
@philoskim - I'll try to get the embed stuff finished up for 0.5.0. In the meantime, have you seen https://github.com/isaiah/lein-vertx? To use it with 2.1M2 & mod-lang-clojure 0.4.0, you'll have to check it out and install it with lein install
. Then lein new vertx foo
, edit foo/project.clj
to use lein-vertx 0.2.0-SNAPSHOT
. But with that, you should be able to manage your project with leiningen.
I encountered the following error on Vert.x version 2.1M2 when executing one of the examples given in this project.
$ vertx run eventbusbridge/bridge-server.clj Stopping clojure verticle: eventbusbridge/bridge-server.clj Failed in deploying verticle java.lang.ClassNotFoundException: org.vertx.java.core.impl.CaseInsensitiveMultiMap at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ..............
I found the solution of the failure so, please correct the following line
;; on the line 25 in http.clj (:import [org.vertx.java.core.impl CaseInsensitiveMultiMap]))
to the next one.
(:import [org.vertx.java.core CaseInsensitiveMultiMap]))