Package does not exist error

1,802 views
Skip to first unread message

Maryam Umar

unread,
Nov 6, 2012, 8:29:02 AM11/6/12
to cu...@googlegroups.com
For my Maven project, I have created a feature file, a step def file and a java file which runs the Cucumber tests.
I keep getting a 'package cucumber.annotation.en does not exist' error when I try to run mvn test.

What am I doing wrong? Is there something I need to specify in Run Configs?

Thanks

aslak hellesoy

unread,
Nov 6, 2012, 8:34:41 AM11/6/12
to Cucumber Users
On Tue, Nov 6, 2012 at 1:29 PM, Maryam Umar <maryam...@gmail.com> wrote:
For my Maven project, I have created a feature file, a step def file and a java file which runs the Cucumber tests.
I keep getting a 'package cucumber.annotation.en does not exist' error when I try to run mvn test.
 
What am I doing wrong?

Hard to say without knowing what version you're using.
 
Is there something I need to specify in Run Configs?

Thanks

--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
 
 

Maryam Umar

unread,
Nov 6, 2012, 8:36:03 AM11/6/12
to cu...@googlegroups.com
I am using 1.0.14.

aslak hellesoy

unread,
Nov 6, 2012, 8:40:32 AM11/6/12
to Cucumber Users



On Tue, Nov 6, 2012 at 1:36 PM, Maryam Umar <maryam...@gmail.com> wrote:
I am using 1.0.14.


What cucumber-* modules are on your classpath? Did you forget to add cucumber-java? That's where the annotations are.

FYI - the latest version is 1.1.1.

Aslak
 
--

Maryam Umar

unread,
Nov 6, 2012, 10:27:06 AM11/6/12
to cu...@googlegroups.com
Thanks for that...it is the only step I missed :)


On Tuesday, November 6, 2012 1:29:02 PM UTC, Maryam Umar wrote:
Reply all
Reply to author
Forward
0 new messages