I don't know Spring well but I'd bet this is simply not possible.
On Tuesday, January 6, 2015 2:27:29 PM UTC+1, Olivier M. wrote:
-- On Tuesday, January 6, 2015 2:27:29 PM UTC+1, Olivier M. wrote:
Merci Thomas (je continue en anglais) ;)
I added your line (in a new .gwt.xml file) and added explicitly spring4gwt into the classpath (pom.xml modified).
So it's much better. But now, I have to set up a Spring context to run the tests:
$ mvn gwt:test[INFO] ...
[INFO] Running com.hellogwt.client.GwtTestGreetingService
[INFO] Starting http://127.0.1.1:35652/com.hellogwt.HelloGWTJUnit.JUnit/ on browser FF17junit.html?gwt.codesvr=127.0. 1.1:56252
[INFO] ...
[INFO] Module com.hellogwt.HelloGWTJUnit.JUnit has been loaded
[INFO] 200 - POST /com.hellogwt.HelloGWTJUnit.JUnit/junithost (127.0.0.1) 218 bytes
[INFO] Starting Jetty on port 0
[INFO] [WARN] Exception while dispatching incoming RPC call
[INFO] java.lang.IllegalStateException: No Spring web application context found
[INFO] at org.spring4gwt.server.SpringGwtRemoteServiceServlet. getBean( SpringGwtRemoteServiceServlet. java:92)
[INFO] ...
But I don't know where...
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/d/optout.
No comments:
Post a Comment