Wednesday, June 1, 2011

Re: Ignoring unresolvable annotation type

As you know, GWT is not pure Java, so you can´t use some things.

One way to solve these problem is including a library for reflection (see gwt-ent in google).

2011/6/1 randasin <r4nd7263@gmail.com>
I have one annotation and one object.

com.example.model.shared.MyAnnotation
com.example.model.shared.MyObject

MyObject is declared with MyAnnotation:

@MyAnnotation
public class MyObject {
...
}

When I compile, I am getting this warning

[java]    Resolving com.example.model.shared.MyObject
[java]       Found type 'com.example.model.shared.MyObject'
[java]          [WARN] Ignoring unresolvable annotation type
com.example.model.shared.MyAnnotation

The compilation still succeeded, but I wonder what side effects are
there?  How do I resolve this warning?

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




--
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

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

No comments:

Post a Comment