报错信息: 严重: Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request processing failed; nested exception is java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pagehelper.Page] with root caus
场景 编译器:IDEA 在网上看一些小实例,跟着做的时候会复制pom.xml文件的代码来加载依赖包.首先需要确定你复制过来的代码本身是没有错的,在复制一些pom.xml文件代码时,有时候会报错.原因是复制过来的代码格式出现了错误并不是代码本身的问题. 并报了如下的错误: Element 'project' cannot have character [children], because the type's content type is element-only. Element 'pr
Git提交代码push时,报错这个 error: src refspec master matches more than one. error: failed to push some refs to 'xxx.git' 发现原因是因为git里有一个tag(标签)和当前提交分支重名了,git检测到多个重复名称,因而报错提示你... 解决办法: 1.云端重新命名tag,弄好后重新pull,再push,如果还不行,就用第二种 2.本地删除掉tag,再push就可以了 - 如果是SourceTree
js高程 第三版 p203 重点:超时调用的代码都是在全局作用域中执行的,因此函数中this 的值在非严格模 式下指向window 对象,在严格模式下是undefined. 不过这里仅仅解释前半句: 超时调用的代码都是在全局作用域中执行的 看题,在控制台输出下代码: var site = "global"; function foo() { var site = "partial"; setTimeout('alert(site);', 100); } foo();