ann
          冰是沒有未來的,因為它的永恒
          posts - 107,comments - 34,trackbacks - 0
               摘要: 這個錯誤信息通常在你更新工作拷貝時出現,可能的原因有兩個:

          * 版本庫中有兩個文件的名字只是大小寫不同,這在Windows下是不允許簽出的,因為Windows的文件系統是大小寫不敏感的。很可能其中一個文件是誤添加的,所以你要找出是哪一個,然后刪除它,以確保不會把更改提交到錯誤的文件。
          * 某個文件的文件名是非法的(對Windows來說非法),比如,"con", "lpr", "com"都是非法的,因為這些都是設備名。當然,含有"/\*?:|"和其它特殊字符在Windows(NTFS 和 FAT)也是不允許的。

          是,我們知道這個錯誤信息對解決問題沒什么實質性的幫助,但這個錯誤信息是來自Subversion庫的,我們改不了。

          有幾個辦法可以避免這個問題:

          Subversion 是針對大小寫敏感的文件系統(比如 Linux )設計的,這在大小寫不敏感的Windows下有時就會有問題。一個典型的例子是,重命名文件時,如果文件名僅有大小寫不一樣,如Makefile改成 MAKEFILE。在工作拷貝中要  閱讀全文
          posted @ 2009-10-22 12:11 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: 在測試發現 當數組返回json格式的String的時候,如果數組中只有一個,則返回的json格式不是數組形式,而是單一對象格式。  閱讀全文
          posted @ 2009-10-15 09:28 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: 這里面用的是jersey

          1. 創建一個project

          2. 建立返回的model

          這里面的model例子

          /*
          * To change this template, choose Tools | Templates
          * and open the template in the editor.
          */

          package com.test.webservice.model;

          /**
          *
          * @author ann
          */
          import com.fg114.model.People;
          import java.util.Date;
          import javax.xml.bind.annotation.XmlAccessType;
          import javax.xml.bind.annotation.XmlAccessorType;
          import javax  閱讀全文
          posted @ 2009-09-27 15:19 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.ws.message.jaxb.AttachmentMarshallerImpl.addMtomAttachment(Ljavax/activation/DataHandler;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;" the class loader (instance of org/mortbay/jetty/webapp/WebAppClassLoader) of the current class, com/sun/xml/ws/message/jaxb/AttachmentMarshallerImpl, and its superclass loader (instance of ), have different Class objects for the type javax/act  閱讀全文
          posted @ 2009-09-18 16:13 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: 在 Linux 系統中,
          要將代理連接為群集,有一個特殊的前提條件。某些 Linux 安裝程序自動將 localhost 條目設置為網絡回送 IP 地址 (127.0.0.1)。您必須設置系統的 IP 地址,以便為群集中的所有代理設置正確的地址。
          也即修改/etc/hosts
          把hostname的配置文件為你的靜態ip(linux 查看hostname命令: hostname)

          例如: hostname == etch1
          修改/etc/hosts中
          etch1 192.168.1.18  閱讀全文
          posted @ 2009-09-17 11:32 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: url :http://efforts.embedded.ufcg.edu.br/web/?p=7  閱讀全文
          posted @ 2009-09-01 09:28 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: 例子 class Hotel{
          static constraints = {
          name()
          crTime(nullable:true)
          upTime(nullable:true)
          }

          String name
          Date crTime
          Date upTime

          def beforeInsert = {
          crTime = new Date()
          }

          def beforeUpdate = {
          upTime = new Date()
          }
          }
          crTime(nullable:true)
          upTime(nullable:true)不設 保存或更新靜默失敗(beforeInsert或beforeUpdate 不起作用)
            閱讀全文
          posted @ 2009-08-28 15:50 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: 測試了grails時候 在新創建domain class之后 測試 ,發現老是提示is not domain class 錯誤,
          解決的辦法就是grails clean 在重啟app就可以了  閱讀全文
          posted @ 2009-08-26 16:00 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: 1. 修改role密碼
          alter role postgres password 'postgres';

          2. 設置postgres遠程連接

          1). 修改listen addresses
          sudo vim /etc/postgresql/8.3/main/pg_hba.conf
          # listen_addresses = 'localhost'
          設置為 listen_addresses = '*'

          2). 添加ip

          sudo vim /etc/postgresql/8.3/main/postgresql.conf
          在 最后一行添加
          host all all 192.168.0.0/16 md5

          3  閱讀全文
          posted @ 2009-07-31 14:23 冰是沒有未來的,因為它的永恒| 編輯 收藏
               摘要: 1. 修改 ${postgres_install}/data/postgresql.conf
          將listen_address = 'localhost' 改為 listen_address = '*'

          2. ${postgres_install}/data/pg_hba.conf
          在文件最后加入:
          host  all  all  192.168.1.0/24  password

          3. 重新啟動數據庫
          ${postgres_install}/bin/pg_ctl stop -D ${postgres_install}/data
          ${postgres_install}/bin/postmaster -i -D ${postgres_install}/data>logfile 2>&1 &

          4. 這樣就可以遠程訪問數據庫了,如下邊的命令:
          $ psql -h 192.168.1.216 -p 5432   閱讀全文
          posted @ 2009-07-24 10:37 冰是沒有未來的,因為它的永恒| 編輯 收藏
          列出全部內容
          共9頁: 上一頁 1 2 3 4 5 6 7 8 9 下一頁 

          當下,把心放下 放下如果是可能的,那一定是在當下,
          不在過去,也不在未來。
          當下放下。唯有活在當下,你的問題才能放下。

          主站蜘蛛池模板: 泽普县| 蓝山县| 娱乐| 房产| 辽宁省| 东安县| 革吉县| 日喀则市| 大安市| 武邑县| 马龙县| 贵阳市| 太仓市| 太谷县| 茂名市| 来凤县| 化德县| 盐源县| 旌德县| 高清| 岑巩县| 阿鲁科尔沁旗| 贞丰县| 呼图壁县| 库尔勒市| 阿尔山市| 阳春市| 昭苏县| 宣武区| 定襄县| 徐汇区| 如东县| 左权县| 依兰县| 武乡县| 牡丹江市| 靖宇县| 丰镇市| 白朗县| 寿宁县| 婺源县|