I guess this exception is thrown at EJB level but you might have the jar in WEB-INF/lib.
That wouldn't work. you should throw that jar in common/lib so that it's picked by EJBs
Thanks for your response. It's a mistake in my deployment. I did not include common-codec.jar as a module in application.xml.
Feel silly about it now
i m recently deploying my projects in jboss7 i m also getting same error.
In jboss7 eveything should be added in ear module, so if we want to add external jar just create one lib folder in ear projects and in application.xml add