Skip to content

不记得哪个版本升上来的了,现在用一键脚本升级后,就无法访问ip+端口了。 #18

@Whys8182

Description

@Whys8182

一键更新脚本:
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions