当前位置:网站首页>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
边栏推荐
- 使用CLion编译OGLPG-9th-Edition源码
- MySQL triggers
- LVGL 8.2 Sorting a List using up and down buttons
- 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
- Sqlserver functions, creation and use of stored procedures
- The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
- Compile oglpg-9th-edition source code with clion
- R language dplyr package summary_ If function calculates the mean and median of all numerical data columns in dataframe data, and summarizes all numerical variables based on conditions
- Opencv learning notes - linear filtering: box filtering, mean filtering, Gaussian filtering
- Leetcode 61: 旋转链表
猜你喜欢
Nowcoder rearrange linked list
软件测试之测试评估
Visual Studio调试方式详解
潘多拉 IOT 开发板学习(RT-Thread)—— 实验3 按键实验(学习笔记)
第十七章 进程内存
What is the difference between Bi financial analysis in a narrow sense and financial analysis in a broad sense?
PyTorch的自动求导机制详细解析,PyTorch的核心魔法
The failure rate is as high as 80%. What are the challenges on the way of enterprise digital transformation?
【C语言】指针笔试题
Combined with case: the usage of the lowest API (processfunction) in Flink framework
随机推荐
A keepalived high availability accident made me learn it again
10. (map data) offline terrain data processing (for cesium)
【算法leetcode】面试题 04.03. 特定深度节点链表(多语言实现)
数据中台概念
阿里被裁员工,找工作第N天,猎头又传来噩耗...
Chapter 17 process memory
ML之shap:基于boston波士顿房价回归预测数据集利用Shap值对LiR线性回归模型实现可解释性案例
No servers available for service: xxxx
Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
曝光一下阿里的工资待遇和职位级别
Intelligence d'affaires bi analyse financière, analyse financière au sens étroit et analyse financière au sens large sont - ils différents?
LVGL 8.2 Line wrap, recoloring and scrolling
Test process arrangement (2)
为什么国产手机用户换下一部手机时,都选择了iPhone?
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
Detailed index of MySQL
Leetcode T49: 字母异位词分组
数据湖(十三):Spark与Iceberg整合DDL操作
使用CLion编译OGLPG-9th-Edition源码
leetcode:6110. The number of incremental paths in the grid graph [DFS + cache]