当前位置:网站首页>Summary of common problems in development
Summary of common problems in development
2022-07-04 14:35:00 【Look up and smile^_^】
applicationContext.xml Configuration problem in
Q1:applicationContext.xml In file , You should use ref To receive “ Reference type ” or “ Complex type ” When the data is , The wrong is used value To receive “ Reference type ” or “ Complex type ” The data of , This resulted in the following error :
A1: Solution : From the picture ① and ② You can go to , The specific location of the problem , Namely applicationContext.xml In file , To configure TransactionManager when ,id=“‘transactionManager’” The location of , Actual configuration “javax.sql.DataSource” Complex references to types , But configuration “java.lang.String” String type value value , So will value It is amended as follows ref that will do .
Use mybatis Problems in Reverse Engineering
Q1: In the use of mybatis During reverse engineering of , All kinds of automatically generated files are prone to the problem of capitalization of the first letter of the package location , Cause subsequent calls , There is an error , The corresponding file cannot be found .
- Problem prone locations


A: Correct the path of the corresponding file , for example :Indi.dsl.crud.dao.DepartmentMapper It is amended as follows indi.dsl.crud.dao.DepartmentMapper, The case of the first letter .

Use MAVEN There may be some problems in the process
Q1: adopt maven stay idea in , Use dependency to introduce jar When the package , Possible maven Don't complain , The enclosure successfully quoted , But when running the project , Not used successfully , For example, the following dependencies are introduced :
<!-- introduce Json package , Support Json data format , Support ResponseBody -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.8.8</version>
</dependency>
relevant jar Successful introduction ,maven No report error

Run time appears 500 problem

A1: Solution : When such a problem occurs , You can consider whether the project is really successful JAR package , The specific location is as follows :

- Introduce the following correlation jar After package , The program can run normally .
- Will succeed Json Information output

边栏推荐
- Oppo find N2 product form first exposure: supplement all short boards
- scratch古堡历险记 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
- R language uses the DOTPLOT function of epidisplay package to visualize the frequency of data points in different intervals in the form of point graph, and uses the by parameter to specify the groupin
- C language small commodity management system
- C language programming
- LVGL 8.2 Menu
- Transplant tinyplay for imx6q development board QT system
- [MySQL from introduction to proficiency] [advanced chapter] (V) SQL statement execution process of MySQL
- 流行框架:Glide的使用
- [algorithm leetcode] interview question 04.03 Specific depth node linked list (Multilingual Implementation)
猜你喜欢

SqlServer函数,存储过程的创建和使用

迅为IMX6Q开发板QT系统移植tinyplay

Test process arrangement (3)

C # WPF realizes the real-time screen capture function of screen capture box

阿里被裁员工,找工作第N天,猎头又传来噩耗...

Red envelope activity design in e-commerce system

leetcode:6110. 网格图中递增路径的数目【dfs + cache】

Scratch Castle Adventure Electronic Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022

使用CLion编译OGLPG-9th-Edition源码

《opencv学习笔记》-- 线性滤波:方框滤波、均值滤波、高斯滤波
随机推荐
92. (cesium chapter) cesium building layering
R language uses dplyr package group_ The by function and the summarize function calculate the mean and standard deviation of the target variables based on the grouped variables
(1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
Opencv3.2 and opencv2.4 installation
Leetcode T47: 全排列II
leetcode:6110. The number of incremental paths in the grid graph [DFS + cache]
阿里被裁员工,找工作第N天,猎头又传来噩耗...
【MySQL从入门到精通】【高级篇】(四)MySQL权限管理与控制
Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
一种架构来完成所有任务—Transformer架构正在以一己之力统一AI江湖
Redis daily notes
Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
数据埋点的一些问题和想法
Nowcoder rearrange linked list
One architecture to complete all tasks - transformer architecture is unifying the AI Jianghu on its own
第十六章 字符串本地化和消息字典(二)
Test process arrangement (2)
No servers available for service: xxxx
利用Shap值进行异常值检测