JDK 安装好了,之后 Sunspot 也安装好了,今天使用了一天可是晚上回来就不能用了(同一台机器),
scott@scott-ThinkPad-T420:~/work/dituhui$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
scott@scott-ThinkPad-T420:~/work/dituhui$ javac -version
javac 1.7.0
执行:rake sunspot:solr:start(或者 bundle exec rake sunspot:solr:start)报错
scott@scott-ThinkPad-T420:~/work/dituhui$ rake sunspot:solr:start
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
rake aborted!
Server is already running with PID 0
Tasks: TOP => sunspot:solr:start
(See full trace by running task with --trace)
重启电脑也不行,总说 Server is already running with PID 0
有谁遇到过吗?怎么解决的?