-
Notifications
You must be signed in to change notification settings - Fork 73
Description
一键更新脚本:
bash <(wget -qO- https://github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
日志如下:
2025-07-10 12:40:41 INFO Starting OciHelperApplication using Java 21.0.7 with PID 6 (/app/oci-helper/oci-helper.jar started by root in /app/oci-helper)
2025-07-10 12:40:41 INFO No active profile set, falling back to 1 default profile: "default"
2025-07-10 12:40:49 INFO Tomcat initialized with port 8818 (http)
2025-07-10 12:40:49 INFO Starting service [Tomcat]
2025-07-10 12:40:49 INFO Starting Servlet engine: [Apache Tomcat/10.1.18]
2025-07-10 12:40:50 INFO Initializing Spring embedded WebApplicationContext
2025-07-10 12:40:50 INFO Root WebApplicationContext: initialization completed in 8879 ms
2025-07-10 12:40:52 WARN Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'trafficStatisticsController': Injection of resource dependencies failed
2025-07-10 12:40:52 INFO Stopping service [Tomcat]
2025-07-10 12:40:52 INFO
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-07-10 12:40:52 ERROR
APPLICATION FAILED TO START
Description:
Failed to bind properties under 'spring.datasource.type' to java.lang.Class<javax.sql.DataSource>:
Property: spring.datasource.type
Value: "com.alibaba.druid.pool.DruidDataSource"
Origin: URL [file:application.yml] - 13:11
Reason: failed to convert java.lang.String to java.lang.Class<javax.sql.DataSource> (caused by java.lang.ClassNotFoundException: com.alibaba.druid.pool.DruidDataSource)
Action:
Update your application's configuration