Tomcat, exception error

Source: Internet
Author: User

1. A recent project on workflow in the training of a company, from the SVN share of an engineering x,x with a tomcat6.20, and X required 6.0 version of the JDK,

(My Computer, dall790, there is a tomcat6.20 installation package, from the other test documents are not installed themselves)

Boot Tomcat throws countless exceptions after the project is finished,


Here's the point:

1.tomcat Statup.bat after manual boot, localhost can't see the kitten.


Always throw "what classpath inside of something can not find

A lot of try, not after reloading a Tomcat 6.10, to solve

2. Anomalies discovered:

validatejarfile (D:\Program files\apache Software foundation\tomcat 6.0\webapps\triffic\web-inf\lib\ Javax.servlet-api.jar)-jar not loaded. For a Servlet Spec 2.3, section 9.7.2. Offending Class:javax/servlet/servlet.class

Baidu's answer Yue: Project jar redundancy Conflict, here is the reason below src/main/lib/webapp/web-inf/under X Servlet-api.jar and Tomcat under the Lib file Servlet-api.jar conflict, '

Probably the sequence of Eclipse+tomcat startup.

The solution here is to remove the duplicate redundant jar below the project

3. After that, 2 of the anomalies were resolved and then appeared org.apache.tomcat.jni.Error ... Aspects of the exception

After Google, presumably the reason is that tomcat/bin under the Tcnative-1.dll version of the problem,

You need to copy a matching tcnative-1.dll underneath the C:\WINDOWS\system32,

Here the solution, will tomcat/bin below Tcnative-1.dll a copy to System32 below to fix


**********************************

Encountered anomalies must not panic, not to give up, think about what the problem is about what range, and then Baidu Google asked Daniel


 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.