martinklepsch / tenzing

⚡️ Clojurescript application template using Boot
Eclipse Public License 1.0
403 stars 39 forks source link

httpkit-related ClassNotFound error on start #44

Closed ghost closed 8 years ago

ghost commented 8 years ago

Running boot 2.4.1 with a fresh project created with lein new tenzing foo +reagent +sass.

error log

$ boot dev
temp-dir! was deprecated, please use tmp-dir! instead
Writing boot_cljs_repl.cljs...
             clojure.lang.ExceptionInfo: java.lang.NoClassDefFoundError: clojure/lang/IFn, compiling:(org/httpkit/server.clj:23:11)
    data: {:file "/tmp/boot.user3779293133337330592.clj", :line 21}
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: clojure/lang/IFn, compiling:(org/httpkit/server.clj:23:11)
clojure.lang.Compiler$CompilerException: java.lang.NoClassDefFoundError: clojure/lang/IFn, compiling:(org/httpkit/server.clj:23:11)
         java.lang.NoClassDefFoundError: clojure/lang/IFn
       java.lang.ClassNotFoundException: clojure.lang.IFn
                                             ...                                        
                            clojure.core/load/fn                          core.clj: 5866
                               clojure.core/load                          core.clj: 5865
                                             ...                                        
                           clojure.core/load-one                          core.clj: 5671
                        clojure.core/load-lib/fn                          core.clj: 5711
                           clojure.core/load-lib                          core.clj: 5710
                                             ...                                        
                              clojure.core/apply                          core.clj:  632
                          clojure.core/load-libs                          core.clj: 5749
                                             ...                                        
                              clojure.core/apply                          core.clj:  632
                            clojure.core/require                          core.clj: 5832
                                             ...                                        
adzerk.boot-reload.server/eval54/loading--auto--                        server.clj:    1
                adzerk.boot-reload.server/eval54                        server.clj:    1
                                             ...                                        
                            clojure.core/load/fn                          core.clj: 5866
                               clojure.core/load                          core.clj: 5865
                                             ...                                        
                           clojure.core/load-one                          core.clj: 5671
                        clojure.core/load-lib/fn                          core.clj: 5711
                           clojure.core/load-lib                          core.clj: 5710
                                             ...                                        
                              clojure.core/apply                          core.clj:  632
                          clojure.core/load-libs                          core.clj: 5749
                                             ...                                        
                              clojure.core/apply                          core.clj:  632
                            clojure.core/require                          core.clj: 5832
                                             ...                                        
                           boot.pod/eval-fn-call                           pod.clj:  182
                               boot.pod/call-in*                           pod.clj:  191
                                             ...                                        
                               boot.pod/call-in*                           pod.clj:  194
                 adzerk.boot-reload/start-server                   boot_reload.clj:   26
                   adzerk.boot-reload/eval396/fn                   boot_reload.clj:   79
                                             ...                                        
                              clojure.core/apply                          core.clj:  630
                      boot.user/eval639/fn/fn/fn  boot.user3779293133337330592.clj:   15
                                             ...                                        
                            boot.user/eval577/fn  boot.user3779293133337330592.clj:   11
                                             ...                                        
                            boot.user/eval692/fn  boot.user3779293133337330592.clj:   17
                                             ...                                        
                              clojure.core/apply                          core.clj:  630
                       boot.core/construct-tasks                          core.clj:  684
                                             ...                                        
                              clojure.core/apply                          core.clj:  630
                               boot.core/boot/fn                          core.clj:  712
             clojure.core/binding-conveyor-fn/fn                          core.clj: 1916
                                             ...  
martinklepsch commented 8 years ago

@talexand thanks for the report. the issue has been fixed in boot. you will need to download the latest binary from the releases page: https://github.com/boot-clj/boot/releases/tag/2.4.1

ghost commented 8 years ago

No dice :(

Built boot from source using 2.4.1 tagged commit, deleted ~/.boot, and repeated install process with newly built boot.sh. Same error as above.

boot -h
Boot App Version: 2.4.1
Boot Lib Version: 2.4.1
Clojure Version:  1.7.0
Clojure name: org.clojure/clojure
martinklepsch commented 8 years ago

@talexand can you run boot -V?

ghost commented 8 years ago

Sure, here it is.

boot -V output:

#https://github.com/boot-clj/boot
#Tue Oct 27 10:32:03 PDT 2015
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.4.1
BOOT_CLOJURE_VERSION=1.7.0
#App version: 2.4.1
martinklepsch commented 8 years ago

@talexand and build from source master please. I think that might be it.

ghost commented 8 years ago

That did it. Thanks!

martinklepsch commented 8 years ago

@talexand sorry for the trouble & have fun! :)