You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/tutorial-java-tomcat-mysql-app.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -529,17 +529,14 @@ azd down
529
529
## Troubleshooting
530
530
531
531
- [I see many \<Class> scanned from multiple locations warnings with mvn jetty:run](#i-see-many-class-scanned-from-multiple-locations-warnings-with-mvn-jettyrun)
532
-
- [The deployed sample app doesn't show the tasks list app](#the-deployed-sample-app-doesnt-show-the-tasks-list-app)
533
532
- [The portal deployment view for Azure Database for MySQL Flexible Server shows a Conflict status](#the-portal-deployment-view-for-azure-database-for-mysql-flexible-server-shows-a-conflict-status)
533
+
- [The deployed sample app doesn't show the tasks list app](#the-deployed-sample-app-doesnt-show-the-tasks-list-app)
534
+
- [I see a 404 Page Not Found error in the deployed sample app](#i-see-a-404-page-not-found-error-in-the-deployed-sample-app)
534
535
535
536
#### I see many \<Class> scanned from multiple locations warnings with mvn jetty:run
536
537
537
538
You can ignore the warnings. The Maven Jetty plugin shows the warnings because the app's *pom.xml* contains the dependency for`jakarta.servlet.jsp.jstl`, which the Jetty already provides out of the box. You need the dependency for Tomcat.
538
539
539
-
#### The deployed sample app doesn't show the tasks list app
540
-
541
-
If you see a `Hey, Java developers!` page instead of the tasks list app, it's most likely still loading the updated container from your most recent code deployment. Wait a few minutes and try again.
542
-
543
540
#### The portal deployment view for Azure Database for MySQL Flexible Server shows a Conflict status
544
541
545
542
Depending on your subscription and the region you select, you may see the deployment status forAzure Database for MySQL Flexible Server to be `Conflict`, with the following messagein Operation details:
@@ -548,6 +545,14 @@ Depending on your subscription and the region you select, you may see the deploy
548
545
549
546
This is most likely because there's a limit on your subscription for the region you select. Try choosing a different region for your deployment.
550
547
548
+
#### The deployed sample app doesn't show the tasks list app
549
+
550
+
If you see a `Hey, Java developers!` page instead of the tasks list app, App Service is most likely still loading the updated container from your most recent code deployment. Wait a few minutes and refresh the page.
551
+
552
+
#### I see a 404 Page Not Found error in the deployed sample app
553
+
554
+
Make sure that you made the code changes to use the `java:comp/env/jdbc/AZURE_MYSQL_CONNECTIONSTRING_DS` data source. If you have made the changes and have redeployed your code, App Service is most likely still loading the updated container. Wait a few minutes and refresh the page.
555
+
551
556
## Frequently asked questions
552
557
553
558
- [How much does this setup cost?](#how-much-does-this-setup-cost)
0 commit comments