Oh! I'm sorry for the misunderstanding of which xml file to edit. I'm using GWT 2.5.1 thus I've to edit the web xml file instead.
On Friday, November 1, 2013 1:01:34 AM UTC+8, Jens wrote:
-- However i have placed the stuff which is copied from the website and I assumed it is placed in between the <web-app> portion but it still does generate some errors.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Blocked attempt to access interface 'com.mycompany.project.client.Connection', which is not implemented by 'com.mycompany.project.server.MySQLConnection'; this is either misconfiguration or a hack attempt )
This was generated when I place "/com.mycompany.project.Alternate/MySQLConnection" as my url mapping
com.google.gwt.user.client.rpc.StatusCodeException: 404 <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 404 NOT_FOUND</title>
</head>
<body><h2>HTTP ERROR: 404</h2><pre>NOT_FOUND</pre>
<p>RequestURI=/com.mycompany.project.Alternate/MySQLConnection</p><p><i><small><a href="http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>
<br/>
while this was generated by changing the url-pattern to "/com.mycompany.project.AlternateConnection"
On Friday, November 1, 2013 1:01:34 AM UTC+8, Jens wrote:
GWT tries to send its request to /com.mycompany.project.Alternate/MySQLConnection but your servlet isn't deployed at that location.Check your servlet configuration in your web.xml file.Maybe you should also read: http://www.gwtproject.org/doc/latest/ DevGuideServerCommunication. html# DevGuideImplementingServices -- J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment