Tomcat is not deploying my web project from Eclipse

后端 未结 17 1711
被撕碎了的回忆
被撕碎了的回忆 2021-02-02 09:01

I\'m developing web application. Everything was working fine till yesterday.

Something happened yesterday (no idea what exactly) and Eclipse is not deploying my applicat

相关标签:
17条回答
  • 2021-02-02 09:51

    I have this similar problem where I'm able to start the tomcat server but however application not initialized or started, so I have Right clicked on my project --> Deployment Assembly --> Click 'Add' in the right side panel, select 'Java Build path entries' and click 'Next', Now select 'Maven dependencies' and click 'Finish'. Now I run the server and it started the application successfully.


    0 讨论(0)
  • 2021-02-02 09:56

    Have you check your deploy path in Server Locations? May be your tomcat deploy path changed and Eclipse is not deploying your application.

    In eclipse.

    1. Window -> Show View -> Servers.
    2. Double click to your server.
    3. In Tomcat Server's Overview.

      3.1 check your Server Path

      3.2 check your Deploy Path

    0 讨论(0)
  • 2021-02-02 09:58

    Maybe the deploy Maven assembly in project properties is missing:

    0 讨论(0)
  • 2021-02-02 10:00

    Same problem, not sure why it occurred only after upgrading from Spring v3.2.x to v4.2.x.

    Solved it by doing the following:

    1. Clear all eclipse files [.classpath, .project, .settings/].
    2. Perform >mvn eclipse:eclipse
    3. Perform eclipse>project>properties>deployment assembly add [referenced projects, additional classpaths].

    Publish and Start the module in Tomcat tab, it now starts properly.

    0 讨论(0)
  • 2021-02-02 10:00

    I fixed this issue, this way:

    1. Stop the Server
    2. Remove the previous Deploy that You did
    3. Clean it
    4. Deploy it again
    0 讨论(0)
提交回复
热议问题