Today, when I was working on the student information management system, I just ran tomcat and opened the web page and clicked on the student table.
program could not go when I went to the Servlet. I checked the content of the Servlet and found that there was no mistake, and there was no problem after I looked at the interface implementation of Dao layer.
Finally, I thought about it and found that My Mysql was turned off when I ran PHPstudy yesterday. Then I opened the service and found that my Mysql was in a stopped state.
here because yesterday when using PHPStudy, because the integrated environment in PHPStudy contains Mysql, when Mysql on our computer is turned on, Mysql in PHPStudy cannot run. So I shut down Mysql on my computer.
So if we right click on Mysql, we can start, and Mysql is up and running, and our project is running successfully.
Read More:
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- Resolve zuul the HTTP status 500 – internal server error error error displayed after startup
- The web project removal server reports an error, and the web project in eclipse cannot be automatically deployed to Tomcat
- Idea can’t find the solution of XML configuration by running project prompt through external Tomcat
- Tomcat error: 500 The server encountered an internal error that prevented it from fulfilling this request
- Resolution of internal server error problem in diango project
- HTTP 405 Error: Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
- Server Tomcat v7.0 server at localhost failed to start
- asp.net HTTP error 500.24 – internal server error
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
- Server Tomcat v8.0 Server at localhost failed to start.
- HTTPError HTTP Error 500 INTERNAL SERVER ERROR
- [Solved] Tomcat Failed to Start Error: Server Tomcat v8.5 Server at localhost failed to start
- IIS 7.5, ASP.NET MVC. HTTP error 500 (internal server error), but debugging does not enter the background, the browser only reports 500 errors
- Solve the problem of There was an unexpected error (type=Internal Server Error, status=500) (using Thymeleaf to report an error)
- Could not publish server configuration for Tomcat v8.5 server at localhost
- Tomcat error parsing HTTP request header
- Error running ‘Tomcat 9‘: Address localhost:1099 is already in use
- Solutions to the problem of “Autowired cannot be resolved to a type” in eclipse Maven project
- HTTP Status 500-Error instantiating servlet class problem solving