-
Notifications
You must be signed in to change notification settings - Fork 410
Closed
Milestone
Description
An simple boot app, which was running just fine before suddenly stopped launching properly right after the redhat.java extension was updated to version 0.30.0.
The error looks to me like there's something wrong (missing) from the app's runtime classpath. This cause the app to not properly boot up.
Environment
- Operating System: Linux
- JDK version: "1.8.0_181"
- Visual Studio Code version: 1.26.1
493869ee8e8a846b0855873886fc79d480d342de
x64 - Java extension version: 0.30.0
- Java Debugger extension version: 0.12.1
Steps To Reproduce
- unzip attached project hello-world-service.zip
- Open visual studio code from the attached project's folder with
cd hello-world-serviceandcode .. - Press F5 to launch app.
Current Result
Error:
Caused by: java.lang.IllegalStateException: Attempted to load applicationConfig: [classpath:/application.yml] but snakeyaml was not found on the classpath
at org.springframework.boot.env.YamlPropertySourceLoader.load(YamlPropertySourceLoader.java:47)
at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.loadDocuments(ConfigFileApplicationListener.java:542)
at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:515)
... 23 common frames omitted
Expected Result
App starts succesfully. E.g. you can compare to what supposed to happen by running the app from commandline:
./mvnw clean package
java -jar target/*.jar