报the server responded with a status of 500 (Internal Server Error)错误

the server responded with a status of 500 (Internal Server Error)

在进行项目开发的时候出现了500的错误,显示初始方法行错误。
报the server responded with a status of 500 (Internal Server Error)错误
报the server responded with a status of 500 (Internal Server Error)错误
一直无法跳进对应的servlet里面去,后来才发现,两个路径需要一致。
这个操作是配置URL映射,用于标注在一个继承了HttpServlet类之上,属于类级别的注解。相当于在web.xml中配置servlet的属性,但是更方便一些。

还需要努力练习呀~