This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I created a simple spring application using a simple database with a table on which I do read,store,delete and update operations.When I click the submit button in the welcome page there is an error that shows,
Http Status 404- Servlet DataAccessServlet is currently unavailable. I use Eclipse IDE. Help me to solve this problem. I provided my code.
Well, the root of the problem is probably NoClassDefinitionFoundError org/springframework/core/io/Resource and so the container just stops initializing everything in web.xml so your DataAccessServlet isn't even initialized in the container which is why you get a 404.
I'm moving this to the Application Frameworks forum as this is about Spring and not servlets.
I included the spring.jar file in the classpath by choosing properties popup option of the project,have selected the java build path option and clicked the Add external jars button to add the spring.jar file.