Apache Log4j 2 vulnerability CVE-2021-44228

I ran the: org.apache.logging.log4j.core.lookup.JndiLookup.class.protectionDomain.codeSource
Received: groovy.lang.MissingPropertyException: No such property: org for class: Script1
with a stack trace. Yet I have a vulnerable version of log4j located at:

/opt/jenkins/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1

I’m running 2.303.3.

Anyone have a clue why or how I can get rid of or upgrade this?

Thanks!