The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/runtime-properties-launcher has failed.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
21172823296426b775f9ffc5e66e07443debddff / lizhimins <[email protected]>
fix(docker): launch the runtime with PropertiesLauncher so the MySQL driver 
loads

mysql-connector-j is excluded from the fat JAR (GPL, ASF Category X) and 
downloaded into
/app/lib at image build time, with LOADER_PATH pointing at it. But `java -jar` 
runs the
Main-Class that spring-boot-maven-plugin writes, which is JarLauncher, and 
JarLauncher does
not read LOADER_PATH — so the driver was never on the classpath and the 
container failed at
startup with "Cannot load driver class: com.mysql.cj.jdbc.Driver". 
PropertiesLauncher is the
launcher that honours loader.path and it is already inside the JAR.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/38230351985

With regards,
GitHub Actions via GitBox

Reply via email to