commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: [codec] DigestUtils.md5Hex Exception inside Servlet
Date Thu, 07 Apr 2011 20:19:06 GMT
That's a pretty boring class Java-wise and it seems unlikely that your
container is putting codec in the classpath on its own, so I suspect
the problem is in how you're making the jar available within the
servlet container.

Hen

On Thu, Apr 7, 2011 at 1:23 AM, Fahmi Hachicha <fahmi.hachicha@gmail.com> wrote:
> Hello,
>
> The DigestUtils.md5Hex method generate an exception when used inside a
> Servlet :
>
> java.lang.NoClassDefFoundError: org/apache/commons/codec/digest/DigestUtils
>
> The class DigestUtils works correctly when used in a test class with main
> method in the same project.
>
> The same error appears when it is used in a bean associated to a JSP page
> using MyFaces.
>
> Thanks
> Fahmi
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message