File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.

I agree. Here's the link:
subject: TargetException
It's not a secret anymore!