我建立使用Lucene拼寫檢查,並得到一個無法加載主類清單Lucene的拼寫檢查
Failed to load Main-Class manifest attribute from
/lib/lucene-spellchecker-2.3.2.jar
該文件是在正確的道路一拉:
javac -Xlint:unchecked -cp lib/lucene-core-2.9.0.jar;lib/lucene-spellchecker-2.3.2.jar -source 1.5 -target 1.5 \
-d bin/ `find src/ -name *.java`
我是什麼在這裏失蹤?
你可能會考慮使用Ant來調用你的編譯器,而不是'find'。 – 2011-04-19 20:09:00