How to configure additional classpath in SpringBoot?

前端 未结 3 880
小鲜肉
小鲜肉 2020-12-17 09:14

I want to make a standalone web application. I have some problems with SpringBoot.

My application is one jar file from SpringBoot.

But my application was usu

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 09:55

    In my case, it was needed " quote to find the external lib folder on windows platform

    java -cp ScoreExtractionApp.jar -Dloader.path="lib" -Dloader.main=com.sample.score.ScoreExtraction.ScoreExtractionApplication org.springframework.boot.loader.PropertiesLauncher
    

提交回复
热议问题