![](https://img-blog.csdnimg.cn/2019092715111047.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
开发中的问题与解决
记录在开发过程中遇到的问题与解决方法。
孙宏宇51
匠心
展开
-
端口被占用问题解决方法
1.打开cmd2.输入命令行netstat -ano3.找到3000端口进程对应的PID:12724.在任务管理器中结束1272进程或者直接tskill 1272原创 2019-08-06 10:54:43 · 286 阅读 · 0 评论 -
SyntaxError: Unexpected token o in JSON at position 1问题
问题:SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at PopupModal._this2.onHandleRef (index.js?4edb:137) at PopupModal._this2.onHandleSaveData (ind...原创 2019-08-19 14:28:03 · 4370 阅读 · 0 评论 -
js验证文本框不能为空demo
文本框? <textarea> ?获取 textarea的值是 .value 。可以用正则表达式检查是否为空。正则表达式中 \S 代表不为空的字符,所以得出正则为 /\S/ 。你可以将 textarea.value 的值与该正则套用,代码是 /\S/.test(textarea.value) 。它会返回一个布尔值(true/ false)。不仅是 <textarea&...原创 2019-08-15 16:18:07 · 761 阅读 · 0 评论 -
resource busy and acquire with nowait specified解决方法
在数据库中插入、更新、删除一个表的数据,或者增加一个表的主键时或者表的索引时,或者是增加修改列字段时,常常会出现ora-00054:resource busy and acquire with nowait specified这样的错误。主要是因为有事务正在执行(或者事务已经被锁),所有导致执行不成功。解决方法如下:1、用dba权限的用户查...转载 2019-08-16 14:51:58 · 985 阅读 · 0 评论 -
xml文件第一行报错Referenced file contains errors问题(STS中)
这种错误是属于配置文件的验证错误,实际上并不影响项目的正常运行.按步骤操作:Window--> Preferences 搜索validation关闭XML Validator 和 XSL Validator文件验证。之后弹出对话框选择“是”...原创 2019-08-29 00:59:25 · 837 阅读 · 1 评论 -
使用AspectJ注解时出现NoClassDefFoundError:
目前遇到两种情况:1.缺少jar包2.@AfterReturning注解下的参数顺序写错正确顺序:@AfterReturning(pointcut="mypointCut()",returning="result") public void returning(JoinPoint point,Object result) { System.out.println("返回結果...原创 2019-09-05 18:23:01 · 350 阅读 · 0 评论