I encountered this error when I just start the server. Here's the code:
server = Server(r"path\to\browsermob-proxy")
server.start()
Then it stopped and raised an error like this:
browsermobproxy.exceptions.ProxyServerError: The Browsermob-Proxy server process failed to start. Check <_io.TextIOWrapper name='C:\...\server.log' mode='w' encoding='cp936'>for a helpful error message.
The log file seems not providing anything helpful. It just said that 'java' is not recognized as an internal or external command, operable program, or batch file.
I've been stuck here for too long. Can Anybody give me a feasible solution? Many thanks!!!