I have downloaded a open source code,and build it with maven,I get a problem with gxt-2.1.1.jar
[INFO] [ERROR] Errors in 'jar:file:/C:/Documents%20and%20Settings/Administrator/.m2/repository/com/extjs/gxt/
[INFO] [ERROR] Line 548: Event.ONPASTE cannot be resolved
and I get a answer "The problem is with the gxt-2.1.1 jar file that you are using. The problem is that the organization that develops gxt, delivered two versions of their jar file for that release, one that works with gwt-1.x and one that works with gwt-2.x. The problem is that they didn't differentiate this in the name of the jar file so the version of gxt-2.1.1 that you are using assumes that there is an Event.ONPASTE in the gwt library that was defined in gwt-2.0 going forward. Since we are still using gwt-1.7.1, you are running into problems."
but I don`t how to compile the Events.java and upgrade it into the gxt-2.1.1 jar in the "C:\Documents and Settings\Administrator\.m2\repository\com\extjs\gxt\2.1.1"
there is one import command I really have no idea to add which jar file to the javac classpath.?Is there anyone who can help?
"import com.google.gwt.user.client.Event;"
从网易163邮箱发来的超大附件
Events.java (16.74K, 2011年6月18日 0:04 到期)
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:
Post a Comment