Updated on 2024-08-06 GMT+08:00

URL Does Not Exist

Symptoms

The error message "msg":"Failed to access,please make sure that the service is properly started." is displayed.

Cause Analysis

The path of the URL is incorrect.

Solution

  1. Use Xshell to log in to the host where the deployment is performed.
  2. Deploy the action Start Spring Boot again (that is, running the same shell command) and view the printed log details.

  3. Run the preceding command on the remote hosts connected to the local host.

  4. View the Spring Boot startup logs.

    The path of the URL deployed using this version package is /hello01.

  5. Return to the action deployment page and update the URL path.

The Spring Boot service is started by the JAR package, and the Tomcat service is started by the WAR package.