79506963

Date: 2025-03-13 15:55:29
Score: 0.5
Natty:
Report link

To achieve this, you need to ensure that the config directory is added to the classpath and that the lib directory is included for additional JARs. Here is how you can do it:

java -cp "MyApp.jar:lib/*" -Dspring.config.location=./config/application.properties org.springframework.boot.loader.JarLauncher
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ali BOUHLEL