javax.management.RuntimeOperationsException: Exception invoking method manageApp

以此博客记录下我遇到的这个**问题,浪费我半个小时的宝贵时间

 严重 [RMI TCP Connection(5)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method createStandardContext
 javax.management.RuntimeOperationsException: Exception invoking method manageApp

原因就在于我的 @WebServlet(“login.do”) 没有加 /

@WebServlet("/login.do")

加上斜杠就ok了

猜你喜欢

转载自blog.csdn.net/qq_44119705/article/details/116536629