Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

How to locate the properties file in static method in vcenter 6.7?

$
0
0

We used to use getResourceAsStream to locate the .properties file in our jar, but, in 6.7, the classloader is KernelBundleClassLoader which is in the sythetic.context bundle, and it's classpath is the synthetic.context.jar folder, so it can not find the properties resides in our jar file.  

How can we locate the .properties file now?

thanks.


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>