Skip to content

Can't run with Clojuer #27

@gdulus

Description

@gdulus

Hey

I'm trying to use your module in Vert.x + Clojure + lein-vert combo, but i have an exception

java.lang.ClassNotFoundException: MessagebusserviceCoreInit.clj 

My project.clj

(defproject messagebusservice "0.1.0-SNAPSHOT"
            :description "FIXME: write description"
            :url "http://example.com/FIXME"
            :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"}
            :repositories {"mod-socket-io" "https://github.com/keesun/mvn-repo/raw/master"}
            :dependencies [[org.clojure/clojure "1.6.0"]
                           [com.nhncorp/mod-socket-io "1.0.1"]
                           [org.javassist/javassist "3.19.0-GA"]]
            :plugins [[lein-vertx "0.3.1"]]
            :vertx {:main       messagebusservice.core/init
                    :author     "FIXME: Your name"
                    :keywords   ["FIXME: keywords"]
                    :developers ["FIXME: other developers"]})

My corej.clj

(ns messagebusservice.core
  (:require [vertx.core :as vertx]))

(defn init
  []
  (vertx/periodic 1000
                  (println "I'm working!")))

Is it supported at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions