当前位置:网站首页>BUG_ me
BUG_ me
2022-04-23 16:50:00 【Kramer_ one hundred and forty-nine】
front end
filter
about url-pattern It can take the following forms :
/xxx/xxx.do
/xxx/*
/*
*.do
JS Use in el expression
stay JavaScript Use in EL expression ,El The expression must use a string .
stay html Some can be used directly .
Methods triggered by dynamically generated elements
Methods triggered by dynamically generated elements , The argument must be a string .
The binding event
1、
Bound to events js The code is written in $(function() {….})
It means after the page is loaded , Execute binding code .
Written in $(function() {….})
Outside, the binding event is executed when the page is loaded , May not load dom perhaps jquery Object is bound to the event first .
2、
Dynamically generated html Fragments cannot be bound by ordinary events .
grammar :$( Need a valid outer element of the bound element ).on( How to bind Events , Binding element required , Callback function )
Back end
Spring Web project ,Invalid bound statement (not found)
xml The file may not have been put in target/classes In this classpath . for example XXXDao In bag XXXdao.xml Missing file .
This problem will not occur in local projects .
terms of settlement : stay pom.xml Add... To the document
<build>
<!-- The purpose is to src/main/java In the directory xml The file is included in the output result . Output classes Directory -->
<resources>
<resource>
<directory>src/main/java</directory><!-- directory -->
<includes><!-- Including... In the directory .properties,.xml All the files will be scanned -->
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
SpringBoot Integrate MyBatis,url have a problem
“Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.” Error of
take application.properties Switch to application.yml
Or change the coding method of the whole project to UTF-8, Then write again in yellow .
SpringBoot Project upload file size
The default upload file size is 1MB, An error will be reported when transmitting a larger file .
application.properties Increase the configuration :
spring.servlet.multipart.max-file-size=20MB # Single file is the largest 20MB
spring.servlet.multipart.max-request-size=20MB # Single request maximum 20MB
compiler
IDEA from git Import the project , Display only jsp Wait for the documents .
Need from File–Project Structure–Modelus, Add items manually , Choose the right template .
IDEA jar The bag is not complete
Need from File–Project Structure–Modules On the right side Dependencies, Add dependencies manually
database
1、MyBatis encounter “@P0” There are grammar errors nearby when
hold #
Switch to $
2、 When using fuzzy queries
1、 stay Java Well written in ”%xxx%“, In the incoming mapper Inside xml The mapping file
2、mapper The mapping file like '%' #{xxx} '%'
Double quotation marks can also be used here , But there must be a space between
3、mapper The mapping file like '%${xxx}%'
版权声明
本文为[Kramer_ one hundred and forty-nine]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231359460545.html
边栏推荐
- 文件操作详解(2)
- Public variables of robotframework
- MySQL master-slave replication
- vscode如何比较两个文件的异同
- Nodejs reads the local JSON file through require. Unexpected token / in JSON at position appears
- Smart doc + Torna generate interface document
- Encapsulating the logging module
- Use case labeling mechanism of robot framework
- STM32__ 03 - beginner timer
- 人脸识别框架之dlib
猜你喜欢
CentOS MySQL multi instance deployment
∑GL-透视投影矩阵的推导
VLAN高级技术,VLAN聚合,超级Super VLAN ,Sub VLAN
Modify the test case name generated by DDT
RAID磁盘阵列与RAID5的创建
TypeError: set_ figure_ params() got an unexpected keyword argument ‘figsize‘
Use if else to judge in sail software - use the title condition to judge
Easyexcel reads the geographical location data in the excel table and sorts them according to Chinese pinyin
Pycham connects to the remote server and realizes remote debugging
【PIMF】OpenHarmony啃论文俱乐部—在ACM Survey闲逛是什么体验
随机推荐
织梦DEDECMS安全设置指南
深入了解3D模型相关知识(建模、材质贴图、UV、法线),置换贴图、凹凸贴图与法线贴图的区别
Camtasia2022软件新增功能介绍
Selenium IDE and XPath installation of chrome plug-in
各大框架都在使用的Unsafe类,到底有多神奇?
Use case labeling mechanism of robot framework
Loggie source code analysis source file module backbone analysis
The new MySQL table has a self increasing ID of 20 bits. The reason is
Blue Bridge Cup provincial road 06 -- the second game of the 12th provincial competition
Construction of promtail + Loki + grafana log monitoring system
Set the color change of interlaced lines in cells in the sail software and the font becomes larger and red when the number is greater than 100
文件操作详解(2)
Detailed explanation of information abstract, digital signature, digital certificate, symmetric encryption and asymmetric encryption
Mock test using postman
File system read and write performance test practice
Introduction to how to set up LAN
TypeError: set_ figure_ params() got an unexpected keyword argument ‘figsize‘
Calculate pie chart percentage
An essay on the classical "tear down the wall in thinking"
人脸识别框架之dlib