• Andy Wilkinson's avatar
    Fix class loading problems when CLI extensions are installed · 270530c4
    Andy Wilkinson authored
    Previously, CLI extensions where installed into the CLI's lib
    directory which meant that they were on the class path of the app
    class loader. Following the change to an executable jar's packaging,
    this meant that they could not see classes in the CLI and a
    ClassNotFoundException would result.
    
    This commit updates the CLI to install extensions into lib/ext and
    load commands using a new ClassLoader that has all of the jars in
    lib/ext on its class path and that uses the launch class loader as
    its parent.
    
    Closes gh-6615
    270530c4
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...