将文件已经部署到tomcat ROOT文件下,但是HTTP Status 404 – Not Found Type Status Report Description The origin server did not find a current representation for the t

老刘123456 2020-01-02 6798浏览

HTTP Status 404 – Not Found Type Status Report

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.0.M18

=========================================

# \u6570\u636E\u5E93\u5E73\u53F0

spring.jpa.database-platform=MySQL5InnoDB

# \u6570\u636E\u5E93\u8FDE\u63A5URL

#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jspxcms?characterEncoding=utf8

#spring.datasource.url=jdbc:mysql://{host}:{port}/{name}?characterEncoding=utf8
spring.datasource.url=jdbc:mysql://101.222.112.121:3306/jspxcms?characterEncoding=utf8

# \u6570\u636E\u5E93\u7528\u6237\u540D

#spring.datasource.username=root

#spring.datasource.username={user}
spring.datasource.username=root

# \u6570\u636E\u5E93\u5BC6\u7801

#spring.datasource.password=password

#spring.datasource.password={password}
spring.datasource.password=shubo

# \u6570\u636E\u5E93\u9A71\u52A8

spring.datasource.driver-class-name=com.mysql.jdbc.Driver

上述需要修改的地方已经修改。

评论 2020-01-03 修改 by support
1 回答

我来回答

请先登录再回答问题
点击查看大图插件