Linux环境下,Eclipse WTP 3.40 发布WEB静态站点失败。

悬赏:15 发布时间:2008-07-20 提问人:qdzheng (中级程序员)

1、指定了Http Server,及发布目录;
2、将静态站点添加到该服务器下,没有问题;
3、发布时出错,错误窗口中显示:
Error during publish
  Could not replace with temp file /tmp/tmp25629.css.
  Could not replace with temp file /tmp/tmp25630.css.
  Could not replace with temp file /tmp/tmp25631.jpg.
  Could not replace with temp file /tmp/tmp25632.jpg.
  Could not replace with temp file /tmp/tmp25690.html.
  ... ...

.log中显示的内容类似,没有提供进一步的信息
!MESSAGE Error during publish
!SUBENTRY 1 org.eclipse.wst.server.core 4 0 2008-07-20 12:29:02.444
!MESSAGE Could not replace with temp file /tmp/tmp25629.css.
!SUBENTRY 1 org.eclipse.wst.server.core 4 0 2008-07-20 12:29:02.444
!MESSAGE Could not replace with temp file /tmp/tmp25630.css.
!SUBENTRY 1 org.eclipse.wst.server.core 4 0 2008-07-20 12:29:02.445
!MESSAGE Could not replace with temp file /tmp/tmp25631.jpg.
... ...

看了一下,/tmp下面确有发布中产生的这些临时文件,并且可删除,因此可以排除跟这些文件的存取权限有关系。

前段时间做一个struts2的站点,用Tomcat5.5做服务器,也发现这个状况,后来可以正常发布了,但不清楚什么原因。现在也是可以正常发布的。

有那位高人知道这个问题的原因,怎么解决吗?

另,说明一下我的环境:

Ubuntu 8.04
JDK 1.6
Eclipse WTP 3.40 (自行由eclipse.org下载安装,不是来自ubuntu官方源里的)
apache2
该问题已经关闭: 看来没有人能帮我了,结帖。