I am trying to push maven application on Pivotal cloud foundary with following manifest file configuration.
applications:
- name: abc-app
host: abc-app
instances: 1
memory: 1024m
builpack: java_buildpack_beta
path: ./target/abc-7.0.46-SNAPSHOT.war
JAVA_VERSION: 11.0.6
I want to load properties files like bootstrap.properties and server.properties. How to do that? I am getting this exception while doing cf push from cloud foundary CLI.
2021-08-30T19:12:42.97+0530 OUT [CONTAINER] loudAutoReconfigurationServletContainerInitializer INFO Initializing ServletContext with Auto-reconfiguration ApplicationContextInitializers
2021-08-30T19:12:43.03+0530 OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] INFO No Spring WebApplicationInitializer types detected on classpath
2021-08-30T19:12:43.05+0530 ERR java.io.FileNotFoundException: null/bootstrap.properties (No such file or directory)
Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire