500 Servlet Exception java.lang.NoSuchMethodError: happening at Runtime on Resin 3-1-2 server.

I am getting the following exception. there is no compilation error while building and deploying the app to resin.

This application is migrated from java version 1.4 and Resin 2-1-17 to
java version - and  Resin - 3-1-2

Can Anyone help me out what could have gone wrong? Looks like some jar file conflict? I am not able to come out with any solution :(  Thanks guys

500 Servlet Exception
java.lang.NoSuchMethodError: com.dmotorworks.lib.cache.CacheSize.sizeOf(Lcom/dmotorworks/lib/GUID;)I
      at com.dmotorworks.sa.theme.Theme.sizeOf(Theme.java:214)
      at com.dmotorworks.lib.cache.CacheSize.sizeOf(CacheSize.java:276)
      at com.dmotorworks.lib.cache.Cache.put(Cache.java:89)
      at com.dmotorworks.sa.theme.ThemesSingleton.initThemes(ThemesSingleton.java:95)
      at com.dmotorworks.sa.theme.ThemesSingleton.<init>(ThemesSingleton.java:68)
      at com.dmotorworks.sa.theme.ThemesSingleton.getInstance(ThemesSingleton.java:59)
      at com.dmotorworks.sa.theme.tag.ElementTag.lookupThemeURL(ElementTag.java:172)
      at com.dmotorworks.sa.theme.tag.ElementTag.lookupThemeURL(ElementTag.java:152)
      at com.dmotorworks.sa.theme.tag.ScriptTag.setSrc(ScriptTag.java:31)
      at _jsp._jsp._error__jsp._jspService(jsp/error.jsp:47)
      at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
      at com.caucho.jsp.Page.pageservice(Page.java:578)
      at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:192)
      at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
      at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
      at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:280)
      at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:115)
      at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:366)
      at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
      at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
      at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
      at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)
      at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)
      at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)
      at java.lang.Thread.run(Thread.java:619)

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

>> Looks like some jar file conflict?

Yes. Check that you're running and compiling against the same version of the dmotorworks classes
Errors like this are usually caused by having two different dmotorworks
jars, either in the class path (check the web apps, the servlet
container's class path and the JRE directories), or in different
web applications calling each other.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kannoseAuthor Commented:
Thanks deepak for directing me to this direction and that was it. I had another app jar file copied under Resin's lib folder, which has the similar package structure and method, hence my current app was calling this method instead of the indented one.  1000 cheers to this help :)
kannose - can you tell me why you ignored my comment?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.