- 博客(20)
- 收藏
- 关注
原创 PSI ELEMENT
这是因为如果在文本中选择的是一个字符串(比如一个 URL),那么 IDE 并没有为字符串中的一部分创建 PSI 元素,所以返回为null,而 psiFile.findElementAt(start) 是基于你的选择的文本位置返回一个 PSI 元素。当我选中javaScript中这段url的getUser时,如果使用。那么这里selectedElement 的值就是null,如果使用。
2023-08-01 04:18:29
420
1
原创 com.intellij.lang.javascript.psi.JSObjectLiteralExpression
【代码】com.intellij.lang.javascript.psi.JSObjectLiteralExpression。
2023-07-01 03:26:57
481
原创 pythonanywhere Unknown collation: ‘utf8mb4_0900_ai_ci‘
Unknow collation: 'utf8mb4_0900_ai_ci'
2023-03-18 21:14:39
667
原创 pycharm运行Django报错:Couldn‘t import Django. Are you sure it‘s installed and available...
Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
2023-01-31 06:06:19
3976
原创 2021-10-12
宝塔面板显示数据库连接失败,请检查数据库服务是否启动宝塔面板连接数据库时显示数据库连接失败,请检查数据库服务是否启动解决方法:修改数据库root密码即可
2021-10-12 17:55:07
626
2
原创 The ‘Access-Control-Allow-Origin‘ header contains multiple values
Access to XMLHttpRequest at 'http://localhost:88' from origin 'http://localhost:8001' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8001, http://localhost:8001', but only one is allowed
2021-01-19 11:28:36
335
原创 Unable to connect to jenkins
Docker配置Jenkins后Unable to connect to Jenkins基于Docker配置jenkins,在登陆后选择Select plugins to install时出现unable to connect to jenkins试了很多优快云和stackoverflow的方法仍然无效一个下午都没弄出来,换了一个网后就突然好了,感觉人要崩溃...
2020-10-25 00:53:58
1221
原创 R语言在Jupyter Notebook(Anaconda)中install packages
方法一:在Anaconda Navigator的Environments中直接搜索包并下载方法二:没有登陆Anaconda Cloud有些包可能没有,在网上直接搜索要导入的包复制到Anaconda prompt中就可以下载了
2020-10-10 16:08:33
832
原创 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘cou
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'couponController': Unsatisfied dependency expressed through field 'couponService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyE
2020-09-15 13:25:06
579
1
原创 人人项目 renren-fast-vue 踩坑
npm run dev打开浏览器后没有正常显示页面终端提示npm does not support Node.js v14.5.0解决办法:打开package.json更改node-sass版本和npm版本,我的node对应的版本为"node-sass": "^4.14.1","npm": "^6.14.1,npm rebuild node-sassnpm uninstall node-sass先单独从淘宝镜像把 nod-sass 下载下来,然后再进行编译:npm i node-sa
2020-09-10 23:01:11
1965
原创 Vue ‘router‘ is not defined
‘router’ is not defined原因:在index.js中未定义router解决办法:router放入main.js
2020-07-26 17:03:08
19560
2
原创 windows下Node.js环境配置方法之一
一、下载首先在官网下载Node.js. 我下载的是zip,然后解压文件二、配置环境打开电脑环境变量(此电脑—属性—高级系统设置—环境变量)在系统变量点击新建填入变量名和安装位置在环境变量中选择Path点击新建,输入 %NODE_HOME%点击确定三、测试输入node -v 如果出现版本号则配置完成...
2020-07-02 19:57:52
110
原创 from origin http://localhost:xxxx has been blocked by CORS policy
在使用Springboot + Vue 前后端分离时遇到报错在方法上加上@CrossOrigin即可解决跨域问题
2020-06-27 18:38:06
7175
原创 Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
今天在使用springboot写网站时遇到了报错 Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.
2020-06-27 12:14:50
343
原创 Springboot: Parameter value xxxx did not match expected type [java.lang.String (n/a)]
Springboot: Parameter value xxxx did not match expected type [java.lang.String (n/a)]第一次接触springboot,在传输数据时遇到了这个报错。原因:在实体类中类型为String,Dao层中用的int类型导致报错。...
2020-04-12 22:34:07
24379
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人