当前位置:网站首页>Some problems encountered in work
Some problems encountered in work
2022-07-19 06:39:00 【happy_ sam】
There is no getter for property named 'batchno' in 'class db._default.Spd_podtl', It may be caused by duplicate packages ( rind )'truncated incorrect double value:'XXXXX'',mysql Report errors , The reason is that the types of fields associated with the table are inconsistent , for example String = double- The timer starts , But there is no record in the operation history , It may be that the parameter is too long, causing the execution timer to fail
- View the path of the project according to the port number :
[user]$ lsof -i:8888
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 12432 hscm 318u IPv4 148424932 0t0 TCP *:wta-wsp-s (LISTEN)
java 12432 hscm 354u IPv4 564688135 0t0 TCP localhost.localdomain:wta-wsp-s->192.168.1.103:57311 (ESTABLISHED)
java 12432 hscm 356u IPv4 564681184 0t0 TCP localhost.localdomain:wta-wsp-s->192.168.1.103:57314 (ESTABLISHED)
java 12432 hscm 357u IPv4 564686142 0t0 TCP localhost.localdomain:wta-wsp-s->192.168.1.103:57315 (ESTABLISHED)
java 12432 hscm 358u IPv4 564170753 0t0 TCP localhost.localdomain:wta-wsp-s->192.168.1.103:57312 (ESTABLISHED)
[user]$ ll /proc/12432
# This is one of the output lines, which is the path
lrwxrwxrwx 1 hscm hscm 0 7 month 14 15:28 cwd -> /home/hscm/spd-px/bin
- Lock first and then query
- root Account remote login is not available , You can log on to the server , Should be root The account does not authorize remote computer login
grant all privileges on *.* to ' user name '@'%' identified by ' The login password ' with grant option;
flush privileges;
- In bad mood , Keep early hours
- js Addition, subtraction, multiplication and division lose accuracy :
// Add
function floatAdd(arg1, arg2) {
var r1, r2, m;
try {
r1 = arg1.toString().split(".")[1].length;
} catch (e) {
r1 = 0;
}
try {
r2 = arg2.toString().split(".")[1].length;
} catch (e) {
r2 = 0;
}
m = Math.pow(10, Math.max(r1, r2));
return (floatMultiply(arg1 , m) + floatMultiply(arg2 , m)) / m;
}
// reduce
function floatSub(arg1, arg2) {
var r1, r2, m, n;
try {
r1 = arg1.toString().split(".")[1].length;
} catch (e) {
r1 = 0;
}
try {
r2 = arg2.toString().split(".")[1].length;
} catch (e) {
r2 = 0;
}
m = Math.pow(10, Math.max(r1, r2));
// Dynamic control precision length
n = (r1 >= r2) ? r1 : r2;
return ((floatMultiply(arg1 , m) - floatMultiply(arg2 , m)) / m).toFixed(n);
}
// ride
function floatMultiply(arg1, arg2) {
if(arg1 == null || arg2 == null){
return null;
}
var n1,n2;
var r1, r2; // Decimal digit
try {
r1 = arg1.toString().split(".")[1].length;
} catch (e) {
r1 = 0;
}
try {
r2 = arg2.toString().split(".")[1].length;
} catch (e) {
r2 = 0;
}
n1 = Number(arg1.toString().replace(".", ""));
n2 = Number(arg2.toString().replace(".", ""));
return n1 * n2 / Math.pow(10, r1+r2);
}
// except
function floatDivide(arg1, arg2) {
if(arg1 == null){
return null;
}
if(arg2 == null || arg2 == 0){
return null;
}
var n1,n2;
var r1, r2; // Decimal digit
try {
r1 = arg1.toString().split(".")[1].length;
} catch (e) {
r1 = 0;
}
try {
r2 = arg2.toString().split(".")[1].length;
} catch (e) {
r2 = 0;
}
n1 = Number(arg1.toString().replace(".", ""));
n2 = Number(arg2.toString().replace(".", ""));
return (n1 / n2) * Math.pow(10, r2 - r1);
}
- Error in access address
java.net.UnknownHostException Unable to open page :
You need to configure ip domain name :
vi /etc/hosts
Add a row ip Computer name ( Input hostname Check the computer name )
10.java The correct configuration of the environment does not work , Restarting the system can solve .
11.mysql Configuration file for my.ini May be in C:\ProgramData\MySQL\MySQL Server 5.7 Next
边栏推荐
- C language specifies how many days to display from the date
- Single table query, add, update and delete data
- 手把手搭建家用 NAS 全能服务器(1)| 配置选择及准备
- Cygwin cooperates with listary to switch the current directory and quickly open it
- Addition and subtraction of busybox date time
- 感知智能手机上用户的关注状态
- 吴恩达机器学习第3-4章
- Automatic completion & (custom) Pinyin word Separator &
- [force buckle] copy the linked list with random pointer
- Busybox specified date modification temporarily does not require clock -w to write to hardware
猜你喜欢

虚拟现实中的眼睛跟踪

DSL realizes automatic completion query

Experiment class II and object definition initialization

Solution: unable to load file c:\program files\ Because running scripts is forbidden on this system

Résoudre le problème de l'ambiguïté de la cible dans l'interaction de fixation 3D par l'estimation de la profondeur vor

2022/07/10 group 5 Ding Shuai's study notes day03

使用候选选择从人类注视中学习视频显著性

Positional change of the eyeball during eye movements: evidence of translational movement

深度优先遍历(Depth First Search, 简称 DFS)

Color histogram grayscale image & color image
随机推荐
Robot stitching gesture recognition and classification
Attention prediction in self video based on motion and visual prominence
用头部运动学习无姿态注视偏差
[force buckle] realize queue with stack
[force buckle] the same tree
Query of database (II)
IDEA中@Resource爆红
From entering URL to displaying page
Busybox specified date modification temporarily does not require clock -w to write to hardware
Experiment 3 inheritance and derived classes
实验四 运算符重载和虚函数
Key points of embedded C language (const, static, volatile, bit operation)
TypeScript学习
深度优先遍历(Depth First Search, 简称 DFS)
颜色直方图 灰度图&彩色图
Handle Chinese word segmentation IK word segmenter and expand and stop dictionary
UDP的报文结构
SeaChest Utilities 工具,让你的硬盘功耗又低又长寿
2022/07/11 group 5 Ding Shuai's study notes day04
Salgaze: personalized gaze estimation using visual saliency