Describe the bug
After an error downloading NVD from nist, via API, a java.lang.NoClassDefFoundError exception is thrown.
Version of dependency-check used
The problem occurs using version 9.0.1 of the maven plugin
Log file
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:9.0.1:update-only (default-cli) on project update-nvd-data: An exception occurred while downloading updates. Please see the log file for more details.: Error updating the NVD Data: NVD Returned Status Code: 403 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Exception in thread "Thread-1" java.lang.NoClassDefFoundError: org/apache/commons/jcs3/engine/CacheStatus
at org.apache.commons.jcs3.auxiliary.disk.AbstractDiskCache.getStatus(AbstractDiskCache.java:493)
at org.apache.commons.jcs3.engine.control.CompositeCache.dispose(CompositeCache.java:1232)
at org.apache.commons.jcs3.engine.control.CompositeCacheManager.freeCache(CompositeCacheManager.java:580)
at org.apache.commons.jcs3.engine.control.CompositeCacheManager.freeCache(CompositeCacheManager.java:567)
at java.base/java.util.concurrent.ConcurrentHashMap$KeySetView.forEach(ConcurrentHashMap.java:4696)
at org.apache.commons.jcs3.engine.control.CompositeCacheManager.shutDown(CompositeCacheManager.java:620)
at org.apache.commons.jcs3.engine.control.CompositeCacheManager.lambda$initialize$0(CompositeCacheManager.java:248)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.jcs3.engine.CacheStatus
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 8 more
The process '/usr/bin/mvn' failed with exit code 1
Describe the bug After an error downloading NVD from nist, via API, a
java.lang.NoClassDefFoundError
exception is thrown.Version of dependency-check used The problem occurs using version 9.0.1 of the maven plugin
Log file
Full log here
To Reproduce pom.xml used on pipeline
Expected behavior No
java.lang.NoClassDefFoundError