cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR:java.lang.NoSuchMethodError: org.joda.time.DateTime.now()

GuillaumeB
Occasional Visitor

ERROR:java.lang.NoSuchMethodError: org.joda.time.DateTime.now()

Hi, I try to used my java library (whows used the public library "org.joda.time.DateTime").

During the groovy execution, I have a java exception : 

Mon Feb 12 15:47:25 CET 2018:ERROR:java.lang.NoSuchMethodError: org.joda.time.DateTime.now()Lorg/joda/time/DateTime;
java.lang.NoSuchMethodError: org.joda.time.DateTime.now()Lorg/joda/time/DateTime;
at fr.sesamvitale.assertiontlsi.vihf.AbstractVihfAssertionBuilder.creerAssertion(AbstractVihfAssertionBuilder.java:225)
at fr.sesamvitale.assertiontlsi.commun.AbstractAssertionSigneeBuilder.build(AbstractAssertionSigneeBuilder.java:123)
at fr.sesamvitale.assertion.AssertionVihf.buildAssertion(AssertionVihf.java:116)
at fr.sesamvitale.BAO.TLSi.Assertion.getJetonVIHF(Assertion.java:410)
at fr.sesamvitale.BAO.TLSi.Assertion$getJetonVIHF.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at Script1.makeVIHF(Script1.groovy:10)
at Script1.run(Script1.groovy:21)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:90)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:141)
at com.eviware.soapui.impl.wsdl.panels.teststeps.GroovyScriptStepDesktopPanel$RunAction$1.run(GroovyScriptStepDesktopPanel.java:250)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

 

In my eclipse project, org.joda.time.DateTime.now() is imported and functionnal.

Can you help me to solved this issue.

Thanks,

Guillaume

New Here?
Join us and watch the welcome video:
Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:


Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:


We list all the great plugins our network has already built on this page on the SmartBear website.