This morning, Tomcat 6 and myeclipse7. encountered two problems: (1) I cannot start Tomcat 6. I always reported the following error: "Windows cannot start Apache Tomcat on a local computer. for more information, see System Event Logs. If this is a non-Microsoft Service, please contact the service provider and refer to the specific service error code 0 ."
(2) The error in myeclipse7 is: JSP cannot be opened. Java. Lang. ***** (I forgot the error, but I didn't remember it !).
Solution: (1) first, check whether there is any Chinese character in your Tomcat 6 installation home directory. For example: D:/install/tomcat6.0; if so, remove Chinese! By the way, I think some of them say that the msvcr71.dll file in the bin directory of JDK is copied to the bin directory of Tomcat 6, but I have tried it, maybe everyone's computer configuration (environmental variables) is different, so the solution is not the same. If this is the case, it is a good choice to use these two methods.
(2): The second problem is similar to the above one (my installation directory is D:/The Installation tool/myeclipse7.0 ). However, after removing the "installed Tools" layer, jsp can be opened.
Summary: I have been wondering why these things cannot contain Chinese characters (and Oracle). Why can't we develop these things in China ?!!! (I am poor at technology, but I am making unremitting efforts !)