Cache properties `dependencycheck-cache.properties` could not be found
See original GitHub issueI am trying to update from 6.0.5 to 6.1.1, and am getting the following error: I see that it’s from
try (InputStream in = FileUtils.getResourceAsStream(CACHE_PROPERTIES)) {
but i don’t see it in the jar file (at least not the main one). Is this something i’m supposed to add to the classpath myself?
[dependency-check] Unable to create an Input Stream for dependencycheck.properties
[2021-02-17T04:23:08.286Z] [dependency-check] Did not find settings file 'dependencycheck.properties'.
[2021-02-17T04:23:08.286Z] [dependency-check] Unable to create an Input Stream for dependencycheck-cache.properties
[2021-02-17T04:23:08.286Z]
[2021-02-17T04:23:08.286Z] BUILD FAILED
[2021-02-17T04:23:08.286Z] /scratch/gbuora/workspace/jenkins/workspace/Microservice_Cluster/build.xml:381: java.lang.RuntimeException: Cache properties `dependencycheck-cache.properties` could not be found
[2021-02-17T04:23:08.286Z] at org.owasp.dependencycheck.data.cache.DataCacheFactory.<init>(DataCacheFactory.java:99)
[2021-02-17T04:23:08.286Z] at org.owasp.dependencycheck.analyzer.CentralAnalyzer.initialize(CentralAnalyzer.java:123)
[2021-02-17T04:23:08.286Z] at org.owasp.dependencycheck.Engine.lambda$loadAnalyzers$1(Engine.java:226)
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Cache.properties (The system cannot find the file specified)
Navigate to C:\Users\user\.gradle\caches\2. · Copy the folder scripts , scripts-remapped and paste it somewhere safe just in case anything went wrong you will...
Read more >00041: Layer's cache properties do not allow local caching
A layer contained in your basemap layer is a web map service whose cache options are set to Do Not Cache. Layers with...
Read more >DbclassCache.properties.* - IBM
The dbclassCache.properties file contains a list of the Sterling Order Management Software tables and the associated DBCache class. Every table listed will ......
Read more >CacheSetProperties - Adobe Support
Description. Sets the cache properties for the object cache, the page cache, or both. If a cache does not yet exist, creates it....
Read more >Configuration cache - Gradle User Manual
The configuration cache does not support all core Gradle plugins and and features ... You can also enable the cache persistently in a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fix will be included in 6.1.2
@chhil The differences in our stacktraces may result from the fact, that I don’t let my build fail if the dependency-check task fails (
failonerror="false"
). (This is due to the fact that I’ve included it in my nightly build and I dont’t want it to fail just because some cve-database may not be downloadable once in a while. Jenkins marks my build as unstable when this happens so that I can react to it if dependency-check fails continuously.)