You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repo (12/30/2009) and out of the box it does not compile. I use a Mac with Snow Leopard.
Is there any other way to package or compile than the standard maven ones?
The compile output is like that:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building selenium-dsl
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/SharedStuff/gits/selenium-dsl/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 85 source files to /Users/SharedStuff/gits/selenium-dsl/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[26,33] type parameters of X cannot be determined; no unique maximal instance exists for type variable X with upper bounds X,java.lang.Object
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[31,33] type parameters of I cannot be determined; no unique maximal instance exists for type variable I with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlInput
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[59,33] type parameters of I cannot be determined; no unique maximal instance exists for type variable I with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlInput
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[61,33] type parameters of E cannot be determined; no unique maximal instance exists for type variable E with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlElement
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[66,32] type parameters of E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,com.gargoylesoftware.htmlunit.html.HtmlElement
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[97,33] type parameters of I cannot be determined; no unique maximal instance exists for type variable I with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlInput
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Dec 30 15:58:55 CET 2009
[INFO] Final Memory: 27M/527M
[INFO] ------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
Look at my fork. I added an explicity cast in my HtmlFormWrapper class. This happens when some method is generic and it calls another method that has a generic return type.
Hi,
I cloned the repo (12/30/2009) and out of the box it does not compile. I use a Mac with Snow Leopard.
Is there any other way to package or compile than the standard maven ones?
The compile output is like that:
[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building selenium-dsl [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/SharedStuff/gits/selenium-dsl/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 85 source files to /Users/SharedStuff/gits/selenium-dsl/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[26,33] type parameters of X cannot be determined; no unique maximal instance exists for type variable X with upper bounds X,java.lang.Object
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[31,33] type parameters of I cannot be determined; no unique maximal instance exists for type variable I with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlInput
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[59,33] type parameters of I cannot be determined; no unique maximal instance exists for type variable I with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlInput
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[61,33] type parameters of E cannot be determined; no unique maximal instance exists for type variable E with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlElement
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[66,32] type parameters of E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,com.gargoylesoftware.htmlunit.html.HtmlElement
/Users/SharedStuff/gits/selenium-dsl/src/main/java/br/com/caelum/seleniumdsl/htmlunit/HtmlFormWrapper.java:[97,33] type parameters of I cannot be determined; no unique maximal instance exists for type variable I with upper bounds I,com.gargoylesoftware.htmlunit.html.HtmlInput
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Dec 30 15:58:55 CET 2009
[INFO] Final Memory: 27M/527M
[INFO] ------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered: