You need to assign an IP to the switch in order to avoid that error. You can do this using the example below:
Switch(config)#int vlan 1
Switch(config-if)#ip address 10.1.1.2 255.255.255.0
Switch(config)#ip default-gateway 10.1.1.1
This is just an example, you need to add your own IP addresses. After this procedure, reboot the PC and restart the application then it should work normally.