`
gbm47gbm
  • 浏览: 15364 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

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给我吃掉了,太黑心了,呵呵!
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics