[Solved] Tomcat Error: Failed to start componen

[Solved] Tomcat Error: Failed To Start Componen

org.apache.catalina.LifecycleException: Failed to start part [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/oa3]]

It was discovered that the trail was not added ‘/’

//@WebServlet("dept/list")
//Add slash!
@WebServlet("/dept/list")
public class DeptServlet extends HttpServlet {

Leave a Reply

Your email address will not be published.