- 添加 mt-pay.2025-12-26.log 启动日志记录 - 添加 mt-pay-error.2025-12-26.log 错误日志记录 - 记录 PayPal 配置加载验证信息 - 记录 MyBatis-Plus 分页插件初始化信息 - 记录 Druid 数据源配置完成信息 - 记录系统启动成功和失败状态日志
83 lines
9.2 KiB
Plaintext
83 lines
9.2 KiB
Plaintext
2025-12-26 15:45:25.027 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
|
||
2025-12-26 15:45:25.071 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 27200 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
|
||
2025-12-26 15:45:25.071 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
|
||
2025-12-26 15:45:26.484 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
|
||
2025-12-26 15:45:26.485 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
|
||
2025-12-26 15:45:26.485 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
|
||
2025-12-26 15:45:26.531 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
|
||
2025-12-26 15:45:26.585 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
|
||
2025-12-26 15:45:26.585 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
|
||
2025-12-26 15:45:26.586 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
|
||
2025-12-26 15:45:26.586 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
|
||
2025-12-26 15:45:26.586 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
|
||
2025-12-26 15:45:26.586 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
|
||
2025-12-26 15:45:26.586 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
|
||
2025-12-26 15:45:26.586 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Webhook URL: ✅ https://2646b437.r33.cpolar.top/api/paypal/webhook
|
||
2025-12-26 15:45:26.586 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
|
||
2025-12-26 15:45:26.601 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件,数据库类型: MYSQL
|
||
2025-12-26 15:45:26.605 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
|
||
2025-12-26 15:45:26.609 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
|
||
2025-12-26 15:45:26.609 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
|
||
2025-12-26 15:45:26.661 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成,URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||
2025-12-26 15:45:27.295 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient,配置JSON消息转换器
|
||
2025-12-26 15:45:27.446 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
|
||
2025-12-26 15:45:27.452 [restartedMain] INFO com.mtkj.mtpay.config.AsyncConfig - PayPal Webhook异步处理线程池初始化完成
|
||
2025-12-26 15:45:27.505 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许来源: *
|
||
2025-12-26 15:45:27.529 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
|
||
2025-12-26 15:45:27.881 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
|
||
2025-12-26 15:45:27.898 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 3.497 seconds (process running for 5.039)
|
||
2025-12-26 15:45:27.901 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
|
||
╔══════════════════════════════════════════════════════════╗
|
||
║ ║
|
||
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
|
||
║ ║
|
||
╠══════════════════════════════════════════════════════════╣
|
||
║ 应用信息 ║
|
||
╠══════════════════════════════════════════════════════════╣
|
||
║ 应用名称: {:<45} ║
|
||
║ 运行环境: {:<45} ║
|
||
║ 服务端口: {:<45} ║
|
||
╠══════════════════════════════════════════════════════════╣
|
||
║ 访问地址 ║
|
||
╠══════════════════════════════════════════════════════════╣
|
||
║ 后端服务: {:<45} ║
|
||
║ API接口: {:<45} ║
|
||
║ Druid监控: {:<45} ║
|
||
╠══════════════════════════════════════════════════════════╣
|
||
║ 状态: 🟢 服务运行中,可以接收请求 ║
|
||
╚══════════════════════════════════════════════════════════╝
|
||
|
||
2025-12-26 15:45:27.901 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
|
||
📌 提示:
|
||
- 前端地址: https://shopd.mtkj2025.com
|
||
- 后端API地址: https://shopd.mtkj2025.com:8082//api
|
||
- 图片上传接口: https://shopd.mtkj2025.com:8082//api/product/upload/image
|
||
- 商品管理接口: https://shopd.mtkj2025.com:8082//api/product
|
||
|
||
2025-12-26 15:45:27.906 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
|
||
╔══════════════════════════════════════════════════════════╗
|
||
║ ║
|
||
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
|
||
║ ║
|
||
╚══════════════════════════════════════════════════════════╝
|
||
|
||
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
|
||
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
|
||
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
|
||
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
|
||
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
|
||
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
|
||
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
|
||
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
|
||
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
|
||
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
|
||
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
|
||
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
|
||
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
|
||
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
|
||
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
|
||
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
|
||
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
|
||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
|
||
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:42)
|