与买房相关的种种
git clone https://github.com/xumingming/house.git
cd house
lein ring server
Copyright © 2013 xumingmingv
Distributed under the Eclipse Public License, the same as Clojure.
买房的种种。。。
Home Page: http://fangzi.sinaapp.com/
house.handler里的
(:require [loan.core :refer :all])
应该改为
(:require [house.loan :refer :all])
我本机的环境是
os = win7
jdk = jkd7/jkd6
lein = 1.5.2 / 1.7.1 /2.00
我试过jdk6还有jdk7 试过lein的不同版本,且确保安装没问题
但执行lein ring server出现
Exception in thread "main" java.lang.Exception: EOF while reading (project.clj.....
这样的错误,不知阁下能否帮我解答下问题?
(server/load-views-ns 'zk-web.pages)
(defn -main [& m]
(let [mode (keyword (or (first m) :dev))
port (:server-port (conf/load-conf))]
(server/start port {:mode mode :ns 'zk-web})))
上面两段代码是怎么被执行的?-main方法应该是程序入口,先执行,那(server/load-views-ns 'zk-web.pages) 这句代码是什么时候执行的呢?
clojure入门菜鸟希望能解答下!跪谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.