安装pycocotools提示:cl.exe failed with exit status 2 5C

使用如下代码安装pycocotools工具时,提示:error: command 'D:\vs2015\VC\BIN\x86_amd64\cl.exe' failed with exit status 2。
命令:
python setup.py build_ext --inplace
python setup.py build_ext install。
试了很久都找不到解决办法。
补充:python3.6版本的,tensorflow1.14.0版本的。

weixin_44841953
随风吟唱 楼主解决了吗,解决了的话分享一下,谢谢你啦
17 天之前 回复

1个回答

D:\vs2015\VC\BIN\x86_amd64\cl.exe cl是在这个路径里么。换gcc而不是vc++编译看看

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
CnetOS 7 设置VNC服务器是报错,TYPE已设置为SIMPLE
● vncserver@:1.service - Remote desktop service (VNC) Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since 四 2018-09-27 11:23:03 CST; 4s ago Process: 82327 ExecStop=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS) Process: 82303 ExecStart=/usr/sbin/runuser -l root -c /usr/bin/vncserver %i (code=exited, status=1/FAILURE) Process: 82298 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS) Main PID: 82303 (code=exited, status=1/FAILURE) 9月 27 11:23:03 datecenter systemd[1]: Starting Remote desktop service (VNC)... 9月 27 11:23:03 datecenter systemd[1]: Started Remote desktop service (VNC). 9月 27 11:23:03 datecenter runuser[82303]: Password: 9月 27 11:23:03 datecenter systemd[1]: vncserver@:1.service: main process exited, code=exited, statu...LURE 9月 27 11:23:03 datecenter systemd[1]: Unit vncserver@:1.service entered failed state. 9月 27 11:23:03 datecenter systemd[1]: vncserver@:1.service failed.
安装完成Oracle之后,无法登录,不知道该如何配置,求助大佬
安装完成Oracle之后,无法登录,不知道该如何配置,求助大佬 附上安装图 ``` Oracle Database 11g Express Edition Configuration ------------------------------------------------- This will configure on-boot properties of Oracle Database 11g Express Edition. The following questions will determine whether the database should be starting upon system boot, the ports it will use, and the passwords that will be used for database accounts. Press <Enter> to accept the defaults. Ctrl-C will abort. Specify the HTTP port that will be used for Oracle Application Express [8080]:7070 /etc/init.d/oracle-xe: line 362: netstat: command not found Specify a port that will be used for the database listener [1521]: /etc/init.d/oracle-xe: line 405: netstat: command not found Specify a password to be used for database accounts. Note that the same password will be used for SYS and SYSTEM. Oracle recommends the use of different passwords for each database account. This can be done after initial configuration: Confirm the password: Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y /bin/sed: can't read /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora: No such file or directory /bin/sed: can't read /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora: No such file or directory /bin/chown: invalid user: 'oracle:dba' sed: can't read /u01/app/oracle/product/11.2.0/xe/config/scripts/postDBCreation.sql: No such file or directory /bin/chown: invalid user: 'oracle:dba' /bin/sed: can't read /u01/app/oracle/product/11.2.0/xe/network/admin/tnsnames.ora: No such file or directory /bin/sed: can't read /u01/app/oracle/product/11.2.0/xe/network/admin/tnsnames.ora: No such file or directory /bin/chown: invalid user: 'oracle:dba' /bin/chown: invalid user: 'oracle:dba' Starting Oracle Net Listener...Done Configuring database...Done /bin/chmod: cannot access '/u01/app/oracle/oradata': No such file or directory /bin/chmod: cannot access '/u01/app/oracle/diag': No such file or directory /bin/chown: invalid user: 'oracle:dba' Starting Oracle Database 11g Express Edition instance...Done Installation completed successfully. root@jingsongchan:/home/jingsongchan# sudo service oracle-xe start Job for oracle-xe.service failed because the control process exited with error code. See "systemctl status oracle-xe.service" and "journalctl -xe" for details. root@jingsongchan:/home/jingsongchan# systemctl status oracle-xe.service ● oracle-xe.service - SYSV: This is a program that is responsible for taking car Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAI 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Expre 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listene 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exit 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result ' 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking car Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAI 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Expre 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listene 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exit 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result ' 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking car Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAI 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Expre 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listene 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exit 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result ' 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking car Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAI 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Expre 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listene 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exit 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result ' 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking care Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILU 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'ex 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program t ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edi 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener usin 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, co 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-c 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=e 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code' 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is r ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition insta 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is respons ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/orac 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited statu 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/pro 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for ta ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END)...skipping... ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/produc 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for takin ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/ 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking c ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking ca ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11. 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking car ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2. 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care o ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care o ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/x 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/b 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/ 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/t 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tn 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tns 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnsl 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnsls 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsn 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr a 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Or 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Orac 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Oracle 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Oracle 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Oracle E 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Oracle Ex 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Oracle Exp 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Oracle Exp 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-16/16 (END) ● oracle-xe.service - SYSV: This is a program that is responsible for taking care of Loaded: loaded (/etc/init.d/oracle-xe; generated) Active: failed (Result: exit-code) since Thu 2019-09-05 18:43:04 CST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 3861 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=1/FAILURE) 9月 05 18:43:04 jingsongchan su[3872]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3872]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Starting Oracle Database 11g Express Edition instance. 9月 05 18:43:04 jingsongchan su[3878]: No passwd entry for user 'oracle' 9月 05 18:43:04 jingsongchan su[3878]: FAILED su for oracle by root 9月 05 18:43:04 jingsongchan su[3878]: - ??? root:oracle 9月 05 18:43:04 jingsongchan oracle-xe[3861]: Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr and Oracle Exp 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Control process exited, code=exited status=1 9月 05 18:43:04 jingsongchan systemd[1]: oracle-xe.service: Failed with result 'exit-code'. 9月 05 18:43:04 jingsongchan systemd[1]: Failed to start SYSV: This is a program that is responsible for taking care of. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ```
关于domhelper.append的性能问题
不知道大家有没有用domhelper.append插入大量数据的情况,在firefox下速度还是可以接受的,但是到了IE下就变得非常慢了,帮忙分析下,有没有解决办法。 插入的数据大概有1,2百条,后台取数据用了17,8秒的样子,但是前台ext渲染却花了大概2分多钟。 主要代码如下: domHelper.append(metricTable,{ tag:'tr',height:'50',children:[ {tag:'td',align:'center',valign:'middle',width:'10%',children:[ {tag:'div',idroupId+"__"+metricObj.metricId,cls:checkClass,statu:statu,parentIdroupId+'_check',nameroupId+'_chl',onclick:checkFn} ]}, {tag:'td',align:'left',valign:'middle',width:'30%',children:[ {html:'<span title="'+metricObj.metricName+'">'+metricName+'</span>'} ]}, {tag:'td',align:'left',valign:'middle',width:'60%',children:[ {tag:'div',idroupId+"__"+metricObj.metricId+'_BaseThrehold',cls:'flsBg',onclick:'show(this,\''+metricObj.metricUnit+'\',event)',children:[ //{tag:'div',cls:'div_name',id:metricObj.metricId+'threhold_greenStart',html:metricObj.greenStart}, //{tag:'div',cls:'div_name',id:metricObj.metricId+'threhold_yellowStart',html:metricObj.yellowStart}, //{tag:'div',cls:'div_name',id:metricObj.metricId+'threhold_redStart',html:metricObj.redStart}, ]}, {tag:'div',style:'float=left;display:none;',children:[ {tag:'input',type:'hidden',clsroupId+'_parentmonitor',name:'parentmetricStatu',value:parentStatu}, {tag:'input',type:'hidden',id:groupId+"__"+metricObj.metricId+'_monitor',name:'metricStatu',value:statu}, {tag:'input',type:'hidden',name:'bsmProfileId',value:metricObj.bsmProfileId}, {tag:'input',type:'hidden',name:'metricGroupId',value:metricObj.metricGroupId}, {tag:'input',type:'hidden',name:'metricId',value:metricObj.metricId}, {tag:'input',type:'hidden',id:groupId+"__"+metricObj.metricId+'_greenStart',name:'greenStart',value:metricObj.greenStart}, {tag:'input',type:'hidden',id:groupId+"__"+metricObj.metricId+'_yellowStart',name:'yellowStart',value:metricObj.yellowStart}, {tag:'input',type:'hidden',id:groupId+"__"+metricObj.metricId+'_redStart',name:'redStart',value:metricObj.redStart}, {tag:'input',type:'hidden',name:'profileId',value:metricObj.profileId}, {tag:'input',type:'hidden',name:'metricFq',metricGpId:groupId,value:metricObj.frequenceId}, {tag:'input',type:'hidden',name:'instanceId',value:groupId}, {tag:'input',type:'hidden',name:'monitoredFlag',value:monitoredFlag} ]} ]} ] });
求教一个mysql语句11111
SELECT o.member_id,SUM(o.payable),o.gmt_modify FROM orders o,order_detail od WHERE TO_DAYS(o.gmt_modify) >=TO_DAYS(("2013-02-27 10:22:53.000000")) AND TO_DAYS(ADDDATE(("2013-05-27 10:22:53.000000"),INTERVAL -16 DAY)) >=TO_DAYS(o.gmt_modify) AND od.shipping_statu = 2 AND o.id =od.order_id GROUP BY o.member_id SELECT r.member_id,SUM(r.product_price),r.gmt_modify FROM returned_goods r WHERE TO_DAYS(r.gmt_modify) >=TO_DAYS(("2013-02-27 10:22:53.000000")) AND TO_DAYS(("2013-05-27 10:22:53.000000")) >=TO_DAYS(r.gmt_modify) AND r.returned_status NOT IN(1,4,11) AND r.returned_type NOT IN(2) GROUP BY r.member_id 把这2个查出来的数据 会员id相同的 payable-product.price
根据id修改多条数据的statu值,修改一条数据可以成功,修改多条就会失败
### 控制器方法 ![图片说明](https://img-ask.csdn.net/upload/201711/24/1511507543_911360.png) ### 服务实现类方法 ![图片说明](https://img-ask.csdn.net/upload/201711/24/1511507556_282065.png) ### 执行语句 ![图片说明](https://img-ask.csdn.net/upload/201711/24/1511507564_422131.png) ### 这是执行到语句报错 ### ==> Preparing: update student set statu = '1' where id in (?) ### ==> Parameters: 10575 , 10571(String) ### Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6d77f8b4] ### 这是报错信息 ### Error updating database. Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: '10575 , 10571' ### The error may involve com.school.dao.StudentMapper.deleteById-Inline ### The error occurred while setting parameters ### SQL: update student set statu = '1' where id in (?) ### Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: '10575 , 10571' SQL []; Data truncation: Truncated incorrect DOUBLE value: '10575 , 10571'; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: '10575 , 10571'] with root cause com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: '10575 , 10571' at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4230) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307) at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:62) at com.sun.proxy.$Proxy28.execute(Unknown Source) at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:44) at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:69) at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:48) at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:105) at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:71) at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358) at com.sun.proxy.$Proxy15.update(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:254) at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:54) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52) at com.sun.proxy.$Proxy19.deleteById(Unknown Source) at com.school.service.impl.StudentServiceImpl.deleteById(StudentServiceImpl.java:76) at com.school.controller.StudentCtrl.deleteById(StudentCtrl.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:690) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
请问这样此SQL语句为什么查询不到同一张表两个字段
select cf.id, case when cf.statu in(0,1) then co.username when cf.statu in(2,3) then ss.username end as "创建人", case when cf.statu in(1,2)then co.username when cf.statu in(0,3) then ss.username end as "发送人" from cowf as cf,comuser as co,admin as ss where cf.createid=(case when cf.statu in(0,1)then co.userid else ss.userid) and cf.sendid=(case when cf.statu in(1,2)then co.userid else ss.userid) ================================================ cowf( id number, createid number, sendid number, statu number --状态识别ID --0,comuser向admin发送 --1,comuser向comuser发送 --2,admin向comuser发送 --3,admin向admin发送 ) comuser( userid number, username varchar2(20) ) admin( userid number, username varchar2(20) ) 问题是只能查询到当cowf.statu为0和2的记录,得不到1,3的记录,请问语句哪里错了?
java实现ping功能,是否到达地址的返回值为什么总是false?
这是测试代码: import java.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; public class TestPing { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String host = "www.baidu.com"; int timeOut = 3000; try { boolean statu = InetAddress.getByName(host).isReachable(timeOut); System.out.println(statu); } catch (UnknownHostException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } }
$('#form1').serialize()的问题
```页面代码: <body> <div id="chart" style="width: 580px;height: 420px;margin: 0 auto;border: 1px solid gray;"></div> <div> <form id="form1"name="form1" method="get" onSubmit="queryall();"> <fieldset> <legend>查询条件</legend> 日期:<input type="text" name="DeviceStatus.date" /> 班次:<input type="text" name="DeviceStatus.shiftWork" /> 生产线:<input type="text" name="DeviceStatus.line" /> <input type="submit" name="查询" value="submit"> </fieldset> </form> </div> <script type="text/javascript" src="resource/js/jquery-1.8.3.min.js"></script> <script type="text/javascript" src="resource/js/echarts-all.js"></script> <script type="text/javascript"> jQuery(function queryall($) { var echart = echarts.init($("#chart")[0]); var data1=$('#form1').serialize(); var categories = []; var values = []; document.forms.form1.action = "deviceStatus_list"; // 同步执行 $.ajaxSettings.async = false; $.getJSON('deviceStatus_list',data1,function (json) { console.info("wwwwwwwwwwwwwwwww"); categories = json.categories; values = json.values; }); console.info("aaaaaaaa"); var option = { tooltip: { show: true }, legend: { data: ['问题原因'] }, xAxis: [ { type: 'category', data: categories } ], yAxis: [ { type: 'value' } ], series: [ { 'name': '问题原因', 'type': 'bar', 'data': values } ] }; echart.setOption(option); }); </script> </body> ``` ``` 拼接sql的后台代码: //选择了生产线 if(deviceStatus.getLine()!=null){ sql.append(" and statu1.line =?"); params.add(deviceStatus.getLine()); System.out.println("-----dao--line----"+deviceStatus.getLine()); } //选择了班次 if(deviceStatus.getShiftWork()!=null){ sql.append(" and statu1.shiftWork =?"); params.add(deviceStatus.getShiftWork()); System.out.println("-----dao--shift----"+deviceStatus.getShiftWork()); } //选择了日期 if(deviceStatus.getDate()!=null){ sql.append(" and statu1.date =?"); params.add(deviceStatus.getDate()); } sql.append(" GROUP BY stop1.equipmentFailure"); if(params.size()==0){ list= this.getHibernateTemplate().find(sql.toString()); }else{ Query query=session.createQuery(sql.toString()); query.setParameter(0, params.get(0)); query.setParameter(1, params.get(1)); query.setParameter(2, params.get(2)); list=query.list(); } `` 在这里,我要将表单参数作为条件传入sql中,当有这个参数时,就拼接一条 sql。 但当我没有提交表单时会报错。debug了一下,,发现拼接sql时会去拼接“班次”和 “生产线”这两个条件下的sql。但此时,这两个条件应该为空啊。在action中打印 System.out.println("------------"+deviceStatus.getLine()); System.out.println("------------"+deviceStatus.getShiftWork()); System.out.println("------------"+deviceStatus.getDate()); 时,deviceStatus.getLine()和deviceStatus.getShiftWork()没有输出。 deviceStatus.getDate()为null。 求问怎么解决啊,,就是想在不选择条件的情况下,他就不拼接sql 。选择了条件就拼接对应的sql。
做excel导入时 内存溢出 求牛人指点
现正在做excel导入功能 但是每次执行到 book = Workbook.getWorkbook(theFile.getInputStream()); 这一步时 就出现内存溢出 在网上搜索结果比较茫然, 症结在于 JVM内存太小 通过tomcate statu 查看jvm内存: [img]http://dl.iteye.com/upload/attachment/361571/292f9279-d55f-32a5-8bb6-bd36fddee06a.bmp[/img] 于是修改了 myeclipse 安装目录下的: eclipse.ini 文件 内容如下: [code="java"] -showsplash com.genuitec.myeclipse.product --launcher.XXMaxPermSize 256m -vmargs -Xms256m -Xmx512m -Dosgi.splashLocation=C:\Program Files\MyEclipse 6.0\eclipse\MyEclipseSplash.bmp -Duser.language=en -XX:PermSize=512M -XX:MaxPermSize=512M [/code] 还吧tomcat安装目录下的catalina.bat中的 [code="java"]%CATALINA_OPTS%[/code] 全部修改成 [code="java"]-Xms64m -Xmx512m[/code] 然后又把myeclipse的快捷方式 目标项 [img]http://dl.iteye.com/upload/attachment/361583/3f5174ae-570a-3365-93a8-c74d6ff4bbd6.bmp[/img] 修改成 [code="java"]E:\development\eclipse3.3\eclipse.exe -product com.genuitec.myeclipse.product.ide -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M[/code] 但 运行时依然还是内存溢出 通过查看jvm 依然是开始 [img]http://dl.iteye.com/upload/attachment/361571/292f9279-d55f-32a5-8bb6-bd36fddee06a.bmp[/img] 小弟却是无招了 还望牛人指导。小弟感激不尽 分确实少 但就这么多了。
将jsp页面的<s:iterator>的数据返回到action
<s:iterator value="#request.yihaoweilist" status="statu"> <td> <s:property value="#statu.count"/> </td> <td > <s:property value="shebei.shebeiname"/> </td> <td> <s:property value="shebei.xitong.xitongname"/> </td> <td valign="middle"> <select name="selectjieguo" > <option value="正常" selected="selected">正常</option> <option style="background-color:#FF0000;color:#F8F8FF;" value="故障" >故障</option> </select> </td> </s:iterator> 就是在action怎么获取<s:iterator>里面的数据?
贪吃蛇游戏源程序有了,不知如何封装?求大神解答
/*------------------------------ 贪吃蛇 *------------------------------*/ #include <cstdlib> #include <iostream> #include <windows.h> #include <conio.h> #include <time.h> #define uint unsigned int #define _X 10 #define _Y 5 #define WIDTH 60 #define HEIGHT 16 #define U 0 #define R 1 #define D 2 #define L 3 #define SUC 0 #define EAT 1 #define BUMP 2 using namespace std; /*--------------点的结构体 ----------------*/ struct PT { int x; int y; }; /*--------------结点的结构体 ----------------*/ struct Body { PT now; Body *last; Body *next; }; /*--------------蛇的结构体 ----------------*/ struct Snake { int dir; Body *head; Body *tail; uint bodylong; }snake; /*--------------全局变量 ----------------*/ HANDLE hStdout=GetStdHandle(STD_OUTPUT_HANDLE); char obj='H',snk='O',food=1; PT foodpt; uint n,score,level=150; unsigned char key; char *msg; char l; /*--------------长延时----------------*/ void delay(uint time) { for(int k=0;k<time/10;k++) { Sleep(10); if(kbhit()) key=getch(); } } /*--------------获取随机点坐标----------------*/ PT randpt() { PT pt; pt.x=rand()%(WIDTH-1)+1+_X; pt.y=rand()%(HEIGHT-1)+1+_Y; return pt; } /*--------------隐藏光标----------------*/ void hidecursor() { CONSOLE_CURSOR_INFO cursor_info; cursor_info.bVisible=false; cursor_info.dwSize=20; SetConsoleCursorInfo(hStdout,&cursor_info); } /*--------------开始gotoxy一系列的函数定义----------------*/ void gotoxy(int x,int y,char ch) { COORD c; c.X = x - 1; c.Y = y - 1; SetConsoleCursorPosition (hStdout,c); putchar(ch); } void gotoxy(int x,int y,char* ch) { COORD c; c.X = x - 1; c.Y = y - 1; SetConsoleCursorPosition (hStdout,c); puts(ch); } void gotoxy(PT pt,char ch) { COORD c; c.X = pt.x - 1; c.Y = pt.y - 1; SetConsoleCursorPosition (hStdout,c); putchar(ch); } void gotoxy(PT pt,char* ch) { COORD c; c.X = pt.x - 1; c.Y = pt.y - 1; SetConsoleCursorPosition (hStdout,c); puts(ch); } void gotoxy(PT pt) { COORD c; c.X = pt.x - 1; c.Y = pt.y - 1; SetConsoleCursorPosition (hStdout,c); } void gotoxy(int x,int y) { COORD c; c.X = x - 1; c.Y = y - 1; SetConsoleCursorPosition (hStdout,c); } /*--------------结束----------------*/ /*--------------清除一行的内容----------------*/ void clraline(int y) { gotoxy(1,y); for(int k=0;k<70;k++) { putchar(' '); } } /*--------------获取按键值给key 并返回键值----------------*/ char getkey() { key=getch(); return key; } /*--------------等待按键弹起----------------*/ void waitforkeyup() { while(kbhit()) Sleep(20); } /*--------------判断点是否在蛇身上----------------*/ bool isinsnk(PT pt) { Body *temp; temp=snake.head; while(temp!=NULL) { if(temp->now.x==pt.x&&temp->now.y==pt.y) return true; temp=temp->next; } return false; } /*--------------初始化函数---------------*/ void init() { Body *temp,*temp2; hidecursor(); system("cls"); gotoxy(_X+24,1,"By PL23K"); temp=snake.tail; while(temp!=NULL) { temp2=temp; temp=temp->last; delete temp2; } srand((int)time(0)); score=0; for(n=0;n<=WIDTH;n++) { gotoxy(_X+n,_Y,obj); gotoxy(_X+n,_Y+HEIGHT,obj); } for(n=0;n<=HEIGHT;n++) { gotoxy(_X,_Y+n,obj); gotoxy(_X+WIDTH,_Y+n,obj); } snake.dir=R; temp=new Body; snake.head=temp; snake.head->now.x=WIDTH/2+_X; snake.head->now.y=HEIGHT/2+_Y; snake.head->last=NULL; temp=NULL; temp=new Body; snake.head->next=temp; snake.head->next->now.x=snake.head->now.x-1; snake.head->next->now.y=snake.head->now.y; snake.head->next->last=snake.head; temp=NULL; temp=new Body; snake.head->next->next=temp; snake.tail=snake.head->next->next; snake.tail->last=snake.head->next; snake.tail->next=NULL; snake.tail->now.x=snake.tail->last->now.x-1; snake.tail->now.y=snake.tail->last->now.y; snake.bodylong=3; temp=snake.head; while(temp!=NULL) { gotoxy(temp->now.x,temp->now.y,snk); temp=temp->next; } gotoxy(_X+13,_Y-2,"Please chooce level : 1 2 3 "); l=getch(); while(l!='1'&&l!='2'&&l!='3') { Sleep(20); l=getch(); } switch(l) { case 1 : level=350; case 2 : level=250; case 3 : level=150; } waitforkeyup(); clraline(_Y-2); gotoxy(_X+10,_Y+HEIGHT+1,"Press \'F\' to start----Press \'Q\' to quit"); foodpt=randpt(); while(isinsnk(foodpt)) {foodpt=randpt();} gotoxy(foodpt,food); } /*--------------画个蛇的启动画面----------------*/ void drawsnk() { char c[10]=" "; gotoxy(1,1); cout<<c<<"\n"; cout<<c<<" /^\\/\^\\"<<endl; cout<<c<<" _|__| O|"<<endl; cout<<c<<" \\/ /~ \\_/ \\"<<endl; cout<<c<<" \\____|__________/ \\"<<endl; cout<<c<<" \\_______ \\"<<endl; cout<<c<<" `\\ \\ \\"<<endl; cout<<c<<" | | \\"<<endl; cout<<c<<" / / \\"<<endl; cout<<c<<" / / \\\\"<<endl; cout<<c<<" / / \\ \\"<<endl; cout<<c<<" / / \\ \\"<<endl; cout<<c<<" / / _----_ \\ \\"<<endl; cout<<c<<" / / _-~ ~-_ | |"<<endl; cout<<c<<" \( ( _-~ _--_ ~-_ _/ |"<<endl; cout<<c<<" \\ ~-____-~ _-~ ~-_ ~-_-~ /"<<endl; cout<<c<<" ~-_ _-~ ~-_ _-~ "<<endl; cout<<c<<" ~--______-~ ~-___-~"<<endl; gotoxy(27,22,"上: W 下:S 左:A 右:D"); while(!kbhit()) { gotoxy(1,20); cout<<c<<c<<c<<" Press any key to enter"; Sleep(200); gotoxy(1,20); cout<<c<<c<<c<<c<<c<<c<<c<<c; Sleep(200); } } /*--------------移动蛇----------------*/ int move() { PT next; int statu; Body *temp; switch(snake.dir) { case U : next.x=snake.head->now.x; next.y=snake.head->now.y-1; break; case R : next.x=snake.head->now.x+1; next.y=snake.head->now.y; break; case L : next.x=snake.head->now.x-1; next.y=snake.head->now.y; break; case D : next.x=snake.head->now.x; next.y=snake.head->now.y+1; break; } if(next.x==foodpt.x&&next.y==foodpt.y) { score+=10; snake.bodylong++; temp=new Body; temp->last=NULL; temp->next=snake.head; snake.head->last=temp; temp->now=next; snake.head=temp; gotoxy(next,snk); statu=EAT; } else if(next.x>=WIDTH+_X||next.x<=_X||next.y>=HEIGHT+_Y||next.y<=_Y||isinsnk(next)) { statu=BUMP; } else { snake.bodylong++; temp=new Body; temp->last=NULL; temp->next=snake.head; snake.head->last=temp; temp->now=next; snake.head=temp; temp=snake.tail; snake.tail=snake.tail->last; snake.tail->next=NULL; gotoxy(next,snk); gotoxy(temp->now,' '); delete temp; statu=SUC; } return statu; } /*--------------主函数----------------*/ int main(int argc, char *argv[]) { int statu; snake.head=NULL; snake.tail=NULL; drawsnk(); while(1) { init(); statu=SUC; getkey(); while(key!='f'&&key!='q') { Sleep(20); getkey(); } if(key=='f') { clraline(_Y+HEIGHT+1); gotoxy(_X+10,_Y+HEIGHT+1,"Start! Press \'Q\' to quit,\'R\' to restart"); waitforkeyup(); while(key!='r'&&key!='q'&&statu!=BUMP) { waitforkeyup(); switch(key) { case 'w' : if(snake.dir!=D) snake.dir=U;break; case 's' : if(snake.dir!=U) snake.dir=D;break; case 'd' : if(snake.dir!=L) snake.dir=R;break; case 'a' : if(snake.dir!=R) snake.dir=L;break; } gotoxy(_X+11,_Y-2); cout<<"Your score is: "<<score<<" You are choose level"<<l; statu=move(); if(statu==EAT) { foodpt=randpt(); while(isinsnk(foodpt)) {foodpt=randpt();} gotoxy(foodpt,food); } delay(level); } } else { break; } } clraline(_Y-1); gotoxy(_X+26,_Y-1,"GAME OVER"); waitforkeyup(); getch(); return EXIT_SUCCESS; } /*--------------OVER----------------*/
extjs遍历json集合问题
后台使用级联查询两个表数据,向前段输出一个json集合,前台应该如何接收该json集合,以及前台如何将json遍历出来? 附上json格式:{"datas":[{"cash":123,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":2,"month":3,"nanos":0,"seconds":31,"time":1460199751000,"timezoneOffset":-480,"year":116},"id":"402881e953fa67fe0153faaffeb30003","modifyDate":null,"state":false,"statu":1},{"cash":123,"consumerId":"402881e953ae826f0153ae82ddf10001","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":3,"month":3,"nanos":0,"seconds":53,"time":1460199833000,"timezoneOffset":-480,"year":116},"id":"402881e953fa67fe0153fab140a50004","modifyDate":null,"state":true,"statu":1},{"cash":123,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":5,"month":3,"nanos":0,"seconds":20,"time":1460199920000,"timezoneOffset":-480,"year":116},"id":"402881e953fa67fe0153fab295170005","modifyDate":null,"state":true,"statu":1},{"cash":123,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":7,"month":3,"nanos":0,"seconds":22,"time":1460200042000,"timezoneOffset":-480,"year":116},"id":"402881e953fa67fe0153fab471bd0006","modifyDate":null,"state":true,"statu":1},{"cash":123,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":8,"month":3,"nanos":0,"seconds":59,"time":1460200139000,"timezoneOffset":-480,"year":116},"id":"402881e953fab5660153fab5ebeb0000","modifyDate":null,"state":true,"statu":1},{"cash":123,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":10,"month":3,"nanos":0,"seconds":20,"time":1460200220000,"timezoneOffset":-480,"year":116},"id":"402881e953fab5660153fab727a40001","modifyDate":{"date":9,"day":6,"hours":19,"minutes":10,"month":3,"nanos":0,"seconds":20,"time":1460200220000,"timezoneOffset":-480,"year":116},"state":true,"statu":1},{"cash":100,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":11,"month":3,"nanos":0,"seconds":23,"time":1460200283000,"timezoneOffset":-480,"year":116},"id":"402881e953fab5660153fab81cac0002","modifyDate":{"date":9,"day":6,"hours":19,"minutes":11,"month":3,"nanos":0,"seconds":23,"time":1460200283000,"timezoneOffset":-480,"year":116},"state":true,"statu":1},{"cash":100,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":9,"day":6,"hours":19,"minutes":12,"month":3,"nanos":0,"seconds":30,"time":1460200350000,"timezoneOffset":-480,"year":116},"id":"402881e953fab5660153fab9224c0003","modifyDate":{"date":9,"day":6,"hours":19,"minutes":12,"month":3,"nanos":0,"seconds":30,"time":1460200350000,"timezoneOffset":-480,"year":116},"state":true,"statu":1},{"cash":50,"consumerId":"402881e953ae826f0153ae82ddf10001","consumers":[],"createDate":{"date":7,"day":4,"hours":14,"minutes":36,"month":3,"nanos":0,"seconds":41,"time":1460011001000,"timezoneOffset":-480,"year":116},"id":"402881f353ef64290153ef6fe8010000","modifyDate":{"date":9,"day":6,"hours":19,"minutes":1,"month":3,"nanos":0,"seconds":34,"time":1460199694000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":123,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":14,"minutes":39,"month":3,"nanos":0,"seconds":53,"time":1460011193000,"timezoneOffset":-480,"year":116},"id":"402881f353ef64290153ef72d4be0001","modifyDate":{"date":8,"day":5,"hours":9,"minutes":38,"month":3,"nanos":0,"seconds":59,"time":1460079539000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":123,"consumerId":"402881e953ae826f0153ae82ddf10001","consumers":[],"createDate":{"date":7,"day":4,"hours":18,"minutes":25,"month":3,"nanos":0,"seconds":12,"time":1460024712000,"timezoneOffset":-480,"year":116},"id":"402881f353f02eaa0153f0411e0c0000","modifyDate":{"date":8,"day":5,"hours":18,"minutes":25,"month":3,"nanos":0,"seconds":12,"time":1460111112000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":31,"month":3,"nanos":0,"seconds":47,"time":1460032307000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b502e90000","modifyDate":{"date":8,"day":5,"hours":20,"minutes":39,"month":3,"nanos":0,"seconds":14,"time":1460119154000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":33,"month":3,"nanos":0,"seconds":6,"time":1460032386000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6344d0001","modifyDate":{"date":8,"day":5,"hours":20,"minutes":39,"month":3,"nanos":0,"seconds":24,"time":1460119164000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":33,"month":3,"nanos":0,"seconds":17,"time":1460032397000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b65f3a0002","modifyDate":{"date":7,"day":4,"hours":9,"minutes":51,"month":3,"nanos":0,"seconds":34,"time":1459993894000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":33,"month":3,"nanos":0,"seconds":49,"time":1460032429000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0003","modifyDate":{"date":7,"day":4,"hours":20,"minutes":33,"month":3,"nanos":0,"seconds":49,"time":1460032429000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":34,"month":3,"nanos":0,"seconds":39,"time":1460032479000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0004","modifyDate":{"date":9,"day":6,"hours":19,"minutes":0,"month":3,"nanos":0,"seconds":43,"time":1460199643000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":34,"month":3,"nanos":0,"seconds":55,"time":1460032495000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0005","modifyDate":{"date":9,"day":6,"hours":19,"minutes":0,"month":3,"nanos":0,"seconds":40,"time":1460199640000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":35,"month":3,"nanos":0,"seconds":22,"time":1460032522000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0006","modifyDate":{"date":8,"day":5,"hours":12,"minutes":18,"month":3,"nanos":0,"seconds":35,"time":1460089115000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":35,"month":3,"nanos":0,"seconds":51,"time":1460032551000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0007","modifyDate":{"date":8,"day":5,"hours":10,"minutes":12,"month":3,"nanos":0,"seconds":35,"time":1460081555000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":36,"month":3,"nanos":0,"seconds":18,"time":1460032578000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0008","modifyDate":{"date":8,"day":5,"hours":10,"minutes":7,"month":3,"nanos":0,"seconds":45,"time":1460081265000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":36,"month":3,"nanos":0,"seconds":37,"time":1460032597000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0009","modifyDate":{"date":8,"day":5,"hours":10,"minutes":7,"month":3,"nanos":0,"seconds":43,"time":1460081263000,"timezoneOffset":-480,"year":116},"state":true,"statu":3},{"cash":50,"consumerId":"402881f353e4650e0153e544f6ce0004","consumers":[],"createDate":{"date":7,"day":4,"hours":20,"minutes":36,"month":3,"nanos":0,"seconds":55,"time":1460032615000,"timezoneOffset":-480,"year":116},"id":"402881f353f071b30153f0b6dfaf0010","modifyDate":{"date":9,"day":6,"hours":19,"minutes":1,"month":3,"nanos":0,"seconds":28,"time":1460199688000,"timezoneOffset":-480,"year":116},"state":true,"statu":3}],"pageCount":1,"pageIndex":1,"total":22}
批量修改数据列statu,根据id
### dao层方法 参数ids有数据 ![图片说明](https://img-ask.csdn.net/upload/201711/27/1511762186_993463.png) ### 这是mybatis 注解 ![图片说明](https://img-ask.csdn.net/upload/201711/27/1511762197_724141.png) ### 这是报错信息,说明传过来的参数ids为空 ![图片说明](https://img-ask.csdn.net/upload/201711/27/1511762769_641364.png) ### 我想知道 为啥到注解 ids就变成空值了,欢迎各位大神解惑
jqgrid获取不到后台数据,大神帮忙看一下
下面是 页面部分: ``` <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=urf-8"> <title>调度任务列表</title> <style type="text/css">@import url('${pageContext.request.contextPath}/styles/home.css'); .selected{ background:#F0F0F0;} @import url('${pageContext.request.contextPath}/css/jquery-ui-1.8.4.custom.css'); @import url('${pageContext.request.contextPath}/css/ui.jqgrid.css'); </style> <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-migrate-1.2.1.js"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/js/grid.locale-zh_CN.js"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.jqGrid.min.js"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/js/grid.custom.js"></script> <%-- <script type="text/javascript" src="${pageContext.request.contextPath}/js/common/triggerList.js"></script> --%> <script type="text/javascript"> $(function() { $("#tableList").jqGrid({ url : "${pageContext.request.contextPath}/JobProcessServlet?jobtype=100&action=query", // 提交的action地址 rownumbers : true, // 是否显示前面的行号 datatype : "json", // 返回的数据类型 mtype : "post", // 提交方式 height : "auto", // 表格宽度 autowidth : true, // 是否自动调整宽度 colNames:['Trigger 名称','Trigger 分组','下次执行时间','上次执行时间','优先级','Trigger 状态','Trigger 类型','开始时间','结束时间','操作'], colModel : [ { name : "display_name", index : "display_name", width : 60, sortable : true, align : 'center' }, { name : "trigger_group", index : "trigger_group", width : 60, sortable : true, align : 'center' }, { name : "next_fire_time", index : "next_fire_time", width : 60, sortable : true, align : 'center' }, { name : "prev_fire_time", index : "prev_fire_time", width : 60, sortable : true, align : 'center', }, { name : "priority", index : "priority", width : 60, sortable : true, align : 'center' }, { name : "statu", index : "statu", width : 60, sortable : true, align : 'center' }, { name : "trigger_type", index : "trigger_type", width : 60, sortable : true, align : 'center' }, { name : "start_time", index : "start_time", width : 60, sortable : true, align : 'center' }, { name : "end_time", index : "end_time", width : 60, sortable : true, hidden : true, align : 'center' } , { name : "process", index : "process", sortable : true, hidden : true, align : 'center' }], gridComplete : function() { $("#_empty", "#tableList") .addClass("nodrag nodrop"); $("#tableList").tableDnDUpdate(); var ids = jQuery("#tableList").jqGrid('getDataIDs'); for ( var i = 0; i < ids.length; i++) { var cl = ids[i]; update = "<input type='button' id='update' value='修改作业表达式' onclick='update(" + cl + ")'/>&nbsp;"; runOnce = "<input type='button' id='runOnce' value='立即执行一次' onclick='runOnce(" + cl + ")'/>&nbsp;"; pause = "<input type='button' id='runOnce' value='暂停' onclick='doCmd(" + cl + ")'/>&nbsp;"; recolve = "<input type='button' id='runOnce' value='恢复' onclick='doCmd(" + cl + ")'/>&nbsp;"; del = "<input type='button' id='runOnce' value='删除' onclick='doCmd(" + cl + ")'/>&nbsp;"; jQuery("#tableList").jqGrid('setRowData', ids[i], { process : update + runOnce + pause + recolve + del }); } }, viewrecords : true, sortname : "display_name", rowNum : 20, rowList : [10, 15, 20], prmNames : { search : "search" }, jsonReader : { root : "dataList", // 服务端保存数据的集合 repeatitems : false, page: "page", total: "total", records: "records", cell: "dataList", }, pager : "gridPager", hidegrid : false }); }); </script> </head> <body> <br><br> <table align="center" width="1100" border="0"> <tr> <td align="left"><a href="${pageContext.request.contextPath}/addTrigger.jsp">添加调度任务</a></td> </tr> <tr> <td align="left"><a href="${pageContext.request.contextPath}/logdb">查看作业日志表</a></td> </tr> <tr> <td align="left"><a href="${pageContext.request.contextPath}/compleData.htm">补数</a></td> </tr> </table> <div align="center" style="margin-bottom:5px"> <input type="button" id="update" style="margin-right:10px;" value="修改作业表达式" onclick="update()"> <input type="button" id="runOnce" style="margin-right:10px;" value="立即执行一次" onclick="runOnce()"> <input type="button" id="pause" style="margin-right:10px;" value="暂停" onclick="doCmd('pause')"> <input type="button" id="resume" style="margin-right:10px;" value="恢复" onclick="doCmd('resume')"> <input type="button" id="remove" style="margin-right:10px;" value="删除" onclick="doCmd('remove')"> </div> <table id="tableList"></table> <div id ="gridPager"></div> <%-- <table id="tableList" align="center" width="1100" border="1"> <tr> <th nowrap> 选择 </th> <th nowrap> Trigger 名称 </th> <th nowrap> Trigger 分组 </th> <th nowrap> 下次执行时间 </th> <th nowrap> 上次执行时间 </th> <th nowrap> 优先级 </th> <th nowrap> Trigger 状态 </th> <th nowrap> Trigger 类型 </th> <th nowrap> 开始时间 </th> <th nowrap> 结束时间 </th> <!-- <th nowrap> 动作命令 </th> --> </tr> <c:forEach var="map" items="${list}"> <tr align="center"> <td nowrap> <input type="checkbox" value="${map.trigger_name}"> </td> <td nowrap> ${map.display_name} </td> <td nowrap> ${map.trigger_group} </td> <td nowrap> ${map.next_fire_time} </td> <td nowrap> ${map.prev_fire_time} </td> <td nowrap> ${map.priority} </td> <td nowrap> ${map.statu} </td> <td nowrap> ${map.trigger_type} </td> <td nowrap> ${map.start_time} </td> <td nowrap> ${map.end_time} </td> <td nowrap> <input type="button" id="update" value="修改作业表达式" onclick="update('${map.trigger_name}','${map.job_name}')"> <input type="button" id="runOnce" value="立即执行一次" onclick="runOnce('${map.job_name}')"> <input type="button" id="pause" value="暂停" onclick="doCmd('pause','${map.trigger_name}','${map.trigger_group}','${map.trigger_state}')"> <input type="button" id="resume" value="恢复" onclick="doCmd('resume','${map.trigger_name}','${map.trigger_group}','${map.trigger_state}')"> <input type="button" id="remove" value="删除" onclick="doCmd('remove','${map.trigger_name}','${map.trigger_group}','${map.trigger_state}')"> </td> </tr> </c:forEach> </table> --%> </body> </html> 下面是java部分: private void getQrtzTriggers(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { request.setCharacterEncoding("UTF-8"); List<Map<String, Object>> results = this.schedulerService .getQrtzTriggers(); String page = request.getParameter("page"); // 取得当前页数,注意这是jqgrid自身的参数 int rows = 20; int qrtzTriggers = this.schedulerService.countQrtzTriggers(); JSONObject json = new JSONObject(); json.put("dataList", results); json.put("records", qrtzTriggers);//总记录数 json.put("page", page); // 当前页 int total = qrtzTriggers/rows + ((qrtzTriggers%rows)>0?1:0); //计算得出的总页数 json.put("total", total); // 总页数 //System.out.println(rows); response.setCharacterEncoding("utf-8"); PrintWriter out = response.getWriter(); out.write(json.toString()); System.out.println(json.toString()); /*request.setAttribute("list", results);*/ request.getRequestDispatcher("/list.jsp").forward(request, response); } ```
后台用这种方式返回数据到ftl,有问题吗,list为什么取不到值
@RequestMapping(value = "/project/p_list.do", method={RequestMethod.POST, RequestMethod.GET}) public ModelAndView login(HttpServletRequest request, HttpServletResponse response) throws Exception { ModelAndView mv = new ModelAndView("test2"); String token = request.getParameter("token"); String page = request.getParameter("page"); String upStatu=request.getParameter("upStatu"); String statu=request.getParameter("statu"); String loginUrl = "http://10.0.2.14:8080/zfs_pg/project/p_list.do?"; String url = loginUrl + "token="+ token ;//+ "&page=" + page + "&upStatu=" + upStatu + "&statu=" + statu; String result = null; try { result = HttpUtils.URLPost(url); } catch (Exception e1) { // TODO Auto-generated catch block e1.printStackTrace(); } System.out.println(result); JSONObject jsonObject = new JSONObject(result); int ret = jsonObject.getInt("ret"); List<Project> pList = new ArrayList<Project>(); if(ret==0){ JSONObject jsonObject2 = jsonObject.getJSONObject("data"); JSONArray plist = jsonObject2.getJSONArray("plist"); for (int i = 0; i < plist.length(); i++) { JSONObject pC = plist.getJSONObject(i); int pid = pC.getInt("pid"); String title = pC.getString("title"); String content = pC.getString("content"); String type = pC.getString("type"); String pTime = pC.getString("pTime"); String endTime = pC.getString("endTime"); String uName = pC.getString("uName"); Project pc = new Project(); pc.setPid(pid); pc.setContent(content); pc.setTitle(title); //pc.setpTime(pTime); pList.add(pc); } }else{ String msg = jsonObject.getString("msg"); } mv.addObject("plist", pList); return mv; }
oc中,我用GCDAsyncSocket连上了socket,但是无法往服务器发送数据
#import "GCDSocketManager.h" #import "GCDAsyncSocket.h" #define SocketHost @"61.191.45.94" #define SocketPort 8091 @interface GCDSocketManager()<GCDAsyncSocketDelegate> //握手次数 @property(nonatomic,assign) NSInteger pushCount; //断开重连定时器 @property(nonatomic,strong) NSTimer *timer; //重连次数 @property(nonatomic,assign) NSInteger reconnectCount; @end @implementation GCDSocketManager //全局访问点 + (instancetype)sharedSocketManager { static GCDSocketManager *_instance = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ _instance = [[self alloc] init]; }); return _instance; } //可以在这里做一些初始化操作 - (instancetype)init { self == [super init]; if (self) { self.socket = [[GCDAsyncSocket alloc]initWithDelegate:self delegateQueue:dispatch_get_main_queue()]; } return self; } #pragma mark 请求连接 //连接 - (void)connectToServer { self.pushCount = 0; self.socket = [[GCDAsyncSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_main_queue()]; NSError *error = nil; // [self.socket connectToHost:SocketHost onPort:SocketPort error:&error]; [self.socket connectToHost:SocketHost onPort:SocketPort error:&error]; if (error) { NSLog(@"SocketConnectError:%@",error); } } #pragma mark 连接成功 //连接成功的回调 - (void)socket:(GCDAsyncSocket *)sock didConnectToHost:(NSString *)host port:(uint16_t)port { NSLog(@"socket连接成功"); [self sendDataToServer]; } //连接成功后向服务器发送数据 - (void)sendDataToServer { NSString *jsonData = @"kUOhLq1vFfPqzx5WtcJr0ZWmZ89uM9KEx4bthINy3HL2QD8oLjBGXhVv2gAlDjfwtTp0HrwnGLYxAloJ+ABzqzIS2OBG6MwDJLwQmJVPajgcNZhLZKFzmdvWbo+7HR+hSN2Co4DQRQfUm2n8HsDjAyNVUgpmO39NJ4XY085oGPE/dHkq/t5Y7A=="; NSData *cmdData = [jsonData dataUsingEncoding:NSUTF8StringEncoding]; NSLog(@"socket发送数据--->%@",cmdData); //发送 [self.socket writeData:cmdData withTimeout:-1 tag:0]; //读取数据 [self.socket readDataWithTimeout:-1 tag:100]; } //连接成功向服务器发送数据后,服务器会有响应 - (void)socket:(GCDAsyncSocket *)sock didReadData:(NSData *)data withTag:(long)tag { NSString *msg = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSLog(@"收到的数据-->%@",msg); [self.socket readDataWithTimeout:-1 tag:200]; //服务器推送次数 self.pushCount++; //在这里进行校验操作,情况分为成功和失败两种,成功的操作一般都是拉取数据 } #pragma mark 连接失败 //连接失败的回调 - (void)socketDidDisconnect:(GCDAsyncSocket *)sock withError:(NSError *)err { NSLog(@"Socket连接失败"); self.pushCount = 0; NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; NSString *currentStatu = [userDefaults valueForKey:@"Statu"]; //程序在前台才进行重连 if ([currentStatu isEqualToString:@"foreground"]) { //重连次数 self.reconnectCount++; //如果连接失败 累加1秒重新连接 减少服务器压力 NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:1.0 * self.reconnectCount target:self selector:@selector(reconnectServer) userInfo:nil repeats:NO]; self.timer = timer; } } //如果连接失败,5秒后重新连接 - (void)reconnectServer { self.pushCount = 0; self.reconnectCount = 0; //连接失败重新连接 NSError *error = nil; [self.socket connectToHost:SocketHost onPort:SocketPort error:&error]; if (error) { NSLog(@"SocektConnectError:%@",error); } } #pragma mark 断开连接 //切断连接 - (void)cutOffSocket { NSLog(@"socket断开连接"); self.pushCount = 0; self.reconnectCount = 0; [self.timer invalidate]; self.timer = nil; [self.socket disconnect]; } @end sendDataToServer中我调用writeData给服务器发送数据无法发送
mybatis调用oracle存储过程报错
错误如下 ``` java.sql.SQLException: ORA-06550: 第 1 行, 第 7 列: PLS-00201: 必须声明标识符 'DOINENTITYDATA' ORA-06550: 第 1 行, 第 7 列: PL/SQL: Statement ignored ``` ``` -- 替换或创建存储过程 CREATE OR REPLACE PROCEDURE doInentityData as --声明游标 存储ODS的有效数据 CURSOR datas IS SELECT --身份证号 person.CertiCode IDNumber, --姓名 person.PersonName pname, --理赔编码 person.ClaimQueryNo ClaimQueryNo, --出险时间 regist.DamageDate ClaimTime, --涉案车牌号 endcase.LicenseNo CarNumber, --涉案公司 person.CompanyCode CompaniesInvolved, --地区代码 person.AreaCode AreaCode , --结案时间 endcase.LastEndCaseTime ClosedTime, --赔款总金额 endcase.SumPaid ClaimAmount, --保单号 statu.PolicyNo PolicyNo , --伤亡人员类型 person.MedicalType MedicalType, --险种 V3101开始的是商业险 CASE WHEN instr(person.ClaimQueryNo,'V3101',1,1) <> '0' THEN '2' ELSE '1' END Coverage --在四张临时表查询数据 FROM SIALPERSONTEMP person , SIALCLAIMSTATUSTEMP statu, SIALREGISTEMP regist, SIALENDCASETEMP endcase --表关系 WHERE person.USERCODE=statu.USERCODE AND statu.USERCODE=regist.USERCODE AND regist.USERCODE=endcase.USERCODE ; -- 查询出的一行数据 hang datas%rowtype; -- 身份信息主键id idcard SIDENTITY.IdentityID%type; -- 理赔信息信息是否存在,从而判断添加还是更新 flag number(10,2) ; BEGIN --打开游标 OPEN datas; --循环处理查询出的数据 LOOP FETCH datas INTO hang; Exit WHEN datas%notfound; --插入身份信息表,并返回主键 INSERT INTO SIDENTITY (IdentityID,IDNumber,IDType,DataSource,"NAME",CheckStatus,CancelStatus,NameStatus,ValidStatus) VALUES (INENTITY_NUM.NEXTVAL ,hang.IDNumber, '01', '1', hang.pname, '1', '0', '1', '1') returning IdentityID INTO idcard; -- 查询理赔信息存不存在,存才更新,不存在插入 SELECT count(1) INTO flag FROM SCLAIM WHERE IDENTITYID=idcard AND CLAIMSENCODING=hang.ClaimQueryNo; --判断理赔信息是否存在? IF flag>0 --更新理赔信息 THEN UPDATE SCLAIM SET ClaimTime=hang.ClaimTime , CarNumber=hang.CarNumber, CompaniesInvolved=hang.CompaniesInvolved , AreaCode=hang.AreaCode, ClosedTime=hang.ClosedTime, ClaimAmount=hang.ClaimAmount, PolicyNo =hang.PolicyNo, Coverage=hang.Coverage, MedicalType=hang.MedicalType,ModifyTime=sysdate,ValidStatus='1' WHERE IDENTITYID=idcard AND CLAIMSENCODING=hang.ClaimQueryNo; ELSE INSERT INTO SCLAIM (IdentityID,ClaimsEncoding,ClaimTime,CarNumber,CompaniesInvolved,AreaCode,ClosedTime ,ClaimAmount,PolicyNo,Coverage,MedicalType,StorageTime,ValidStatus) VALUES ( idcard, hang.ClaimQueryNo, hang.ClaimTime,hang.CarNumber, hang.CompaniesInvolved, hang.AreaCode, hang.ClosedTime, hang.ClaimAmount,hang.PolicyNo,hang.Coverage, hang.MedicalType, sysdate, '1' ); END IF; END LOOP; --将四张表的临时数据插入到正式表中 --INSERT INTO SIALREGIS (CLAIMQUERYNO,USERCODE,AREACODE,COMPANYCODE,DAMAGEDATE,VALIDSTATUS) SELECT CLAIMQUERYNO, USERCODE, AREACODE, COMPANYCODE, DAMAGEDATE, VALIDSTATUS FROM SIALREGISTEMP; --INSERT INTO SIALCLAIMSTATUS (CLAIMQUERYNO,USERCODE,AREACODE,COMPANYCODE,POLICYNO,VALIDSTATUS) SELECT CLAIMQUERYNO, USERCODE, AREACODE, COMPANYCODE, POLICYNO, VALIDSTATUS FROM SIALCLAIMSTATUSTEMP ; --INSERT INTO SIALENDCASE (CLAIMQUERYNO,USERCODE,AREACODE,COMPANYCODE,LICENSENO,LASTENDCASETIME,SUMPAID,VALIDSTATUS) SELECT CLAIMQUERYNO,USERCODE, AREACODE, COMPANYCODE, LICENSENO, LASTENDCASETIME, SUMPAID, VALIDSTATUS FROM SIALENDCASETEMP ; ---INSERT INTO SIALPERSON (CLAIMQUERYNO,USERCODE,AREACODE,SERIALNO,COMPANYCODE,PERSONNAME,CERTITYPE,CERTICODE,UNDERDEFLOSS,PERSONPROPERTY, MEDICALTYPE,VALIDSTATUS) --SELECT CLAIMQUERYNO,USERCODE,AREACODE,SERIALNO,COMPANYCODE,PERSONNAME, CERTITYPE,CERTICODE, UNDERDEFLOSS, PERSONPROPERTY, MEDICALTYPE, VALIDSTATUS FROM SIALPERSONTEMP ; --删除临时表的数据 --DELETE FROM SIALREGISTEMP; --DELETE FROM SIALCLAIMSTATUSTEMP; --DELETE FROM SIALENDCASETEMP; --DELETE FROM SIALPERSONTEMP; END; ``` ``` <update id="doInentityData" statementType="CALLABLE"> {call Inentity.DOINENTITYDATA()} </update> ```
使用jqgrid没有数据,前台样式也有问题,url报405(Method Not Allowed)
![这个是前台展示的图片,什么样式都没有,只有表头,而且该引入的两个css文件已经引入了](https://img-ask.csdn.net/upload/201511/04/1446601040_840065.png) 下面是servlet public void ajaxTriggerList(HttpServletRequest request, HttpServletResponse response) throws Exception{ List<Map<String, Object>> results = this.schedulerService .getQrtzTriggers(); String page = request.getParameter("page"); // 取得当前页数,注意这是jqgrid自身的参数 if(page==null){ page= "1"; } int rows = 20; int qrtzTriggers = this.schedulerService.countQrtzTriggers(); JSONObject json = new JSONObject(); json.put("rows", results); json.put("records", qrtzTriggers);//总记录数 json.put("page", page); // 当前页 int total = qrtzTriggers/rows + ((qrtzTriggers%rows)>0?1:0); //计算得出的总页数 json.put("total", total); // 总页数 response.setCharacterEncoding("utf-8"); PrintWriter out = response.getWriter(); out.print(json); System.out.println(json); ``` 这个是前台 $(function() { $("#tableList").jqGrid({ url : "${pageContext.request.contextPath}/listTrigger", // 提交的action地址 rownumbers : true, // 是否显示前面的行号 datatype : "json", // 返回的数据类型 height : "auto", // 表格宽度 mtype: "GET", autowidth : true, // 是否自动调整宽度 colNames:['Trigger 名称','Trigger 分组','下次执行时间','上次执行时间','优先级','Trigger 状态','Trigger 类型','开始时间','结束时间'], colModel : [ { name : "display_name", index : "display_name", width : 60, sortable : true, align : 'center' }, { name : 'trigger_group', index : 'trigger_group', width : 60, sortable : true, align : 'center' }, { name : 'next_fire_time', index : 'next_fire_time', width : 60, sortable : true, align : 'center' }, { name : 'prev_fire_time', index : 'prev_fire_time', width : 60, sortable : true, align : 'center', }, { name : 'priority', index : 'priority', width : 60, sortable : true, align : 'center' }, { name : 'statu', index : 'statu', width : 60, sortable : true, align : 'center' }, { name : 'trigger_type', index : 'trigger_type', width : 60, sortable : true, align : 'center' }, { name : 'start_time', index : 'start_time', width : 60, sortable : true, align : 'center' }, { name : 'end_time', index : 'end_time', width : 60, sortable : true, align : 'center' }], viewrecords : true, sortname : "display_name", rowNum : 20, rowList : [10, 15, 20], jsonReader : { root : "rows", // 服务端保存数据的集合 repeatitems : false, page: "page", total: "total", records: "records" }, pager : "#gridPager", hidegrid : false }); }); ``` 大神帮忙看看什么问题
请大神解答一下关于netty客户端定时发送消息给服务端
1 . 只有一个客户端和服务端 连着 , 发送消息的时候用channel 的 writeAndFlush , 用线程结果Channel 一直被线程占用 , 只能发消息 , 其他的事情做不了 2. 请问有什么解决的办法吗 , 或者netty 是有那个类可以专门处理客户端给服务端发送数据的呢 3. 还有就是有没有关于客户端给服务端发送数据执行流程的博文呢 4 . 谢谢帮助我的大神 ``` // workerGroup处理已经被接收的连接 NioEventLoopGroup workerGroup = new NioEventLoopGroup(); AtsClient client = this; //workerGroup.scheduleAtFixedRate(command, initialDelay, period, unit); try { // Bootstrap是一个启动 NIO 服务的辅助启动类 Bootstrap b = new Bootstrap(); b.group(workerGroup); // 使用NioSocketChannel类的新的channel接收进来的连接 b.channel(NioSocketChannel.class); // option() 是提供给NioSocketChannel用来接收进来的连接 b.option(ChannelOption.SO_KEEPALIVE, true); // 处理最近接收的channel b.handler(new ChannelInitializer<SocketChannel>() { @Override public void initChannel(SocketChannel ch) throws Exception { // 设定IdleStateHandler心跳检测每五秒进行一次写检测,如果五秒内write()方法未被调用则触发一次userEventTrigger()方法,实现客户端每五秒秒向服务端发送一次消息 ch.pipeline().addLast( new IdleStateHandler(0, 5, 0, TimeUnit.SECONDS)); // 解码器 ch.pipeline().addLast("AtsDecoder", new AtsDecoder()); // 处理器 ch.pipeline().addLast("AtsHanler", new AtsHandler(client)); // 编码器 ch.pipeline().addLast("AtsEncoder", new AtsEncoder()); } }); // Start the client. 绑定端口然后启动服务 ChannelFuture f = b.connect(host, port).sync(); channel = f.channel(); System.out.println(channel); channel.eventLoop().scheduleAtFixedRate(new Runnable() { @Override public void run() { sendPlanTrain(); } }, 5, 3, TimeUnit.SECONDS); 这个是客户端连接服务端的代码 , 这里调用了channel的eventLoop().scheduleAtFixedRate , 启动了线程 , 里面是往服务端发送的数据方法 . channel 执行了sendPlanTrain(); 就一直被线程征用 , 其他处理器无法使用 ``` ``` class Sender implements Runnable { Channel channel = null; public Sender(Channel channel) { this.channel = channel; } @Override public void run() { Map<String,String> ScadaDataMap = null; Jedis jedis = null; try { ScadaDataMap = new HashMap<String,String>(); Thread.sleep(3 * 1000); //设置暂停的时间 3 秒 JedisUtilProxy.initJedisPoolUtil("127.0.0.1", 6379); jedis = JedisUtilProxy.getJedis(); for (int i = 1 ; i <= 30 ; i++) { String statu = jedis.hget("SCADA_DATA",String.valueOf(i)); ScadaDataMap.put(String.valueOf(i), statu); } sendPlanTrain(); } catch (Exception e) { e.printStackTrace(); } } ``` ``` @Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception { logger.debug("===AtsHandler.userEventTriggered.客户端循环心跳监测发送: " + new Date()); if (evt instanceof IdleStateEvent) { IdleStateEvent event = (IdleStateEvent) evt; if (event.state() == IdleState.WRITER_IDLE) { logger.debug("===AtsHandler.userEventTriggered.客户端没有信息发送给服务端 客户端每5秒发送 MESSAGE_POLLING 信息给服务端"); ByteBuf byteBuf = null; byte[] frameHead = new byte[4]; frameHead[0] = (byte) 0xff; frameHead[1] = 0; frameHead[2] = 5; frameHead[3] = 0; byte[] message = new byte[4]; message[0] = 0; message[1] = (byte) 2; message[2] = (byte) (AtsMessageIDCodeEnum.MESSAGE_POLLING .getCode() >> 8); message[3] = (byte) (AtsMessageIDCodeEnum.MESSAGE_POLLING .getCode() & 0xFF); byte[] frame = ArrayUtils.addAll(frameHead, message); byteBuf = ctx.channel().alloc().buffer(8 * 4); byteBuf.writeBytes(frame); ctx.writeAndFlush(byteBuf); } } ```
sql server 怎么判断一个表里面的字段拆分之后是否可以在另一个表的字段里面查到数据
其中F_Split是分割以逗号连接的字符串的方法 怎么判断string字段拆分之后的数据是否能在@a表中的id字段找到对应的记录 ``` insert into @a(id,name)values(1,'A') insert into @a(id,name)values(2,'B') insert into @a(id,name)values(3,'C') select * from @a insert into @c(statu,name,string)values('0','AAAAA','2,3') insert into @c(statu,name,string)values('0','BBBBB','3,4') insert into @c(statu,name,string)values('0','CCCCC','4,5') select statu,name,string from @c update @c set statu = 1 where (select col from F_Split(string,',')) in ( select id from @a ) select * from @c ``` 以上代码有报错,请问该怎么写 ?
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私有的数
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
此博客仅为我业余记录文章所用,发布到此,仅供网友阅读参考,如有侵权,请通知我,我会删掉。 补充 有不少读者留言说本文章没有用,因为天气预报直接打开手机就可以收到了,为何要多此一举发送到邮箱呢!!!那我在这里只能说:因为你没用,所以你没用!!! 这里主要介绍的是思路,不是天气预报!不是天气预报!!不是天气预报!!!天气预报只是用于举例。请各位不要再刚了!!! 下面是我会用到的两个场景: 每日下
面试官问我:什么是消息队列?什么场景需要他?用了会出现什么问题?
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式,欢迎Star和完善 前言 消息队列在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在消息队列的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸,打败了无数
8年经验面试官详解 Java 面试秘诀
    作者 | 胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。   Java程序员准备和投递简历的实
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外
大学四年自学走来,这些珍藏的「实用工具/学习网站」我全贡献出来了
知乎高赞:文中列举了互联网一线大厂程序员都在用的工具集合,涉及面非常广,小白和老手都可以进来看看,或许有新收获。
《阿里巴巴开发手册》读书笔记-编程规约
Java编程规约命名风格 命名风格 类名使用UpperCamelCase风格 方法名,参数名,成员变量,局部变量都统一使用lowerCamelcase风格 常量命名全部大写,单词间用下划线隔开, 力求语义表达完整清楚,不要嫌名字长 ...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
你知道的越多,你不知道的越多 点赞再看,养成习惯 本文 GitHub https://github.com/JavaFamily 已收录,有一线大厂面试点思维导图,也整理了很多我的文档,欢迎Star和完善,大家面试可以参照考点复习,希望我们一起有点东西。 前前言 为啥今天有个前前言呢? 因为你们的丙丙啊,昨天有牌面了哟,直接被微信官方推荐,知乎推荐,也就仅仅是还行吧(心里乐开花)
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
Python爬虫精简步骤1 获取数据
爬虫的工作分为四步: 1.获取数据。爬虫程序会根据我们提供的网址,向服务器发起请求,然后返回数据。 2.解析数据。爬虫程序会把服务器返回的数据解析成我们能读懂的格式。 3.提取数据。爬虫程序再从中提取出我们需要的数据。 4.储存数据。爬虫程序把这些有用的数据保存起来,便于你日后的使用和分析。 这一篇的内容就是:获取数据。 首先,我们将会利用一个强大的库——requests来获取数据。 在电脑上安装
Python绘图,圣诞树,花,爱心 | Turtle篇
1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle() circle.shape('circle') circle.color('red') circle.speed('fastest') circle.up() square = turtle.Turtle()
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 更多有趣分析教程,扫描下方二维码关注vx公号「裸睡的猪」 即可查看! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布
听说想当黑客的都玩过这个Monyer游戏(1~14攻略)
第零关 进入传送门开始第0关(游戏链接) 请点击链接进入第1关: 连接在左边→ ←连接在右边 看不到啊。。。。(只能看到一堆大佬做完的留名,也能看到菜鸡的我,在后面~~) 直接fn+f12吧 &lt;span&gt;连接在左边→&lt;/span&gt; &lt;a href="first.php"&gt;&lt;/a&gt; &lt;span&gt;←连接在右边&lt;/span&gt; o
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
别低估自己的直觉,也别高估自己的智商
所有群全部吵翻天,朋友圈全部沦陷,公众号疯狂转发。这两周没怎么发原创,只发新闻,可能有人注意到了。我不是懒,是文章写了却没发,因为大家的关注力始终在这次的疫情上面,发了也没人看。当然,我...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。   再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。   下文是原回答,希望能对你能有所启发。   如果我说,这个世界上人真的分三六九等,
为什么听过很多道理,依然过不好这一生?
记录学习笔记是一个重要的习惯,不希望学习过的东西成为过眼云烟。做总结的同时也是一次复盘思考的过程。 本文是根据阅读得到 App上《万维钢·精英日课》部分文章后所做的一点笔记和思考。学习是一个系统的过程,思维模型的建立需要相对完整的学习和思考过程。以下观点是在碎片化阅读后总结的一点心得总结。
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
如何优雅地打印一个Java对象?
你好呀,我是沉默王二,一个和黄家驹一样身高,和刘德华一样颜值的程序员。虽然已经写了十多年的 Java 代码,但仍然觉得自己是个菜鸟(请允许我惭愧一下)。 在一个月黑风高的夜晚,我思前想后,觉得再也不能这么蹉跎下去了。于是痛下决心,准备通过输出的方式倒逼输入,以此来修炼自己的内功,从而进阶成为一名真正意义上的大神。与此同时,希望这些文章能够帮助到更多的读者,让大家在学习的路上不再寂寞、空虚和冷。 ...
雷火神山直播超两亿,Web播放器事件监听是怎么实现的?
Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播。在视频业务大数据平台中,播放数据的统计分析非常重要,所以Web播放器在使用过程中,需要对其内部的数据进行收集并上报至服务端,此时,就需要对发生在其内部的一些播放行为进行事件监听。 那么Web播放器事件监听是怎么实现的呢? 01 监听事件明细表 名
3万字总结,Mysql优化之精髓
本文知识点较多,篇幅较长,请耐心学习 MySQL已经成为时下关系型数据库产品的中坚力量,备受互联网大厂的青睐,出门面试想进BAT,想拿高工资,不会点MySQL优化知识,拿offer的成功率会大大下降。 为什么要优化 系统的吞吐量瓶颈往往出现在数据库的访问速度上 随着应用程序的运行,数据库的中的数据会越来越多,处理时间会相应变慢 数据是存放在磁盘上的,读写速度无法和内存相比 如何优化 设计
Linux 命令(122)—— watch 命令
1.命令简介 2.命令格式 3.选项说明 4.常用示例 参考文献 [1] watch(1) manual
Linux 命令(121)—— cal 命令
1.命令简介 2.命令格式 3.选项说明 4.常用示例 参考文献 [1] cal(1) manual
记jsp+servlet+jdbc实现的新闻管理系统
1.工具:eclipse+SQLyog 2.介绍:实现的内容就是显示新闻的基本信息,然后一个增删改查的操作。 3.数据库表设计 列名 中文名称 数据类型 长度 非空 newsId 文章ID int 11 √ newsTitle 文章标题 varchar 20 √ newsContent 文章内容 text newsStatus 是否审核 varchar 10 news...
Python新型冠状病毒疫情数据自动爬取+统计+发送报告+数据屏幕(三)发送篇
今天介绍的项目是使用 Itchat 发送统计报告 项目功能设计: 定时爬取疫情数据存入Mysql 进行数据分析制作疫情报告 使用itchat给亲人朋友发送分析报告(本文) 基于Django做数据屏幕 使用Tableau做数据分析 来看看最终效果 目前已经完成,预计2月12日前更新 使用 itchat 发送数据统计报告 itchat 是一个基于 web微信的一个框架,但微信官方并不允
相关热词 c#导入fbx c#中屏蔽键盘某个键 c#正态概率密度 c#和数据库登陆界面设计 c# 高斯消去法 c# codedom c#读取cad文件文本 c# 控制全局鼠标移动 c# temp 目录 bytes初始化 c#
立即提问