Re: GWT > 2.0.0 DevMode: Strange warning when RPC with some object as parameter

455 views
Skip to first unread message

Chak Lai

unread,
Aug 13, 2012, 4:11:23 PM8/13/12
to google-we...@googlegroups.com
I am assuming you are using GWT SDK

In the Ant file build.xml, don't forget to update the path of GWT.

<!-- Configure path to GWT SDK -->
<property name="gwt.sdk" location="C:/gwt-2.4.0" />


You may also need to validation-api-1.0.0.GA.jar, validation-api-1.0.0.GA-sources.jar point to the right location.



Just create a new project using 2.4.0, and compare the build.xml with the 2.0.0 ones and see what is missing.



On Thursday, August 9, 2012 9:19:01 AM UTC-4, Vitaliy K wrote:
Hi all,

when I updated my project from GWT 2.0.0 to 2.4.0, noticed that in window "GWT Development Mode" at Jetty tab there is a warning:
[WARN] Server class 'junit.framework.AssertionFailedError' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/C:/eclipse.Indigo/plugins/org.junit_4.8.2.v4_8_2_v20110321-1705/junit.jar' to the web app classpath for this session
I found it appears when RPC method that takes an object, such as java.util.Date (not String and not null) or some my class.

How to get rid of this warning? I do not think is a good idea to copy junit.jar into the directory war\WEB-INF\lib.

(OS: Windows 7; IDE: Eclipse Indigo)

Thank you in advance

Reply all
Reply to author
Forward
0 new messages