我的后台服务器托管在BAE上,在其中一个servlet中用到了java方法:File.createTempFile,报错:Unable to create temporary file,如何解决??
很急,谢谢各位!servletjavabaecreateTempFile

解决方案 »

  1.   

    贴原始错误,可能是File不存在。
      

  2.   

    贴全日志信息。也有可能是你这个file 路劲不对
      

  3.   


    java.lang.SecurityException: Unable to create temporary file
      

  4.   


    java.lang.SecurityException: Unable to create temporary file

    看起来是权限问题吧,你看下你要创建temp的文件的权限,是不是777
      

  5.   


    java.lang.SecurityException: Unable to create temporary file

    看起来是权限问题吧,你看下你要创建temp的文件的权限,是不是777如何看要创建的temp文件的权限?新手求教
      

  6.   


    java.lang.SecurityException: Unable to create temporary file

    看起来是权限问题吧,你看下你要创建temp的文件的权限,是不是777如何看要创建的temp文件的权限?新手求教
    Linux:ls -l
    Windows:右键自己看