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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to