spring的aop
q@浩瀚星辰
总会忘记,所以选择记录
展开
-
报错:Connection is read-only. Queries leading to data modification are not
今天写了个添加数据到数据库的小demo,遇到问题:Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed(翻译:原因:java.sql。SQLException:连接是只读的。不允许导致数据修改的查询)原因是:我在applicationC...原创 2020-03-13 18:27:30 · 1377 阅读 · 0 评论 -
报错:The hierarchy of the type MyBefore is inconsistent
The hierarchy of the type MyBefore is inconsistent:MyAfter类型的层次结构不一致报错原因:MethodBeforeAdvice所在的jar包没有被引入少了这两个包,导进去即可原创 2020-02-19 12:01:51 · 159 阅读 · 0 评论