A year ago wrote an android APP, recently re-write, the result of a computer import project tragedy.
1. First Tomcat problem
The JDK Tomcat deployment environment is not mentioned. (If there is no Server tab in Eclipse, help--install new software does not repeat here)
Start Tomcat has an error after importing the item, and the details are not clear:
Server Tomcat v8.0 server at localhost failed to start, open page
The online search of a variety of methods are not corresponding to my solution, and later found that because I drive an agent. Control Panel--internet Options--Connect-LAN settings, remove the proxy server is good.
2. or tomcat?
After startup, normal access can be. But in Eclipse 404, it was found that Tomcat was not set up.
In servers, double-click Tomcat in server locations to select the second (use Tomcat installation ...). ), Deploy Path to WebApps
3.Android Engineering
There is no servlet-related engineering in Tomcat right-click Add and remove
Right-click Servlet Related Engineering--properties--project facets--selected option (This example is the content of the server involved in Android, so only check the Web Java JS, specific items according to the choice of specific options), Since my project was a year old and there were discrepancies in the version, make sure to select the version that corresponds to your project in version. You can compare the org.eclipse.wst.common.project.facet.core.xml in. Settings, like mine:
<installed facet= "java" version= "1.8"/>
<installed facet= "Jst.web" version= "3.1"/>
<installed facet= "Wst.jsdt.web" version= "1.0"/>
So change in the project, the original version is 1.7 2.3 1.0 low so certainly 404
4. troubleshoot Android third-party jar package Noclassdeffounderror under high-version ADT
http://blog.csdn.net/huzgd/article/details/7604069
Under Tomcat, the installation of ADT encountered a variety of pit-dad problems finally took 5 hours to get good (mainly tomcat problem here)
Finally connected to the server connected to the database can start to run the project ...
An issue with Android project import occurs