I added tomcat 8 and 9 both in my eclipse oxygen and tried to run Spring based Web Application on the tomcat server but its giving error in console:
Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit
In popup it gives the error:
'Server Tomcat v9.0 Server at localhost' has encountered a problem Server Tomcat v9.0 Server at localhost failed to start.
How to fix this?