Write today based on the servlet and JSP and uploadify asynchronous file upload, the results of the control file upload Uploadservlet class is always unable to run, has been reported 404 Not Found, the console will also throw a servlet class ClassNotFound exception. I wrote a simple test servlet that could not be easily tested, either by Web.xml configuration or by the way the annotations were configured.
This happens when the Eclipse software installs or updates a version.
The solution is to use the Eclipse custom Servlet generation method, right button, New,servlet
As shown in the following illustration:
The servlet generated by this way is not faulty, and the servlet that you configure will be in effect after the servlet is generated in this way ... Very helpless and unreasonable to say, this may be a similar and initialization of the process .... .......