JSONTestOutcomeReporter exception: Could not be instantiated.

已查看 35 次
跳至第一个未读帖子

Tony Sandin

未读,
2015年3月26日 17:26:492015/3/26
收件人 thucydid...@googlegroups.com
I moved from Thucydides 0.9.244 to Serenity 1.0.16 and I'm getting the below error:

I'm using Maven with JBehave.
Maven: 3.0.5
serenity-core: 1.0.16
serenity-jbehave: 1.0.9
serenity-maven-plugin: 1.0.16

java.lang.RuntimeException: java.util.ServiceConfigurationError: n.t.core.reports.AcceptanceTestReporter: Provider n.t.core.reports.json.JSONTestOutcomeReporter could not be instantiated.
   at org.hibernate.validator.internal.engine.ValidatorFactoryImpl.<init>(ValidatorFactoryImpl.java:133)
   at org.hibernate.validator.HibernateValidator.buildValidatorFactory(HibernateValidator.java:45)
....

John Smart

未读,
2015年3月26日 17:38:512015/3/26
收件人 Tony Sandin、thucydid...@googlegroups.com
Have you tried with serenity-core 1.0.44 and serenity-jbehave 1.0.20?

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________
John Smart | Wakaleo Consulting  |  +61 407 247 642
Optimizing your software development process
http://www.wakaleo.com  |  john....@wakaleo.com
___________________________________________________

The dates for the 2014 BDD workshops have been scheduled! Check out our upcoming BDD/TDD Master classes and our Advanced BDD Requirements Workshops, coming soon to Sydney and Melbourne!
___________________________________________________

Tony Sandin

未读,
2015年3月28日 12:43:502015/3/28
收件人 John Smart、thucydid...@googlegroups.com
It gave me the same results. However, I found the problem. I'm using the Jersey Client dependency and it is conflicting with the Serenity-Core's Jackson transitive dependencies. If I remove Jersey, I don't get the exception.

Tony

Andres A. Sandin (Tony)
Systems & System Software Solutions, LLC (d/b/a: S4, LLC)
SBA 8(a)-certified Small Business
SBA Veteran-owned Small Business
888.745.5201 x701 (office)
866.453.4685 (fax)
http://www.S4-LLC.com

************************************************************************
Confidentiality Note:  This message and any attachments may contain legally privileged and/or confidential information.  Any unauthorized disclosure, use or dissemination of this e-mail message or its contents, either in whole or in part, is prohibited.  If you are not the intended recipient of this e-mail message, kindly notify the sender at 888.745.5201 x701 and then destroy it.  Finally, the recipient should check this email and any attachments for the presence of viruses.  The company accepts no liability for any damage caused by any virus transmitted by this email.
************************************************************************
回复全部
回复作者
转发
0 个新帖子