with this libray you solve this problem, in my POJO´s i put some annotations (for other reasons) and I haven´t problems.
Try it, and tell us. Greetings. 2011/6/1 randasin <[email protected]> > I don't plan to use or check the annotation in GWT context so I am ok > if GWT ignores it. MyObject is still compiled and I can use it in > Async requests, right? > > The reason I have the annotation is the classes are also used in > another web service project, which utilizes the annotation. > > Just wondered if there is way to get rid of the warning. > > > On Jun 1, 4:24 pm, Adolfo Panizo Touzon <[email protected]> > wrote: > > 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 <[email protected]> > > > > > > > > > > > > > > > > > > > > > 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 > [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. > > > > -- > > 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 [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. > > -- 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 [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.
