这句的时候
        java.io.FileWriter fWriter = new FileWriter(logFile, true);

解决方案 »

  1.   

    没有这个方法java.io.FileWriter,是不是jdk装的有问题啊
      

  2.   

    java.io.FileWriter jdk1.3应该有这个方法吧?
      

  3.   

    1.3中没有这个方法,参看:
    FileWriterpublic FileWriter(File file,
                      boolean append)
               throws IOException
    Constructs a FileWriter object given a File object. If the second argument is true, then bytes will be written to the end of the file rather than the beginning.
    Parameters:file - a File object to write to
    append - if true, then bytes will be written to the end of the file rather than the beginningThrows:IOException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reasonSince:1.4
      

  4.   

    jdk1.3有FileWriter(File file)方法,但没有FileWriter(File file, boolean append)。