an error occurred while attempting to contact the server_cheney

an error occurred while attempting to contact the server_cheney
2011年09月10日
  It retured an error "An error occurred while attempting to contact the server. Please check your network connection and try again." when i click send button
  
  >while attempting to contact the server" /> 这就是直接新建了一个gwt项目用了它自带的例子结果出现了这样的错误,gwt分为客户端和服务端,它要么在开发者模式下运行要么发布到服务器中运行,不然它是无法跑到服务端的。但是我即用了开发者模式也部署到tomcat里面运行可还是得到这个错误,最后我又新建了个项目对比了一下才发现eclipse在自动生成配置文件的时候把名字给我弄错了,在web.xml里面:
  
  
  greetServlet
  com.clothing.server.GreetingServiceIm pl
  
  
  greetServlet
  /women_clothing/greet
  
  这里 /women_clothing/greet (women_clothing)这个名字一定要和项目名字相对应,eclipse在生成的时候就把woemn给我吃掉了,太黑心了,呵呵!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值