alp carsikarsi wrote:Thanks for your answer Mark Spritzler.
I put all required jars into GlassFish App Server's lib directory but the problem didn't resolve.
I am getting same exception
Which lib directory? There might be two, one for the app server, and one for apps. Also, there might already be a different version of Apache Commons in the app server, and you might need to either include the jar in your ear/war file, and you might have to tell Glassfish to load it in an app specific classloader if there is a conflict with another version out there.
Mark