wxiao个人技术分享
wxiao的技术分享
![spring报错class path resource [applicationContext.xml] cannot be opened because it does not exist](http://www.wxiao.asia/usr/uploads/2024/01/3075468405.png)
报错信息这个时候检查target/classes有没有applicationContext.xml复制进去后再运行即可

遇到这个问题,可以看看我们Vue脚手架里面的vue.config.js文件,配置如下加上之后,再重新打包部署访问即可

1.右键我们的数据库打开界面2.有选择的界面,然后选择,第一个路径是找到我们的运行文件,第二个是我们的导出路径3.最后就出现在桌面了
简单的测试实例1.导入依赖<!-- shiro -->
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.4.1</version>
</dependency>2.在resources下创建shiro.ini文件[users]
// 用户=密码,角色
zhangsan=123456,seller
lisi=123123,ck
简单的测试实例1.导入依赖<!-- shiro -->
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.4.1</version>
</dependency>2.在resources下创建shiro.ini文件[users]
// 用户=密码,角色
zhangsan=123456,seller
lisi=123123,ck

这是因为脚本的路径有问题,导致图标不显示,当我更改了脚本的路径,但没有反应最后发现是使用的页面缓存的内容,我的方法是强制刷新页面,在页面按下Ctrl + F5就可以了
zxing使用1.先导入依赖<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</arti
zxing使用1.先导入依赖<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</arti

在启动vue项目时 出现错误:1:1 error Component name "Header" should always be multi-word vue/multi-word原因是:语法检查的时候把不规范的代码(即命名不规范)当成了错误解决方法:在 vue.config.js文件中添加配置:lintOnSave: false

JVM会将所有的静态变量的初始化按它们在源文件中的出现顺序放到一个静态初始化块中。因此,不要觉得没有看到静态初始块就认为不会出现这个异常。事实上,需要确保静态变量的正确顺序,比如说,如果一个变量初始化的时候用到了另一个变量,你得确保这个变量在前面已经初始化过了,今天遇到的问题就是上面的变量初始化为空,导致的错误
1.连接查询-内连接内连接查询的是两张表交集的部分隐式内连接语法:
SELECT 字段列表 FROM 表1,表2 WHERE 条件 ...;
select patient.patientName,prescription.checkResult from patient,prescription
where patient.patientid = prescription.patientID;
select a.patientName,b.checkResult
from patient a,prescription b where a.patientid = b.patientI
1.连接查询-内连接内连接查询的是两张表交集的部分隐式内连接语法:
SELECT 字段列表 FROM 表1,表2 WHERE 条件 ...;
select patient.patientName,prescription.checkResult from patient,prescription
where patient.patientid = prescription.patientID;
select a.patientName,b.checkResult
from patient a,prescription b where a.patientid = b.patientI