This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes Error 500: Failed to load target servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Error 500: Failed to load target servlet " Watch "Error 500: Failed to load target servlet " New topic

Error 500: Failed to load target servlet

Chad Schmidt

Joined: Nov 04, 2003
Posts: 16
Hello all,
I'm having difficulty running any Web project that uses the jt400.jar on my WS test application server. I am using the Websphere Developer Studio Client for iSeries version 5.0. My test server is set up as a WebSphere Test Applicaiton Server v 5.0. I had some problems with the previous install of the WS Developer Studio Client so I uninstalled and then re-installed it. I have even installed the available patches as found on IBM's support website. Everything seems to work as before except...
Before I uninstalled my client I made a backup of my old workspace folder. I then deleted it from my PC. Once I had re-installed my developer studio client I simply copied the old workspace over the default one and then started the studio client. It came up with no errors but when I try to run any of my previous Web projects, in my old profile, I get the error:
Error 500: Failed to load target servlet[name of servlet].
I'm also getting a error that reads:
[Servlet Error]-[name of servlet]: java.lang.NoClassDefFoundError: com/ibm/as400/access/AS400File
for each servlet I attempt to run that uses the jt400.jar. The jt400.jar is still included in the build path of each of my projects as before so I don't see what is going on. It's like none of my projects can see the jt400.jar even though it is still in the same place. What am I doing wrong?
Does anyone have an idea of what I need to do to get my servlets to run again? I am currently confused about what the "real" problem is.
Thank you,
Chad Schmidt

Chad Schmidt<br />ctschmidt
Vinod Bijlani
Ranch Hand

Joined: Mar 06, 2002
Posts: 133
jt400.jar should be in your war lib not in the build path
I agree. Here's the link:
subject: Error 500: Failed to load target servlet
Similar Threads
Testing Applications in Websphere Studio Enterprise Developer
Error while deploying Enity bean in WSAD 5.1 test envoronment
Problem while deploying EJBBANK ENTITY BEAN in wsad5.1
Problem in deploying entity bean in WSAD5.1