Current location - Quotes Website - Team slogan - Java . lang . classnotfoundexception:org . Apache . catalina . startup . catalina
Java . lang . classnotfoundexception:org . Apache . catalina . startup . catalina
Tomcat is not configured.

In eclipse menu bar window-preferences -tomcat.

Import the path where tomcat is located in the tomcat-home column.

Select the corresponding version of your tomcat in tomcat version, such as (version5.x).

In the context declaration mode

If you choose Server.xml (you can change your tomcat port in tomcat\conf\server.xml, as shown below.

& lt connector port ="8080 "

maxThreads = " 150 " minSpareThreads = " 25 " maxSpareThreads = " 75 "

enable lookups = " false " redirect port = " 8443 " accept count = " 100 "

debug = " 0 " connection time out = " 20000 "

disableUploadTimeout = " true "/& gt; If port 8080 is already occupied, you can change it here)

If you choose Context.xml, you need to manually configure the data source in the tomcat\conf\Catalina\localhost directory, or build your project into a tomcat project, so that you can automatically generate the data source by directly right-clicking the project and selecting Update Context Definition in the tomcat project column.

Click the tomcat column and select the JRE you are using in JVM-Settings.

Tomcat configuration is basically completed.