On Wednesday, May 9, 2012 8:09:56 PM UTC+2, Christien Lomax wrote:
>
> Hi Thomas,
>
> First, I want to say that your examples and blogs have helped us a lot
> over the last year! Thanks!
>
> Secondly, thanks for the super quick reply!
>
> I added the sources generation to the POMs for the Shared, Persistence and
> Services projects, and fixed the ".class" issues. However, we are still
> getting issues with GWT not being able to find classes/sources... they (at
> the moment) seem to be around classes specified via @ExtraTypes which we
> have specified in our IAppRequestFactory interface.
>
> eg:
>
> @ExtraTypes({
> IAlertProxy.class, IAlertOptionsProxy.class, IAlertTypeProxy.class
> })
> public interface IOris4RequestFactory extends RequestFactory
> {
> IAlertRequest alertRequest();
>
> ...
> }
>
> The specific error is:
> Resolving com.mycompany.client.IAppRequestFactory
> Found type 'com.mycompany.client.IApp4RequestFactory'
> [ERROR] Annotation error: cannot resolve com.mycompany.
> client.alerts.proxy.IAlertProxy
> java.lang.ClassNotFoundException: com.mycompany.
> client.alerts.proxy.IAlertProxy
> ...
> [ERROR] Annotation error: expected class java.lang.Class, got null
>
>
Just to make sure: are your classes javac'd (maven-compiler-plugin) before
being GWT-compiled (gwt-maven-plugin)?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/PBx0XkJ6G_gJ.
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.