iam trying to deploy my spring / angular website on cpanel i already did these instructions :
Created a dist folder in angular project main directory
Copied all those files from dist folder to “src/main/resources” directory of your java project.
then did a maven build using package and got a war folder.
my application.properties:
spring.datasource.url=jdbc:mysql://localhost:3306/izshold3_quantum_db
spring.datasource.username=izshold3_root
spring.datasource.password=******
upload.dir=/home/izhold3/public_html/images
upload.brandDir=/home/izhold3/public_html/brandImages
spring.resources.static-locations=classpath:/static/
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
in cpanel dedicated tomcat iam using project mapping priceList
and i placed the priceList.war inside the webapps folder
catalina.out logs iam getting these errors :
1st : Error creating bean with name 'productImageController': Injection of autowired dependencies failed 2nd : Could not resolve placeholder 'upload-dir' in value "${upload-dir}"*
in development the website works smoothly no errors
what should i do ?