My Oracle Support Banner

Error "groovy.lang.MissingMethodException: No signature of method: java.sql.Date.minus() is applicable for argument types" (Doc ID 2755843.1)

Last updated on FEBRUARY 26, 2021

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

When running an ADF application's page, the following error is logged server-side:

groovy.lang.MissingMethodException: No signature of method: java.sql.Date.minus() is applicable for argument types: (Integer) values: [2]
Possible solutions: find(), is(java.lang.Object), find(groovy.lang.Closure), any(), any(groovy.lang.Closure), print(java.lang.Object)
 at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:70)

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.