Here this is my error when I am trying to run the web.xml
of my project in Eclipse.
This is the main error that I am facing when I am trying to run the
You have missed some jars like struts-spring plugin
Use similar versions to get clear output
This would periodically happen with me. Even though the dependency was correct and even though I had previously started the server in Eclipse with no problems. However, if I would change code while the server was running, sometimes I would get this problem.
I would remove the application from the server. Start the server. Stop the server. Then, re-run 'mvn eclipse:eclipse -Dwtpversion=2.0" (probably similar to Project->Clean).
Then, hit F5 to Refresh the project. Add the application to the server. Start the server.
Sometimes changing code while the server is running or if it is stopped incorrectly, this also blocks the port (sometimes shutting down eclipse or restarting my computer is required).
1) Right-click on the project's then select "Properties".
2) select "Deployment Assembly"
3) Click the "Add button" on the right side.
4) Select "Java Build Path Entries" from the menu of Directive Type and then click on "Next" button.
5) And Select the "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".
6) Delete the old server instance and create the new one then run the project on the server ...
I experienced a similar issue whenever I checked out my project fresh from the SVN repository and this worked for me:-
1) Clean the Server. TopBarMenu>Project>Clean
2) Disable Automatic Building. TopBarMenu>Project>Uncheck Build Automatically
3) Manually Build the Project. TopBarMenu>Project>Build
Alternatively, RightClick the Project you want to Build and click Build Project (above refresh). (Note: This option is hidden if projects are set to build automatically)
4) Run the project.
Remove your application from the server and re deploy your application again.