The jbehave-tutorial site says 1.5 or 1.6 is OK. So maybe that's not quite the
problem there. I have attached my java/mvn versions and the build results here
it seems to be the same problem regardless of JDK I use.
https://github.com/jbehave/jbehave-tutorial/
For jbehave-core I do make MUCH more progress... it is downloading a bunch of
jars now.
RTFM. :)
Thanks,
Craig
________________________________
From: Mauro Talevi <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Friday, March 7, 2014 12:53 PM
Subject: Re: [jbehave-user] can't get started with running-examples or
jbehave-tutorial
https://github.com/jbehave/jbehave-core/blob/master/README.md
On 7 Mar 2014, at 18:49, Mauro Talevi <[email protected]> wrote:
As of 3.9 JDK 1.7 is required to build (JBEHAVE-913).
JDK 1.5+ is still supported at runtime.
Cheers
On 7 Mar 2014, at 17:36, Craig Comstock <[email protected]> wrote:
I'm having a hard time figuring out how to get started with jbehave. The two
examples of setup I see are:
>
>http://jbehave.org/reference/stable/running-examples.html
>
>and
>
>https://github.com/jbehave/jbehave-tutorial
>
>Neither seem to work as described...
>
>
>Here's my environment... Debian 7.0:
>
>:~/workspace/jbehave-tutorial$ mvn -version
>Apache Maven 3.0.4
>Maven home: /usr/share/maven
>Java version: 1.6.0_41, vendor: Sun Microsystems Inc.
>Java home: /opt/app/jdk1.6.0_41/jre
>Default locale: en_US, platform encoding: UTF-8
>OS name: "linux", version: "3.2.35", arch: "amd64", family: "unix"
>
>
>Failure logs are attached. Both seem to be missing dependencies???
>
>Thanks,
>Craig
<jbehave-core-install.log>
<jbehave-tutorial-install.log>
>---------------------------------------------------------------------
>To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home: /opt/app/jdk1.7.0_17/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.35", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Etsy.com Stories with Java and Spring
[INFO] JBehave Tutorials using Etsy.com
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Etsy.com Stories with Java and Spring 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ etsy-stories-java-spring ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ etsy-stories-java-spring ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-dependency-plugin:2.4:unpack (unpack-resources-core) @ etsy-stories-java-spring ---
[INFO] Configured Artifact: org.jbehave:jbehave-navigator:3.8:jar
[INFO] Unpacking /home/comstock/.m2/repository/org/jbehave/jbehave-navigator/3.8/jbehave-navigator-3.8.jar to /home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/target/jbehave/view with includes "" and excludes "**/*.class"
[INFO]
[INFO] --- jbehave-maven-plugin:3.8:unpack-view-resources (unpack-view-resources) @ etsy-stories-java-spring ---
[INFO] Unpacked /home/comstock/.m2/repository/org/jbehave/site/jbehave-site-resources/3.1.1/jbehave-site-resources-3.1.1.zip to /home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/target/jbehave/view
[INFO] Unpacked /home/comstock/.m2/repository/org/jbehave/jbehave-core/3.8/jbehave-core-3.8-resources.zip to /home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/target/jbehave/view
[INFO]
[INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ etsy-stories-java-spring ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 14 source files to /home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/pages/Site.java:[9,7] error: cannot access HasInputDevices
[ERROR] class file for org.openqa.selenium.HasInputDevices not found
/home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/pages/Site.java:[16,26] error: cannot find symbol
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Etsy.com Stories with Java and Spring ............. FAILURE [1.986s]
[INFO] JBehave Tutorials using Etsy.com .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.125s
[INFO] Finished at: Fri Mar 07 13:16:44 CST 2014
[INFO] Final Memory: 20M/205M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project etsy-stories-java-spring: Compilation failure: Compilation failure:
[ERROR] /home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/pages/Site.java:[9,7] error: cannot access HasInputDevices
[ERROR]
[ERROR] class file for org.openqa.selenium.HasInputDevices not found
[ERROR] /home/comstock/workspace/jbehave-tutorial/etsy-selenium/java-spring/src/main/java/org/jbehave/tutorials/etsy/pages/Site.java:[16,26] error: cannot find symbol
[ERROR] -> [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/MojoFailureException
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email