启动项目报错 2018-02-26 17:09:51,535 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testTreeDao' defined in file [/Users/jds/Docu…
使用场景:在spring data jpa下使用@Query("hql语句") 然后在项目启动的时候报错 hql语句报错:antlr.NoViableAltException: unexpected token: roleName 仔细查看了一下代码: @Query(value = "from Role as r left join r.department as d left join d.company as c where" + " (:depart…
在做图片上传功能的时候,遇到了JS无法识别图片type的问题,在使用过程中是没有问题的,但是不知道为什么浏览器的Console报这个错误: Uncaught TypeError: Cannot read property 'type' of undefined at Function.$.ImgSrc (ModelUpload.do:18) at uploadImg (ModelUpload.do:77) at HTMLInputElement.onchange (ModelUpload.do:…