I downloaded the sample code from "http://code.google.com/webtoolkit/
articles/mvp-architecture-2.html", ( "http://code.google.com/p/google-
web-toolkit/downloads/detail?name=Tutorial-Contacts2.zip"). I got the
following errors and warnings in eclipse:


Description     Resource        Path    Location        Type
Cannot instantiate the type ContactsView        ExampleGWTTest.java     
/Contacts/
test/com/google/gwt/sample/contacts/test        line 27 Java Problem
ContactsPresenter.Display cannot be resolved to a type
ExampleGWTTest.java     /Contacts/test/com/google/gwt/sample/contacts/test
line 18 Java Problem
ContactsPresenter.Display cannot be resolved to a type
ExampleJRETest.java     /Contacts/test/com/google/gwt/sample/contacts/test
line 17 Java Problem
ContactsPresenter.Display cannot be resolved to a type
ExampleJRETest.java     /Contacts/test/com/google/gwt/sample/contacts/test
line 22 Java Problem
display cannot be resolved to a variable        ExampleGWTTest.java     
/Contacts/
test/com/google/gwt/sample/contacts/test        line 27 Java Problem
display cannot be resolved to a variable        ExampleGWTTest.java     
/Contacts/
test/com/google/gwt/sample/contacts/test        line 28 Java Problem
mockDisplay cannot be resolved to a variable    ExampleJRETest.java     /
Contacts/test/com/google/gwt/sample/contacts/test       line 22 Java Problem
mockDisplay cannot be resolved to a variable    ExampleJRETest.java     /
Contacts/test/com/google/gwt/sample/contacts/test       line 23 Java Problem
AsyncCallback is a raw type. References to generic type
AsyncCallback<T> should be parameterized        ExampleJRETest.java     
/Contacts/
test/com/google/gwt/sample/contacts/test/jre    line 51 Java Problem
AsyncCallback is a raw type. References to generic type
AsyncCallback<T> should be parameterized        ExampleJRETest.java     
/Contacts/
test/com/google/gwt/sample/contacts/test/jre    line 52 Java Problem
ContactsView is a raw type. References to generic type ContactsView<T>
should be parameterized ExampleGWTTest.java     /Contacts/test/com/google/
gwt/sample/contacts/test        line 27 Java Problem
ContactsViewImpl is a raw type. References to generic type
ContactsViewImpl<T> should be parameterized     ContactsViewImpl.java   /
Contacts/src/com/google/gwt/sample/contacts/client/view line 36 Java
Problem
IAnswer is a raw type. References to generic type IAnswer<T> should be
parameterized   ExampleJRETest.java     /Contacts/test/com/google/gwt/sample/
contacts/test/jre       line 48 Java Problem
The file war\WEB-INF\lib\gwt-servlet.jar has a different size than GWT
SDK library gwt-servlet.jar; perhaps it is a different version? gwt-
servlet.jar     /Contacts/war/WEB-INF/lib       Unknown Google Web Toolkit
Problem
The following classpath entry 'C:\MyGAE2\Contacts\lib
\easymock-2.5.2.jar' will not be available on the server's classpath
Contacts                Unknown Google Web App Problem
The import com.google.gwt.dom.client.NodeList is never used
ContactsViewImpl.java   /Contacts/src/com/google/gwt/sample/contacts/
client/view     line 15 Java Problem
The import com.google.gwt.sample.contacts.client.common.SelectionModel
is never used   ContactsViewImpl.java   /Contacts/src/com/google/gwt/
sample/contacts/client/view     line 6  Java Problem
The import com.google.gwt.user.client.DOM is never used
ContactsViewImpl.java   /Contacts/src/com/google/gwt/sample/contacts/
client/view     line 20 Java Problem
The import com.google.gwt.user.client.rpc.IsSerializable is never used
ContactDetails.java     /Contacts/src/com/google/gwt/sample/contacts/
shared  line 4  Java Problem
The import com.google.gwt.user.client.ui.CheckBox is never used
ContactsViewImpl.java   /Contacts/src/com/google/gwt/sample/contacts/
client/view     line 24 Java Problem
The import com.google.gwt.user.client.ui.HTMLTable is never used
ContactsViewImpl.java   /Contacts/src/com/google/gwt/sample/contacts/
client/view     line 27 Java Problem
The import com.google.gwt.user.client.Window is never used
ContactsViewImpl.java   /Contacts/src/com/google/gwt/sample/contacts/
client/view     line 22 Java Problem
The import java.util.ArrayList is never used    ContactsViewImpl.java   /
Contacts/src/com/google/gwt/sample/contacts/client/view line 30 Java
Problem
The import java.util.ArrayList is never used    WallMainView.java       /Rebest/
src/rebest/client/wall/view     line 4  Java Problem
The import java.util.List is never used WallMainView.java       /Rebest/src/
rebest/client/wall/view line 3  Java Problem
The import rebest.client.wall.model.WallGroup is never used
WallMainView.java       /Rebest/src/rebest/client/wall/view     line 6  Java
Problem
The serializable class Address does not declare a static final
serialVersionUID field of type long     Address.java    /Contacts/src/com/
google/gwt/sample/contacts/shared       line 5  Java Problem

My feeling is the test code cannot access the source code.

My dev environment:

OS: Windows 7
Eclipse: Version: Helios Service Release 2/Build id: 20110218-0911
Eclipse Plugins: Google Eclipse Plugin, GWTP Eclipse Plugin

I appreciate any help to solve this issue.

Thanks!
- Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to