Skip to content

Commit 7cd0a76

Browse files
committed
mysql load issues
1 parent 7e826ad commit 7cd0a76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/session1/java/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ COPY --from=build /tmp/appdir/*.jar /tmp/
3030
# The maven build bundles all dependency names into the manifest of the generated jar file.
3131
# Run "ls /tmp" to see the set of runtime jars that are included.
3232

33-
ENTRYPOINT [ "java", "-jar", "IngestDemo-1.0.jar" ]
33+
# The following stopped working...
34+
# ENTRYPOINT [ "java", "-jar", "IngestDemo-1.0.jar" ]
35+
36+
# Set classpath explicitly
37+
ENTRYPOINT [ "java", "-cp", "mysql-connector-java-8.0.22.jar:IngestDemo-1.0.jar", "org.cdluc3.IngestCLI" ]

0 commit comments

Comments
 (0)