Could be a corrupt jar. Try re-downloading the hamcrest jars, or if
you're using Maven delete the copy in the local repo.
On 23/10/2012 18:57, Gopu Shrestha wrote:
Hi folks,
I am getting this error, what could be the problem???
(java.lang.SecurityException: class "org.hamcrest.Matchers"'s signer
information does not match signer information of other classes in the
same package)
Inside Method
Processing system properties {}
Using controls
EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=false,ignoreFailureInView=false,verboseFailures=false,verboseFiltering=false,storyTimeoutInSecs=300,threads=1]
(BeforeStories)
Running story calculator.story
(calculator.story)
Scenario:
Given the table of factors:
|first|second|
|4|5|
|3|2|
|8|8|
When Columns to add
Then the result:
|product|sum|
|20|9|
|6|5|
|64|16|
(FAILED)
(java.lang.SecurityException: class "org.hamcrest.Matchers"'s signer
information does not match signer information of other classes in the
same package)
(AfterStories)
Generating reports view to 'C:\BDD WorkingCopy\target\jbehave' using
formats '[stats, console, txt]' and view properties
'{defaultFormats=stats, decorateNonHtml=true, viewDirectory=view,
decorated=ftl/jbehave-report-decorated.ftl,
reports=ftl/jbehave-reports-with-totals.ftl,
maps=ftl/jbehave-maps.ftl, navigator=ftl/jbehave-navigator.ftl,
views=ftl/jbehave-views.ftl,
nonDecorated=ftl/jbehave-report-non-decorated.ftl}'
Reports view generated with 1 stories (of which 0 pending) containing
1 scenarios (of which 0 pending)