java
文章平均质量分 67
玉面小白熊
这个作者很懒,什么都没留下…
展开
-
The type List is not generic; it cannot be parameterized with arguments
报错:The type List is not generic; it cannot be parameterized with arguments原因:包自动导成import java.awt.List;换成import java.util.List;即可原创 2019-11-05 13:49:21 · 747 阅读 · 0 评论 -
canvas图片转数据流失败
想做ocr识别,前台微信页面上传图片,对图片内容进行处理。本来的做法是在前台用canvas将图片转换成数据流,用ajax传到后台进行识别。前台报错:“Access to Image at '图片路径' from origin '*****' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is pre...原创 2018-06-26 16:53:59 · 1378 阅读 · 0 评论 -
mybatis在update数据时报错Try setting a different JdbcType for this parameter or a different jdbcTypeForNul
mybatis执行update语句:<update id="updateBatchId" parameterType="java.util.HashMap"> update TABLE1 set BATCHID = #{batch_id} where BUSINESS_NO = #{commit_id...原创 2018-11-30 11:55:26 · 32441 阅读 · 2 评论