错误记录-spring+mybatis

1.Syntax error on token "String", @ expected

解决:去掉类名后的括号 ps:这错误太二了

2.The nested type UserService cannot hide an enclosing type

因为代码拷贝,有两个类名【内部类不应该和其外部类同名】,去掉一个多余的类名就行了。

3.ajax图片上传问题 ajaxFileUpload 报这错jQuery.handleError is not a function

因为多了一句<script src="/jquery-1.7.1.js" type="text/javascript"></script>,在前后各引了一次,所以也就是多引入了一次。

文中链接http://www.cnblogs.com/kissdodog/archive/2012/12/15/2819025.html

 4. HTTP Status 404 - Servlet HelloWorldServlet is not available

jsp页面跳到servlet的action写法是/工程名/web.xml配置的url-pattern。自动生成的为/servlet/loginServlet所以我少写servlet是找不到servlet的。

 

posted on 2015-05-05 16:26  泽口靖子  阅读(379)  评论(0编辑  收藏  举报

导航