发表于: 2019-11-24 23:50:01

1 1054


今天完成的事情:


1.解决了一个老是出现的500的bug



<html>
<head>
</head>
<body>
<form action = "Student/testpost" method ="post" >
ID:<input type="test" name="id" /><br/>
姓名:<input type="test" name="name" /><br/>
QQ号:<input type="test" name="qq" /><br/>
学习类型:<input type="test" name="type" /><br/>
入学时间:<input type="test" name="time" /><br/>
学号:<input type="test" name="stunum" /><br/>
日报:<input type="test" name="daily" /><br/>
立愿:<input type="test" name="wish" /><br/>
学长:<input type="test" name="senior" /><br/>
<input type="submit" value="提交" /><br/>
</form>
</body>
</html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>post</title>
</head>
<body>
恭喜你! 提交成功了!
</body>
</html>


运行  

一直都显示错误500  

HTTP Status 500 - Servlet.init() for servlet DispatcherServlet threw exception


百度了很久  尝试了各种配置
最后找到了问题


来源:https://blog.csdn.net/ethan__xu/article/details/80799113




我的spring mvc版本都是  5.0.2
spring-core为  5.2.0 不一致       我修改为5.0.2
一个坑   记录一下


明天计划的事情:


推进任务


遇到的问题:
收获:


返回列表 返回列表
评论

    分享到