Same issue too. Any workaround?
Le jeudi 6 février 2014 20:25:16 UTC+1, Pablo Castilla a écrit :
-- Le jeudi 6 février 2014 20:25:16 UTC+1, Pablo Castilla a écrit :
I have the same issue, have you solved it?Thanks
El viernes, 15 de noviembre de 2013 18:59:47 UTC+1, Brian Henry escribió:I'm using Cloud Endpoints on App Engine with GWT and want to use a server side annotation on a class in my Shared package. I think the GWT compiler wants me to inherit a module, but obviously there's no source etc. It's for:
import com.google.api.server.spi.config.AnnotationBoolean;
import com.google.api.server.spi.config.ApiResourceProperty; To use the annotation:
@ApiResourceProperty(ignored = AnnotationBoolean.TRUE)
The compiler is throwing up:
[ERROR] Line 6: The import com.google.api cannot be resolved
[ERROR] Line 7: The import com.google.api cannot be resolved
[ERROR] Line 27: ApiResourceProperty cannot be resolved to a type
[ERROR] Line 27: The attribute ignored is undefined for the annotation type ApiResourceProperty
[ERROR] Line 27: AnnotationBoolean cannot be resolved
I tried <exclude name="com.google.api.*" /> in my .gwt.xml but it didn't help. I'm hoping there'll be a way to just tell the compiler to ignore this. I'm using Objectify annotations in the same class without any problem which I think is down to the source being included.
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