Thanks Again Stephan Hartmann,But can u tell me one thing ,
>>
> cant we use List or Set or something else for the return type of the
addEmp() method. because while using Set<Employee> as a return type in Async
& in greeting Service i m gettin a error. so plz can u tell it me. Plz
Plz.....
The output is::
Compiling module com.employeedepartmentgae.Employeedepartmentgae
Refreshing module from source
Validating newly compiled units
Removing units with errors
[ERROR] Errors in
'file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/GreetingServiceAsync.java'
[ERROR] Line 6: The import
com.employeedepartmentgae.server.domainobject.Employee cannot be resolved
[ERROR] Line 18: Employee cannot be resolved to a type
[ERROR] Errors in
'file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/GreetingService.java'
[ERROR] Line 6: The import
com.employeedepartmentgae.server.domainobject.Employee cannot be resolved
[ERROR] Line 20: Employee cannot be resolved to a type
[ERROR] Errors in
'file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/EmployeeWidget.java'
[ERROR] Line 12: The import
com.employeedepartmentgae.server.domainobject.Employee cannot be resolved
[ERROR] Line 75: The method addEmp(String, String, String,
AsyncCallback<Set<Employee>>) from the type GreetingServiceAsync refers to
the missing type Employee
[ERROR] Line 75: The type new
AsyncCallback<Set<Employee>>(){} must implement the inherited abstract
method AsyncCallback<Set<Employee>>.onSuccess(Set<Employee>)
[ERROR] Line 75: Employee cannot be resolved to a type
[ERROR] Line 94: The method onSuccess(Set<Employee>) of type
new AsyncCallback<Set<Employee>>(){} must override or implement a supertype
method
[ERROR] Line 94: Employee cannot be resolved to a type
[ERROR] Line 96: Employee cannot be resolved to a type
[ERROR] Line 96: Employee cannot be resolved to a type
[ERROR] Line 98: Employee cannot be resolved to a type
Removing invalidated units
[WARN] Compilation unit
'file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/Employeedepartmentgae.java'
is removed due to invalid reference(s):
[WARN]
file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/EmployeeWidget.java
[WARN] Compilation unit
'file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/DepartmentWidget.java'
is removed due to invalid reference(s):
[WARN]
file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/GreetingService.java
[WARN]
file:/home/wissen18/employeedepartmentgae/src/com/employeedepartmentgae/client/GreetingServiceAsync.java
Computing all possible rebind results for
'com.employeedepartmentgae.client.Employeedepartmentgae'
Rebinding com.employeedepartmentgae.client.Employeedepartmentgae
Checking rule <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
[ERROR] Unable to find type
'com.employeedepartmentgae.client.Employeedepartmentgae'
[ERROR] Hint: Previous compiler errors may have made this
type unavailable
[ERROR] Hint: Check the inheritance chain from your module;
it may not be inheriting a required module or a module may not be adding its
source path entries properly
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-appengine-java?hl=en.