Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run exporttool.bat #36

Open
karthikdhanusu opened this issue May 4, 2021 · 2 comments
Open

unable to run exporttool.bat #36

karthikdhanusu opened this issue May 4, 2021 · 2 comments

Comments

@karthikdhanusu
Copy link

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
Copy link
Contributor

prydin commented Jun 30, 2021

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

@tyomikh
Copy link

tyomikh commented Oct 27, 2021

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%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants