It's not a secret anymore!*
The moose likes Struts and the fly likes TargetException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "TargetException" Watch "TargetException" New topic


Amit Indore
Ranch Hand

Joined: Jun 20, 2008
Posts: 31
Hello All,
I am running web application and i am facing the problem

Error is java.lang.reflect.InvocationTargetException.

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

Please help me and sole my problem.

Amit Jain
Sammy Chen

Joined: Nov 28, 2008
Posts: 3
hi Amit,

Do you use the same version of JDK in your development IDE and the server?
Check it, if not please fix it then try again.

wood burning stoves
subject: TargetException