First, I suggest you to test running the App locally to see if it works as expected and then deploy it to Azure App Service. If it works locally and not in App Service, please open a support ticket in Azure and we can better assist you finding out what's going on.
Azure App Service: deploying java resource
Hi,
I'm using Azure's maven plugin to deploy my Java project to Azure app service. My project includes one excel file as a resource. This excel file is properly referenced inside my .pom file and when I run maven's package command to deploy the project to Azure, the command returns success for both the .jar file and the excel resource file.
Problem is while the app runs successfully, it is unable to find the excel file. I also tried to manually login to the default local storage assigned for my app service, and it doesn't show the Excel file anywhere. My question is where are both .jar and .xlsx files being copied in Azure app service and is there a way that I could have the .xlsx file deployed to default local storage, let's say, in home directory???
Best Regards
1 answer
Sort by: Most helpful
-
Joaquin Vano 76 Reputation points Microsoft Employee
2021-08-13T02:50:11.217+00:00