Hey Ben,
Thanks for your reply.
I have searched all over the web and cannot find any reason why I
should be getting that error. I have tried recompiling with different
versions too but no luck.
Sorry Frank… I’m pretty stumped too.
If the commons-codec.jar is on the classpath, it should be
found. And what really sucks is that you have a “no class found” for an
exception… so even once you fix that, it’ll be throwing an
exception.
Yes I have the commons-codec.jar file on the classpath. I am compiling
using the following:
javac -cp
commons-codec-1.2.jar:/var/java/jdk1.5.0_06/lib/xmlrpc-2.0/xmlrpc-2.0.jar:/var/java/jdk1.5.0_06/lib/xmlrpc-2.0.jar:/var/java/jdk1.5.0_06/lib/lucene-core-1.9-rc1.jar:/var/java/jdk1.5.0_06/lib/commons-codec-1.2.jar
SearchServer.java
Hmm, you say you “include the DecoderException class”… you don’t
mean just the .class >> file, right?
Sorry for the confusion. I meant to say I have the following import
statements:
import org.apache.commons.codec.DecoderException;
import org.apache.commons.codec.*;
You can unzip it and look at the package (i.e. directory)
structure inside. You might actually take a look inside the
commons-codec jar and make sure it has DecoderException.
I unzipped the commons-codec.jar file and can see the DecoderException
class:
[root@srv30 test]# unzip commons-codec-1.2.jar
Archive: commons-codec-1.2.jar
creating: META-INF/
inflating: META-INF/MANIFEST.MF
creating: org/
creating: org/apache/
creating: org/apache/commons/
creating: org/apache/commons/codec/
creating: org/apache/commons/codec/binary/
creating: org/apache/commons/codec/language/
creating: org/apache/commons/codec/net/
creating: org/apache/commons/codec/digest/
inflating: org/apache/commons/codec/BinaryDecoder.class
inflating: org/apache/commons/codec/Decoder.class
inflating: org/apache/commons/codec/DecoderException.class
inflating: org/apache/commons/codec/BinaryEncoder.class
inflating: org/apache/commons/codec/Encoder.class
inflating: org/apache/commons/codec/EncoderException.class
inflating: org/apache/commons/codec/StringEncoder.class
inflating: org/apache/commons/codec/StringEncoderComparator.class
inflating: org/apache/commons/codec/binary/Base64.class
inflating: org/apache/commons/codec/binary/Hex.class
inflating:
org/apache/commons/codec/language/DoubleMetaphone$DoubleMetaphoneResult.class
inflating: org/apache/commons/codec/language/DoubleMetaphone.class
inflating: org/apache/commons/codec/language/Metaphone.class
inflating: org/apache/commons/codec/language/RefinedSoundex.class
inflating: org/apache/commons/codec/language/Soundex.class
inflating: org/apache/commons/codec/net/URLCodec.class
inflating: org/apache/commons/codec/StringDecoder.class
inflating: org/apache/commons/codec/digest/DigestUtils.class
inflating: META-INF/LICENSE.txt
I should also point that I have tried both version 1.2 and 1.3 of the
codec file and that the errors do not happen unless a call is made from
my XML-RPC client.
Sorry this is being so difficult… Erik, you still lurking?
Thank you so much to you, Erik and Nick for your assistance so far. I
would love to move forward once my test call goes without any error.
I am also asking the same question on JGuru forum but so far no luck.
If I get an answer I will post it here.
Thanks again guys.
Frank
Ben M. [email protected] wrote: Well, I guess it
might be catching it too, so maybe that won’t be a big deal.
Sorry this is being so difficult… Erik, you still lurking?
b
softwareengineer 99 wrote:
Frank
used cars.
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Rails Blog: http://railsruby.blogspot.com
MySQL Blog: http://mysqldatabaseadministration.blogspot.com
Linux / Security Blog: http://frankmash.blogspot.com