yuntians / paoding

Automatically exported from code.google.com/p/paoding
0 stars 0 forks source link

JDK 1.5 兼容问题 #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
version:paoding-analysis-2.0.4-alpha2

发布到tomcat上抱这个错
jdk:jdk1.5.0_14
linux:Red Hat Enterprise Linux AS release 4 (Nahant)

看了src,确实是在1.5下编译不了,是否这个版本不支持1.5了?

Exception in thread "Thread-33" java.lang.NoSuchMethodError: 
java.io.File.setWritable(Z)Z
        at 
net.paoding.analysis.analyzer.impl.MostWordsModeDictionariesCompiler.compil
eVocabulary(MostWordsModeDictionariesCompiler.java:191)
        at 
net.paoding.analysis.analyzer.impl.MostWordsModeDictionariesCompiler.compil
e(MostWordsModeDictionariesCompiler.java:67)
        at net.paoding.analysis.knife.PaodingMaker$1.run
(PaodingMaker.java:377)
        at net.paoding.analysis.knife.PaodingMaker.implMake
(PaodingMaker.java:370)
        at net.paoding.analysis.knife.PaodingMaker.make
(PaodingMaker.java:111)
        at net.paoding.analysis.analyzer.PaodingAnalyzer.init
(PaodingAnalyzer.java:73)
        at net.paoding.analysis.analyzer.PaodingAnalyzer.<init>
(PaodingAnalyzer.java:59)
        at net.paoding.analysis.analyzer.PaodingAnalyzer.<init>
(PaodingAnalyzer.java:52)

Original issue reported on code.google.com by zhiguoc...@gmail.com on 28 Nov 2007 at 2:30

GoogleCodeExporter commented 8 years ago
使用JDK5.0进行开发的用户还是挺多的。此问题应该尽快解决��
�

Original comment by aiwuy...@gmail.com on 10 Dec 2007 at 7:34

GoogleCodeExporter commented 8 years ago
svn上的代码能够在1.4+
但download list中的还只能在6.0下运行。

请大家麻烦点自行从Svn check out出代码,运行build.bat生成jar

Original comment by qieqie.wang on 17 Mar 2008 at 3:11

GoogleCodeExporter commented 8 years ago
OK,收到回复!

Original comment by aiwuy...@gmail.com on 24 Mar 2008 at 2:53

GoogleCodeExporter commented 8 years ago
弱弱问一下,这里说的svn在哪里??

Original comment by wxf1...@gmail.com on 26 Feb 2014 at 8:43

GoogleCodeExporter commented 8 years ago
哦哦,找到了,果然很管用,谢谢各位!

Original comment by wxf1...@gmail.com on 26 Feb 2014 at 10:33