Problem:
I am installing the SumoJanus package on my linux/mac machine to collect the Salesforce logs as per the SumoLogic documentation
But I always get below error when I execute bin/SumoJanus_SF.bash -s
$ bin/SumoJanus_SF.bash -s
Setup mode
Found SumoJanus core jar file: januscore-1.0.1.jar
/Users/shobhit/Desktop/sumojanus-salesforce/conf/log4j.properties found
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.util.SecureAction (file:/Users/shobhit/Desktop/sumojanus-salesforce/januscore-1.0.1.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.util.SecureAction
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Auto-deploy start: org.osgi.framework.BundleException: Unable to resolve com.sumologic.content.tools.apiclient.SumoConfigService [1](R 1.0): missing requirement
Solution:
This error generally occurs when we use Java9 or later. Sumojanus is not tested for Java9 or later. Please Java8 and the error will go away.
Comments
0 comments
Please sign in to leave a comment.