原创 Zookeeper 啓動 顯示成功,但實際並未啓動

sh zkServer.sh start sh zkServer.sh status cat zookeeper.out java vi /etc/profile source /etc/profile sh zkServer.

原创 update 多表/case when 條件

update A   j set j.replace_job=(select d.replace_job from B  d where j.job_code = d.code and rownum < 2) where exists (

原创 MediaPlayer 報 start called in state 1

package com.ncu.thorgame.service; import java.io.IOException; import android.app.Service; import andro

原创 List容器 的 if (list == null) if( list.size() == 0) 的使用

這是一個按鈕的點擊查詢 事件 btn_find.addActionListener(new ActionListener() { @Overridepublic void actionPerformed(ActionEvent e)

原创 解決方案 ERROR: ORA-01033: ORACLE initialization or shutdown in progress

今天一起來使用數據庫 發現數據庫連接不了 直接開始網上找解決方法  有些感覺不是很有用   但 網友的力量很強大 還是解決了   貼出我的解決方案 SQL> conn sys/123456 as sysdba 已連接。 SQL>

原创 Could not parse mapping document from input stream

Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input streamat