vue项目报错:$ is not defined
摘要:报错如下: 解决办法:引入jquery 1)、安装jquery cnpm i jquery -s 2)、main.js中引入 import $ from 'jquery' window.jQuery = $;window.$ = $;
阅读全文
posted @
2021-12-04 22:27
周文豪
阅读(1767)
推荐(0)
报错:文字与格式字符串不匹配
摘要:报错如下: 错误代码:‘ @Override public List<Pxml> selectList(String startTime, String endTime) { Example example = new Example(Pxml.class); example.createCrite
阅读全文
posted @
2021-11-12 15:53
周文豪
阅读(977)
推荐(0)
报错:无效数字 DataIntegrityViolationException
摘要:报错如下: 原因:数据库的主键用的是NUMBER类型,而实体类中是String类型 解决办法:将ID的类型改为NVARCHAR2类型
阅读全文
posted @
2021-11-12 15:45
周文豪
阅读(4849)
推荐(0)
报错:Serialized class oracle.jdbc.driver.T4CConnection must implement java.io.Serializable 将NCLOB类型转为字符串
摘要:报错如下: 返回的数据如下:businessScope=oracle.sql.NCLOB@7f40c46, 原因:数据库中字段BUSINESS_SCOPE类型为NCLOB。 解决办法:通过系统的dbms_lob.substr(字段,长度,起始位置)方法将clob转换为varchar2类型 selec
阅读全文
posted @
2021-11-12 11:40
周文豪
阅读(630)
推荐(0)
报错:invalid comparison: cn.hutool.core.date.DateTime and java.lang.String
摘要:错误代码: <if test="startTime!=null and startTime!='' and endTime!=null and endTime !=''"> AND t1.update_time BETWEEN #{startTime} AND #{endTime} </if> 原因
阅读全文
posted @
2021-11-08 17:50
周文豪
阅读(1187)
推荐(0)
前端报错: this.getOptions is not a function
摘要:报错如下: 卸载sass-loader npm uninstall --save sass-loader 安装指定版本 npm install sass-loader@7.3.1 --save-dev 安装node-sass npm i -D node-sass@4.12.0
阅读全文
posted @
2021-11-04 10:36
周文豪
阅读(3857)
推荐(0)
报错:The bean 'beanNameViewResolver', defined in class path resource [cn/afterturn/easypoi/configuration/EasyPoiAutoConfiguration.class]
摘要:报错如下: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-10-31 11:08:35.055 ERROR
阅读全文
posted @
2021-10-31 11:11
周文豪
阅读(804)
推荐(0)