SEVERE: Error configuring application listener of class org.apache.catalina.deploy.ApplicationListener

前端 未结 11 1122
遥遥无期
遥遥无期 2020-12-17 15:59

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

相关标签:
11条回答
  • 2020-12-17 16:18

    You have missed some jars like struts-spring plugin

    Use similar versions to get clear output

    0 讨论(0)
  • 2020-12-17 16:21

    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).

    0 讨论(0)
  • 2020-12-17 16:23

    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 ...

    0 讨论(0)
  • 2020-12-17 16:25

    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.

    0 讨论(0)
  • 2020-12-17 16:27

    Remove your application from the server and re deploy your application again.

    0 讨论(0)
提交回复
热议问题