vmware / vrops-export

vRealize Operations Export Tool
Other
37 stars 16 forks source link

unable to run exporttool.bat #36

Open karthikdhanusu opened 3 years ago

karthikdhanusu commented 3 years ago

Hi Team,

I am trying to run the batch file but I am getting the following error.

Error: Could not find or load main class com.vmware.vropsexport.Main Caused by: java.lang.ClassNotFoundException: com.vmware.vropsexport.Main

I have followed the windows installation instructions given in readme, however I am unable to run it.

Do we need to set a different classpath if so please let me know the classpath also I don't see any jar files, I am not a java person but I would like to see the script to export the metrics.

Kindly help me with the setup and installation, Apologize if inconvenience caused.

prydin commented 3 years ago

Is still still an issue? Could you please tell me what Java version you are using?

tyomikh commented 3 years ago

I had the same issue. Managed to run it without exporttool.bat like that: set OPTIONS=-d vmfields_config_vm.yaml -u myaccount@mydomain@vIDMAuthSource -H https://myvrops.domain.local -s "2021-10-21 12:00:00" -e "2021-10-21 12:30:00" -t 20 -o vrops_export_test1.csv java -cp vrops-export-2.3.0.jar -Djsse.enableSNIExtension=false com.vmware.vropsexport.Main %OPTIONS%