Dear Community,
I got a ScriptRunner / Groovy issue. We moved from Windows servers to Linux servers.
It seems that the ScriptRunner app isn't working correctly on Linux though.
The issue is case sensitive files. We get the following error:
<pre>
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed:
file:/mnt/jira/shared/scripts/ClassNameWithScope.groovy: 6:
Invalid duplicate class definition of class ClassNameWithScope :
The sources file:/mnt/jira/shared/scripts/ClassNamewithscope.groovy and file:/mnt/jira/shared/scripts/ClassNameWithScope.groovy each contain a class with the name ClassNameWithScope. @ line 6, column 1.
public class ClassNameWithScope ^ 1 error
</pre>.
It just reads to me that you have 2 files with the same name on the file system, not that it's a groovy cache problem. It doesn't generate new files into the script roots, it keeps them somewhere else.
Hi
Have you try to clear the plugin cache ?
https://support.atlassian.com/jira/kb/how-to-clear-jira-data-center-server-plugin-cache/
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.