今天运行一个比较久远的SSM项目,访问接口时报错: Could not initialize class com.platform.cache.J2CacheUtils 找了半天也没有发现问题所在,突然发现报错里面有ShiroFilter字样,然后想起以前shiro好像是要跟redis对接࿰…
预备
测试代码 main.cpp
#include <iostream>
#include <vector>
#include "student.h"using namespace std;int add(int a, int b)
{return a b;
}int main()
{vector<int> v {1, 3};Student* s1 new Student("zz", 20);Student* …