java.lang.reflect.InvocationTargetException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

java.lang.reflect.InvocationTargetException

ajaysodhi
Hello folks,

I am working on weblogic 10.3, eclipse and oracle 10g.

Have developed the code which hit the db, populate the contents and save it to the server cache. Using E3CacheUtility for this.

When i run the code on local machine using tomcat, it runs fine.
When i run the code (WAR) on linux machine using weblogic it runs fine.
But when i run the same code (SAME WAR created above)  on staging environment, having linux platform and weblogic (same as of 2nd scenario), it gives: java.lang.reflect.InvocationTargetException exception. 


In the stack trace(below the main error), it gives: java.lang.NoClassDefFoundError whereas this is already there in the WAR file (have seen the war for this, the class file is there in it).

Can anybody have any idea, why i am getting this error? Please suggest me how to solve this??

Thanks in advance..

--
Best regards,
Ajay Sodhi