Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 395 forks source link

Java example fails to run in container / pod #748

Closed mlgibbons closed 6 years ago

mlgibbons commented 6 years ago

The Java example fails as it is generating a JAR file with dependencies (Uber JAR) and the Java pack's Docker file uses the first JAR file that it find i.e. the JAR file without dependencies. The result is that when the container runs a ClassNotFound exception is raised due to the Spark web frameworks classes not being in the JAR file.