I was experimenting with Grails on heroku. I followed this article:
https://devcenter.heroku.com/articles/grails.
Everything works ok.
Then I decided to try a grails app that uses GWT (via gwt plugin).
This time I cannot deploy the application. After git push I get the
following errors:
Compile error during compilation with javac.
>
>
>>
>> /app/.grails/2.0.3/projects/test-heroku/plugins/gwt-0.6.1/src/java/grails/plugins/gwt/client/GwtActionService.java:3:
>>
>> package com.google.gwt.user.client.rpc does not exist
>
> import com.google.gwt.user.client.rpc.RemoteService;
>
> ^
>
>
>>
>> /app/.grails/2.0.3/projects/test-heroku/plugins/gwt-0.6.1/src/java/grails/plugins/gwt/client/GwtActionService.java:12:
>>
>> cannot find symbol
>
> symbol: class RemoteService
>
> public interface GwtActionService extends RemoteService {
>
> ^
>
>
>>
>> /app/.grails/2.0.3/projects/test-heroku/plugins/gwt-0.6.1/src/java/grails/plugins/gwt/client/GwtActionServiceAsync.java:3:
>>
>> package com.google.gwt.user.client.rpc does not exist
>
> import com.google.gwt.user.client.rpc.AsyncCallback;
>
> ^
>
>
>>
>> /app/.grails/2.0.3/projects/test-heroku/plugins/gwt-0.6.1/src/java/grails/plugins/gwt/client/GwtActionServiceAsync.java:11:
>>
>> cannot find symbol
>
> symbol : class AsyncCallback
>
> location: interface grails.plugins.gwt.client.GwtActionServiceAsync
>
> <T extends Response> void execute(Action<T> action,
>> AsyncCallback<T> callback);
>
> ^
>
> Note:
>> /app/.grails/2.0.3/projects/test-heroku/plugins/gwt-0.6.1/src/java/org/codehaus/groovy/grails/plugins/gwt/XMLJUnitResultFormatter.java
>>
>> uses unchecked or unsafe operations.
>
> Note: Recompile with -Xlint:unchecked for details.
>
> 4 errors
>
>
>
>
>
> 1 error
>
> ! Failed to build app
>
> ! Heroku push rejected, failed to compile Grails app
>
>
>> To [email protected]:gwt-test.git
>
> ! [remote rejected] master -> master (pre-receive hook declined)
>
>
>
I don't have this problem locally. Heroku doesn't see gwt classes. I see
them successfully downloaded during deployment:
> Gwt version 2.4.0 requested, downloading required dependencies
| Downloading: gwt-dev-2.4.0.pom
| Downloading: gwt-dev-2.4.0.pom.sha1
| Downloading: gwt-2.4.0.pom
| Downloading: gwt-2.4.0.pom.sha1
| Downloading: oss-parent-4.pom
| Downloading: oss-parent-4.pom.sha1
| Downloading: gwt-dev-2.4.0.jar
| Downloading: gwt-dev-2.4.0.jar.sha1
| Downloading: gwt-user-2.4.0.pom
| Downloading: gwt-user-2.4.0.pom.sha1
| Downloading: gwt-user-2.4.0.jar
| Downloading: gwt-user-2.4.0.jar.sha1
| Downloading: gwt-servlet-2.4.0.pom
| Downloading: gwt-servlet-2.4.0.pom.sha1
| Downloading: gwt-servlet-2.4.0.jar
| Downloading: gwt-servlet-2.4.0.jar.sha1
[...]
I don't understand why gwt classes are not visible.
Did someone succeed with deploying grails + gwt app?
Can someone offer me some advice on how to solve this problem?
I use grails 2.0.3, gwt plugin 0.6.1.
Regards,
gruby
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en