gwt mvp contacts example project gives error when importing it in eclipse
i downloaded the example GWT MVP Contacts project from
google gwt mvp tutorial
and imported it in eclipse juno. when eclipse loaded it, i get the following error:
when i try to run this project the console gives me this error message:
Loading modules com.myproject.example.places.Contacts [ERROR] Unable to find 'com/myproject/example/places/Contacts.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] shell failed in doStartup method
before i downloaded this example project, i created my own project which i called "Contacts" too, but i deleted it from the workspace and after that i downloaded the gwt mvp Contacts example and imported it into eclipse.
What kind of error is this and how to remove it?
please help.
iam using eclipse juno and gwt 2.5 version
in your build file, under target "gwtc" you may see the following like
this should be changed to proper values. Go to your src folder, under that you may find xxxx.gwt.xml file enclosed in a package something like com.google.gwt.sample.logexample. say inside this package you find the file LogExample.gwt.xml
your correct arg value should be
hope this helps
If you are using eclipse or similar IDE right click on project => Properties => Java Build Path, under Order and Export ensure all the entries are checked the errors should disappear
please refer to the image below:
链接地址: http://www.djcxy.com/p/24278.html上一篇: 将图形导入Eclipse WebApp