Hello everyone
Perhaps it can be easy newbie question for most of you. But for me it’s really difficult, because I’m in the web programming.
I’m going through this manual about gwt platform http://uptick.com.au/content/getting-started-gwt-platform-part-2
But I have encountered with a problem.
When I start MyGwtpApp – it starts, but if you press the button “send” – the error appears:
Sending name to the server:
GWTP%20User
Server replies:
An error occured: 404
HTTP ERROR: 404
NOT_FOUND
RequestURI=/dispatch/I find this https://code.google.com/p/gwt-platform/issues/detail?id=257 , but there is no solution there.
I don’t understand how to fix it, I don’t even understand how to debug it.
So please, help me, I will be glad if you give me any piece of advice.
--
You received this message because you are subscribed to the Google Groups "GWTP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwt-platform...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Thanks for the answers.
The thing is it’s my test to become java intern. And it’s is my only chance for the moment. So despite I think it is very strange task for the employment, I have to make it work.
The test is to make 7 steps:
http://uptick.com.au/content/serendipity-working-gwt-platform-and-smartgwt
but I can’t make first step “Create a GWTP starter project” because of the 404 error.
I have used eclipse 4.4 (luna), and kepler (4.3) and have taken the same results.
I installed google plugin from this place https://developers.google.com/eclipse/docs/getting_started?hl=ru
I also have tried different versions of GWT SDK. MyGwtpApp works the way I have described above with GWT SDK 2.1.0, 2.1.1. The application don’t work at all with GWT versions: 2.0.4 or less, 2.2.0 or more.
Probably I need to use old versions of Eclipse and Google Plugin. If you know that, tell me, please.
To Kasoma Fredrick
The file is located au.org.upstick.mygwtpapp
MyGwtpApp.gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='mygwtpapp'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->
<!-- Other module inherits -->
<inherits name='com.gwtplatform.mvp.Mvp' />
<inherits name='com.gwtplatform.dispatch.Dispatch' />
<!-- Specify the app entry point class. -->
<entry-point class='au.org.uptick.mygwtpapp.client.MyGwtpApp'/>
<!-- Specify the paths for translatable code -->
<source path='client'/>
<source path='shared'/>
<!-- Set user agents -->
<set-property name="user.agent" value="gecko1_8"/>
<!-- In any real-world application, you will define at least -->
<!-- one locale in addition to the default locale. -->
<extend-property name="locale" values="en"/>
<define-configuration-property name="gin.ginjector"
is-multi-valued="false" />
<set-configuration-property name="gin.ginjector"
value="au.org.uptick.mygwtpapp.client.gin.MyGinjector" />
</module>
Com.gwt.platform.dispatch
Dispatch.gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010 Gwt-Platform
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<module>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
<!-- Specify the paths for translatable code -->
<source path='client'/>
<source path='shared'/>
</module>