Today, a tomcat version is available on the official website, but it is a green version. You do not need to install it and try to start it. However, no startup file is used.
I can see a solution for prawns on the Internet. It's a good solution. Share it with me.
Download tomcat7.0 and integrate it with myeclipse. Configure tomcat7.0 for myeclipse, as shown in figure
An error was reported during startup.
Java. Lang. noclassdeffounderror: ORG/Apache/Juli/logging/logfactory
At org. Apache. Catalina. startup. Bootstrap. <clinit> (Bootstrap. Java: 55)
Caused by: Java. Lang. classnotfoundexception: org. Apache. Juli. Logging. logfactory
At java.net. urlclassloader $ 1.run( urlclassloader. Java: 202)
At java. Security. accesscontroller. doprivileged (native method)
At java.net. urlclassloader. findclass (urlclassloader. Java: 190)
At java. Lang. classloader. loadclass (classloader. Java: 307)
At sun. Misc. launcher $ appclassloader. loadclass (launcher. Java: 301)
At java. Lang. classloader. loadclass (classloader. Java: 248)
... 1 more
Exception in thread "Main"
I searched the internet for a better solution,
Solutions
1. In eclipse, open the "server" tab.
2. Double click on the "tomcat6" entry to see the configuration.
3. Then click on the "Open launch configuration" link in the "general information" block.
4. In the dialog, select the "classpath" tab.
5. Click the "add external jar" button.
6. Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar"
7. Close the dialog.
8. start Tomcat 6 from eclipse.
In fact, is the bin/tomcat-juli.jar under add Tomcat classpath, the effect is as follows:
Restart tomcat7.0 to start it! I don't know why.
Haha, I accidentally checked someone else's tomcat (though not tomcat7.0) Here. I opened the startup. BAT file in notepad and added the following sentence:
Set java_home = F:/program files/Java/jdk1.6.0 _ 24
(To put it simply, configure the JDK directory)
Double-click STARTUP. BAT to start it.