I have imported your seleniumtests project and tried to run them,but the console is displaying the following error.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building seleniumtests 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/org/seleniumhq/selenium/selenium-android-driver/2.26.0/selenium-android-driver-2.26.0.jar Downloading: http://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit/2.10/htmlunit-2.10.jar Downloading: http://repo.maven.apache.org/maven2/net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar Downloading: http://repo.maven.apache.org/maven2/net/sourceforge/cssparser/cssparser/0.9.7/cssparser-0.9.7.jar Downloading: http://repo.maven.apache.org/maven2/org/seleniumhq/selenium/selenium-ie-driver/2.26.0/selenium-ie-driver-2.26.0.jar Downloading: http://repo.maven.apache.org/maven2/org/webbitserver/webbit/0.4.14/webbit-0.4.14.jar Downloaded: http://repo.maven.apache.org/maven2/net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar (122 KB at 10.9 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/webbitserver/webbit/0.4.14/webbit-0.4.14.jar (162 KB at 6.4 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/seleniumhq/selenium/selenium-android-driver/2.26.0/selenium-android-driver-2.26.0.jar (293 KB at 8.4 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/net/sourceforge/cssparser/cssparser/0.9.7/cssparser-0.9.7.jar (275 KB at 6.0 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/seleniumhq/selenium/selenium-ie-driver/2.26.0/selenium-ie-driver-2.26.0.jar (1259 KB at 11.5 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit/2.10/htmlunit-2.10.jar (1017 KB at 9.1 KB/sec) [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ seleniumtests --- [debug] execute contextualize [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ seleniumtests --- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 4 source files to C:\Workspace\seleniumtests\seleniumtests\target\classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:53.255s [INFO] Finished at: Sat Dec 15 16:03:39 IST 2012 [INFO] Final Memory: 7M/19M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project seleniumtests: Fatal error compiling: tools.jar not found: C:\Program Files (x86)\Java\jre7\..\lib\tools.jar -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException |
Administrator
|
You may like to Google on This error from your exception trace -
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project seleniumtests: Fatal error compiling: tools.jar not found: C:\Program Files (x86)\Java\jre7\..\lib\tools.jar -> [Help 1] n.b. As you can see I moved your post to this forum (Selenium Training Session Questions) which is right place. Post your question in right forum in future.
~ seleniumtests.com
|
Free forum by Nabble | Edit this page |