Java之List排序出错 Bound mismatch: The generic method sort(List<T>) of type Collections is not applicable for the arguments (List<Student>). The inferred type Student is not a valid substitute for the bounded parameter <T extends Comparable<?…
一些平时常见的错误及解决办法,我 是新手,每次遇到的错误都记录了下来. 1. 404错误 description The requested resource (/Struts2_0100_Introduction/hello.action) is not available. 先检查Manager Deployments,使之能打开(出现NullPointerException不能打开),主要是服务器在每次允许前备份,再修改了错误后不能及时更正.(如果是勾选的Backup,要改成delete)…
Error: The import javax.servlet cannot be resolved The import javax.servlet.http.HttpServletRequest cannot be resolved Description: 我们经常会把别人的项目copy到自己这里进行二次开发或者参考,有的时候会发生上面的错误, 即eclipse项目里我们导入的项目里提示HttpServletRequest 不能引用,会伴随头疼的小红叉出现.如下图: Accuse: 具体原…