Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7062011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:32:36+00:00 2026-05-28T04:32:36+00:00

Does anyone have a good tutorial on Java + Cucumber integration? I’ve begun using

  • 0

Does anyone have a good tutorial on Java + Cucumber integration? I’ve begun using Ant + Ivy, but have unable to build project properly. I’ve found the following site, however after checking out their code the closest I’ve been able to come to building the project is the following error:

Buildfile: C:\workspace\cucumber-helloworld\build.xml
resolve:
[ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: file = C:\workspace\cucumber-helloworld\ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: cukes.info#java-example;working@SNKXW-SGENTRY
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found cuke4duke#cuke4duke;0.4.4 in cukes
[ivy:retrieve]  found org.jruby#jruby-complete;1.5.1 in ibiblio
[ivy:retrieve]  found org.picocontainer#picocontainer;2.10.2 in ibiblio
[ivy:retrieve]  found junit#junit;4.8.1 in ibiblio
[ivy:retrieve] :: resolution report :: resolve 162ms :: artifacts dl 6ms
--------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   4   |   0   |   0   |   0   ||   4   |   0   |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: cukes.info#java-example
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  0 artifacts copied, 4 already retrieved (0kB/6ms)
-define-paths:
-install-gems:
  [gem] JRuby limited openssl loaded. http://jruby.org/openssl
  [gem] gem install jruby-openssl for full support.
  [gem] System.java:-2:in `arraycopy': java.lang.ArrayIndexOutOfBoundsException
  [gem]     from DefaultResolver.java:111:in `makeTime'
  [gem]     from DefaultResolver.java:277:in `create'
  [gem]     from DefaultResolver.java:317:in `handleScalar'
  [gem]     from DefaultResolver.java:435:in `orgHandler'
  [gem]     from DefaultResolver.java:455:in `node_import'
  [gem]     from org/yecht/ruby/DefaultResolver$s_method_1_0$RUBYINVOKER$node_import.gen:65535:in `call'
  [gem]     from CachingCallSite.java:146:in `call'
  [gem]     from RubyLoadHandler.java:40:in `handle'
  [gem]     from Parser.java:300:in `addNode'
  [gem]     from DefaultYAMLParser.java:676:in `yyparse'
  [gem]     from Parser.java:290:in `yechtparse'
  [gem]     from Parser.java:284:in `parse'
  [gem]     from YParser.java:152:in `load'
  [gem]     from org/yecht/ruby/YParser$s_method_0_1$RUBYINVOKER$load.gen:65535:in `call'
  [gem]     from JavaMethod.java:630:in `call'
  [gem]     from DynamicMethod.java:186:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from CallOneArgNode.java:57:in `interpret'
  [gem]     from LocalAsgnNode.java:123:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from InterpretedMethod.java:180:in `call'
  [gem]     from DefaultMethod.java:172:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from CallOneArgNode.java:57:in `interpret'
  [gem]     from LocalAsgnNode.java:123:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:180:in `call'
  [gem]     from DefaultMethod.java:172:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from CallOneArgNode.java:57:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from RescueNode.java:199:in `executeBody'
  [gem]     from RescueNode.java:118:in `interpretWithJavaExceptions'
  [gem]     from RescueNode.java:110:in `interpret'
  [gem]     from InterpretedMethod.java:180:in `call'
  [gem]     from DefaultMethod.java:172:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from FCallOneArgNode.java:36:in `interpret'
  [gem]     from InstAsgnNode.java:95:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from EnsureNode.java:96:in `interpret'
  [gem]     from BeginNode.java:83:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from WhenOneArgNode.java:36:in `whenSlowTest'
  [gem]     from WhenOneArgNode.java:46:in `when'
  [gem]     from CaseNode.java:133:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from InterpretedBlock.java:373:in `evalBlockBody'
  [gem]     from InterpretedBlock.java:346:in `yield'
  [gem]     from InterpretedBlock.java:303:in `yield'
  [gem]     from Block.java:194:in `yield'
  [gem]     from YieldNode.java:112:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedBlock.java:373:in `evalBlockBody'
  [gem]     from InterpretedBlock.java:346:in `yield'
  [gem]     from InterpretedBlock.java:303:in `yield'
  [gem]     from Block.java:194:in `yield'
  [gem]     from RubyKernel.java:1251:in `loop_1_9'
  [gem]     from org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop_1_9.gen:65535:in `call'
  [gem]     from CachingCallSite.java:299:in `cacheAndCall'
  [gem]     from CachingCallSite.java:117:in `callBlock'
  [gem]     from CachingCallSite.java:132:in `callIter'
  [gem]     from FCallNoArgBlockNode.java:32:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from InterpretedMethod.java:160:in `call'
  [gem]     from DefaultMethod.java:164:in `call'
  [gem]     from CachingCallSite.java:299:in `cacheAndCall'
  [gem]     from CachingCallSite.java:117:in `callBlock'
  [gem]     from CachingCallSite.java:122:in `call'
  [gem]     from CallNoArgBlockNode.java:64:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:242:in `call'
  [gem]     from DefaultMethod.java:196:in `call'
  [gem]     from CachingCallSite.java:339:in `cacheAndCall'
  [gem]     from CachingCallSite.java:197:in `callBlock'
  [gem]     from CachingCallSite.java:202:in `call'
  [gem]     from RubyClass.java:815:in `call'
  [gem]     from DynamicMethod.java:194:in `call'
  [gem]     from WrapperMethod.java:62:in `call'
  [gem]     from CachingCallSite.java:329:in `cacheAndCall'
  [gem]     from CachingCallSite.java:188:in `call'
  [gem]     from FCallTwoArgNode.java:38:in `interpret'
  [gem]     from LocalAsgnNode.java:123:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from EnsureNode.java:96:in `interpret'
  [gem]     from InterpretedMethod.java:242:in `call'
  [gem]     from DefaultMethod.java:196:in `call'
  [gem]     from CachingCallSite.java:339:in `cacheAndCall'
  [gem]     from CachingCallSite.java:197:in `callBlock'
  [gem]     from CachingCallSite.java:202:in `call'
  [gem]     from CallTwoArgBlockPassNode.java:62:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:283:in `call'
  [gem]     from DefaultMethod.java:212:in `call'
  [gem]     from CachingCallSite.java:359:in `cacheAndCall'
  [gem]     from CachingCallSite.java:237:in `callBlock'
  [gem]     from CachingCallSite.java:252:in `callIter'
  [gem]     from CallThreeArgBlockNode.java:64:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:262:in `call'
  [gem]     from DefaultMethod.java:204:in `call'
  [gem]     from CachingCallSite.java:349:in `cacheAndCall'
  [gem]     from CachingCallSite.java:228:in `call'
  [gem]     from FCallThreeArgNode.java:40:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from InterpretedBlock.java:373:in `evalBlockBody'
  [gem]     from InterpretedBlock.java:346:in `yield'
  [gem]     from InterpretedBlock.java:303:in `yield'
  [gem]     from Block.java:194:in `yield'
  [gem]     from RubyIO.java:1104:in `open'
  [gem]     from RubyKernel.java:283:in `open'
  [gem]     from org/jruby/RubyKernel$s_method_0_2$RUBYFRAMEDINVOKER$open.gen:65535:in `call'
  [gem]     from DynamicMethod.java:198:in `call'
  [gem]     from CachingCallSite.java:339:in `cacheAndCall'
  [gem]     from CachingCallSite.java:197:in `callBlock'
  [gem]     from CachingCallSite.java:212:in `callIter'
  [gem]     from FCallTwoArgBlockNode.java:34:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from IfNode.java:119:in `interpret'
  [gem]     from IfNode.java:119:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:221:in `call'
  [gem]     from DefaultMethod.java:188:in `call'
  [gem]     from CachingCallSite.java:329:in `cacheAndCall'
  [gem]     from CachingCallSite.java:188:in `call'
  [gem]     from CallTwoArgNode.java:59:in `interpret'
  [gem]     from InstAsgnNode.java:95:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from RescueNode.java:199:in `executeBody'
  [gem]     from RescueNode.java:118:in `interpretWithJavaExceptions'
  [gem]     from RescueNode.java:110:in `interpret'
  [gem]     from BeginNode.java:83:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:242:in `call'
  [gem]     from DefaultMethod.java:196:in `call'
  [gem]     from CachingCallSite.java:339:in `cacheAndCall'
  [gem]     from CachingCallSite.java:197:in `callBlock'
  [gem]     from CachingCallSite.java:202:in `call'
  [gem]     from RubyClass.java:815:in `call'
  [gem]     from DynamicMethod.java:194:in `call'
  [gem]     from CachingCallSite.java:329:in `cacheAndCall'
  [gem]     from CachingCallSite.java:188:in `call'
  [gem]     from CallTwoArgNode.java:59:in `interpret'
  [gem]     from DAsgnNode.java:110:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedBlock.java:373:in `evalBlockBody'
  [gem]     from InterpretedBlock.java:346:in `yield'
  [gem]     from InterpretedBlock.java:303:in `yield'
  [gem]     from Block.java:194:in `yield'
  [gem]     from RubyArray.java:1630:in `eachCommon'
  [gem]     from RubyArray.java:1637:in `each'
  [gem]     from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in `call'
  [gem]     from CachingCallSite.java:299:in `cacheAndCall'
  [gem]     from CachingCallSite.java:117:in `callBlock'
  [gem]     from CachingCallSite.java:122:in `call'
  [gem]     from CallNoArgBlockNode.java:64:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:221:in `call'
  [gem]     from DefaultMethod.java:188:in `call'
  [gem]     from CachingCallSite.java:329:in `cacheAndCall'
  [gem]     from CachingCallSite.java:188:in `call'
  [gem]     from CallTwoArgNode.java:59:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from RescueNode.java:199:in `executeBody'
  [gem]     from RescueNode.java:118:in `interpretWithJavaExceptions'
  [gem]     from RescueNode.java:110:in `interpret'
  [gem]     from BeginNode.java:83:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from InterpretedBlock.java:373:in `evalBlockBody'
  [gem]     from InterpretedBlock.java:346:in `yield'
  [gem]     from InterpretedBlock.java:303:in `yield'
  [gem]     from Block.java:194:in `yield'
  [gem]     from RubyArray.java:1630:in `eachCommon'
  [gem]     from RubyArray.java:1637:in `each'
  [gem]     from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in `call'
  [gem]     from CachingCallSite.java:299:in `cacheAndCall'
  [gem]     from CachingCallSite.java:117:in `callBlock'
  [gem]     from CachingCallSite.java:122:in `call'
  [gem]     from CallNoArgBlockNode.java:64:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:139:in `call'
  [gem]     from DefaultMethod.java:156:in `call'
  [gem]     from CachingCallSite.java:289:in `cacheAndCall'
  [gem]     from CachingCallSite.java:108:in `call'
  [gem]     from VCallNode.java:85:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from IfNode.java:119:in `interpret'
  [gem]     from IfNode.java:119:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:113:in `call'
  [gem]     from InterpretedMethod.java:127:in `call'
  [gem]     from DefaultMethod.java:147:in `call'
  [gem]     from CachingCallSite.java:279:in `cacheAndCall'
  [gem]     from CachingCallSite.java:68:in `call'
  [gem]     from CallSpecialArgNode.java:73:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from CaseNode.java:138:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:180:in `call'
  [gem]     from DefaultMethod.java:172:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from FCallOneArgNode.java:36:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from RescueNode.java:199:in `executeBody'
  [gem]     from RescueNode.java:118:in `interpretWithJavaExceptions'
  [gem]     from RescueNode.java:110:in `interpret'
  [gem]     from InterpretedMethod.java:180:in `call'
  [gem]     from DefaultMethod.java:172:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from CallOneArgNode.java:57:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedMethod.java:180:in `call'
  [gem]     from DefaultMethod.java:172:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from CallOneArgNode.java:57:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from RescueNode.java:199:in `executeBody'
  [gem]     from RescueNode.java:118:in `interpretWithJavaExceptions'
  [gem]     from RescueNode.java:110:in `interpret'
  [gem]     from BeginNode.java:83:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from RootNode.java:129:in `interpret'
  [gem]     from Ruby.java:2540:in `loadFile'
  [gem]     from ExternalScript.java:61:in `load'
  [gem]     from LoadService.java:255:in `load'
  [gem]     from RubyKernel.java:1010:in `loadCommon'
  [gem]     from RubyKernel.java:992:in `load'
  [gem]     from org/jruby/RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load.gen:65535:in `call'
  [gem]     from DynamicMethod.java:190:in `call'
  [gem]     from DynamicMethod.java:186:in `call'
  [gem]     from CachingCallSite.java:309:in `cacheAndCall'
  [gem]     from CachingCallSite.java:148:in `call'
  [gem]     from FCallOneArgNode.java:36:in `interpret'
  [gem]     from NewlineNode.java:104:in `interpret'
  [gem]     from BlockNode.java:71:in `interpret'
  [gem]     from InterpretedBlock.java:373:in `evalBlockBody'
  [gem]     from InterpretedBlock.java:327:in `yield'
  [gem]     from BlockBody.java:78:in `call'
  [gem]     from Block.java:89:in `call'
  [gem]     from RubyProc.java:224:in `call'
  [gem]     from ProcMethod.java:62:in `call'
  [gem]     from DynamicMethod.java:182:in `call'
  [gem]     from DynamicMethod.java:178:in `call'
  [gem]     from CachingCallSite.java:289:in `cacheAndCall'
  [gem]     from CachingCallSite.java:108:in `call'
  [gem]     from gem:1:in `__file__'
  [gem]     from gem:-1:in `load'
  [gem]     from Ruby.java:685:in `runScript'
  [gem]     from Ruby.java:568:in `runNormally'
  [gem]     from Ruby.java:414:in `runFromMain'
  [gem]     from Main.java:286:in `run'
  [gem]     from Main.java:128:in `run'
  [gem]     from Main.java:97:in `main'

BUILD FAILED
C:\workspace\cucumber-helloworld\build.xml:33: Failed to run gem with arguments: install cuke4duke --version 0.4.4 --source http://rubygems.org/

Total time: 10 seconds

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:32:36+00:00Added an answer on May 28, 2026 at 4:32 am

    It seems that the cuke4duke project is dead. Looking to replace this project with cucumber-jvm — as seen here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have a good articles or tutorial on correctly using dispose and IDisposable.
Does anyone have a good tutorial on how to write a java or javafx
Does anyone have a good State Manager tutorial in Java? I have been looking
Does anyone have a good technique (or tutorial) to implement rulers within a C#
Is there a good tutorial or does anyone have experience with setting this up
Does anyone have a good way to build MSI (vdproj) projects using MsBuild or
Does anyone have a good solution for integrating some C# code into a java
Does anyone have a good tutorial to implement Facebook in an iPhone app? Showing
Does anyone have any links to a good, concise, Tutorial or guide to .Net
Does anyone know how to or have a good tutorial about converting text into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.