2018-04-25 19:05:25.631 [main] DEBUG o.s.b.l.ClasspathLoggingApplicationListener - Application started with classpath: [file:/home/hy/.config/Code/User/workspaceStorage/ba2cf95c797f088fa9dda0a92a06956c/vscjava.vscode-java-test/1524654324177/path.jar]
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.7.RELEASE)
2018-04-25 19:05:25.770 [main] INFO c.s.y.w.c.b.ActiveCodeControllerTest - Starting ActiveCodeControllerTest on hy-OptiPlex-3020 with PID 12191 (started by hy in /home/hy/workspace-vscode/java)
2018-04-25 19:05:25.777 [main] INFO c.s.y.w.c.b.ActiveCodeControllerTest - The following profiles are active: dev
2018-04-25 19:05:25.777 [main] DEBUG o.s.boot.SpringApplication - Loading source class com.shouyinjia.yangka.ApiApplication
2018-04-25 19:05:26.115 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.3.5.Final
2018-04-25 19:05:26.268 [main] DEBUG o.s.b.c.c.ConfigFileApplicationListener - Activated profiles dev
2018-04-25 19:05:26.269 [main] DEBUG o.s.b.c.c.ConfigFileApplicationListener - Loaded config file 'file:/home/hy/workspace-vscode/java/demo-b-api/target/classes/application.yml' (classpath:/application.yml)
2018-04-25 19:05:26.271 [main] DEBUG o.s.b.c.c.ConfigFileApplicationListener - Loaded config file 'file:/home/hy/workspace-vscode/java/demo-b-api/target/classes/application-dev.yml' (classpath:/application-dev.yml)
2018-04-25 19:05:26.273 [main] DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped (empty) config file 'file:/home/hy/workspace-vscode/java/demo-b-api/target/classes/application-dev.yml' (classpath:/application-dev.yml) for profile dev
2018-04-25 19:05:26.275 [main] DEBUG o.s.b.c.c.ConfigFileApplicationListener - Skipped (empty) config file 'file:/home/hy/workspace-vscode/java/demo-b-api/target/classes/application.yml' (classpath:/application.yml) for profile dev
2018-04-25 19:05:26.276 [main] INFO o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@561868a0: startup date [Wed Apr 25 19:05:26 CST 2018]; root of context hierarchy
thanks for the info, @JavaHello . Seems class path isn't well resolved when a workspace contains multiple projects. Right now, you can workaround it by multiroot workspace, namely
opening the folder that contains projectA
file -> add folder to workspace->choose the folder that contains projectB
save workspace.