-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The method $(Element) is ambiguous for the type GQuery #335
Comments
What version of gwtquery are you using? with 1.4.3-SNAPSHOT shouldn't happen, at least I have tried with both version of gwt Element and it works. |
@manolo I am using your version of gquery which you recommended me for the touch gestures. I will try the latest snapshot. |
@manolo I tried to compile the current 1.4.3-SNAPSHOT from the master branch in my GWT 2.8SNAPSHOT Project. I compiled with Java8 and got the following error (Note: It worked with GWT 2.7 and Java7):
|
Could you test this branch? #336 |
@manolo I tested with manolo:mcm_fix_overload_java8 branch but still get the same error. |
It's weird because $(Element) does not exist any more. |
@manolo I will try to create a simple project for you later this day. |
@manolo Here is a sample project to show you the error while compilation: https://github.com/confile/GWTQueryJava8Test |
There is no code in your project : https://github.com/confile/GWTQueryJava8Test/blob/master/src/test/client/Test.java But anyway, I have imported it in a system with a recent installed eclipse-luna and java8, and write some code like: And I'm able to run it perfectly, with both 1.4.3-SNAPSHOT master and the patched version in my branch. My java version is: Could you post some code which demonstrates the issue? |
@confile Maybe you have another version of GwtQuery in your classpath... That happens with transitive dependencies if you use Maven. Could you check ? |
@jDramaix I do not use maven |
ok so you confirm that there is only one version of GQuery in your On Tue Jan 13 2015 at 5:40:34 PM Confile notifications@github.com wrote:
|
@jDramaix yes. I have all the jars in this folder on my classpath: https://github.com/confile/GWTQueryJava8Test/tree/master/lib |
@confile could you please import this project in your environment and see if it compiles? https://github.com/manolo/gwtquery-test It's almost the same than yours but with all 3party dependencies removed, and a couple of lines of code |
I tested you project and it compiles without any errors. |
I think you can close this issue. The error might be due to another lib. |
Ok, thanks anyway, this made heads up to test java8, we are about to release 1.4.3 |
Compiling with Java8 I get the following error:
The text was updated successfully, but these errors were encountered: