(I think I found the answer, but this blog post is also not the correct answer (although the problem is solved on the surface), I will explain in the next chapter more convincing answer, this post for reference, I also on this blog post to further discover the problem)
Symptoms: 1, double-click Startup.bat in the Tomcat installation directory to manually start the Tomcat server. Access http://localhost:8080/can access the Tomcat administration page normally.
2. Start an error under Eclipse: Loaded APR based Apache Tomcat Native Library 1.1.30. According to the majority of people on the Internet solutions:
Download Http://tomcat.heanet.ie/native/1.1.30/binaries/win32/tcnative-1.dll
Copy this file to the bin directory under the Tomcat installation path and to the bin directory of the JDK
Then restart Tomcat and find the Tomcat console with an error: Loaded Apr based Apache Tomcat Native library 1.1.30 using APR version 1.4.8.
symptom causes:
Eclipse redirects the Tomcat Project publishing directory (WebApp in the Tomcat directory), so you will find that your project file cannot be found in the WebApp directory under the Tomcat installation directory.
Workaround:
Reconfigure the following Tomcat server:
On the server page in Eclipse, double-click the Tomcat service and you will see the configuration page as shown in the figure:
You can see that the red circle is selected with the Use workspace metadata (does not modify Tomcat installion)
If a project is deployed in this tomcat, the options in the red circle will be grayed out and cannot be modified, and the modifications must first be removed from the deployed service in Tomcat.
As shown in figure:
By right-clicking the Tomcat server, select Add and remove to remove the deployed project in the popup dialog box. When you are finished removing the OK, you will see the Options Panel section above editable.
Select the Use Tomcat installation (Task control of Tomcat installation) to select Tomcat's installation directory as the publishing directory for the project.
Then, down four lines, see "Deploy Path"? The value behind it defaults to "Wtpwebapps", which is changed to "WebApps", which is the name of the folder where the project was published in Tomcat. After modification, turn off the page and save the configuration. This deploys the project to the WebApp in the Tomcat installation directory
Restart the Tomcat server, access to the http://localhost:8080 will be able to access the normal, your own deployment of the project is also able to access.
This article transferred from: http://blog.csdn.net/wqjsir/article/details/7169838