I have noticed that as well today, this happens if some methods of a
package come from a signed jar and some don't. I think this comes from
junit jar and hamcrest-matcher jar (junit is signed, hamcrest isn't).
The regular junit distribution isn't signed, but the one shipped with
Eclipse is, maybe that is the case here as well.
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)
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email