The first time I met this problem was to pull the Maven project from Git and this error occurred. The scenario is that Tomcat can start successfully, but the Web project was not started by the Tomcat project.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7D/1A/wKiom1bf5-aQqKSeAA61COS_FUQ996.jpg "title=" Eclipse Error "alt=" Wkiom1bf5-aqqkseaa61cos_fuq996.jpg "/>
When you right-click Project->properties->web Project Settings, it finds that its context root is empty and reports the context root ... not being empty error
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7D/19/wKioL1bf6UDzJQNFAAINxmfgUmc533.jpg "title=" D798060d25d549ff98821f0fafae746c.jpg "alt=" Wkiol1bf6udzjqnfaainxmfgumc533.jpg "/>
Manually entering characters internally, whether or not you have/will be empty
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7D/1A/wKiom1bf6PzDfTO8AAIIpeIJNc0565.jpg "title=" 07acf6722ad64796b63e68ab1468c508.jpg "alt=" Wkiom1bf6pzdfto8aaiipeijnc0565.jpg "/>
650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/7D/1A/wKiom1bf6SzwLnchAAIpxu21Ifo985.jpg "style=" float: none; "title=" 684116379a36460fb1945dd0cb121afd.jpg "alt=" Wkiom1bf6szwlnchaaipxu21ifo985.jpg "/>
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M01/7D/1A/wKiom1bf6THSzRgvAAdSrHFuY-8037.jpg "style=" float: none; "title=" b6461bedba0d4d3783adf22946f6c0a7.jpg "alt=" Wkiom1bf6thszrgvaadsrhfuy-8037.jpg "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/19/wKioL1bf6eOBQ-7FAAAHC2MJO6U015.jpg "title=" 2b7e2ace439e44c3b2b67ae9ee22c7ec.jpg "alt=" wkiol1bf6eobq-7faaahc2mjo6u015.jpg "/> This icon to find your project folder Enter the. Settings folder under the project folder to open the Org.eclipse.wst.common.component file
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7D/1A/wKiom1bf6c6CX2OMAADmV1_kkCs102.jpg "title=" C3c96ce6ae92499c8e6e27c523eddba6.jpg "alt=" wkiom1bf6c6cx2omaadmv1_kkcs102.jpg "/> Modify the code to the following statement
<?xml version= "1.0" encoding= "UTF-8"? ><project-modules id= "Modulecoreid" project-version= "1.5.0" > <wb-module deploy-name= "X-game-center-manager" > <wb-resource deploy-path= "/" source-path= "/ WebContent " tag=" Defaultrootsource "/> <wb-resource deploy-path= "/web-inf/classes" source-path= "/SRC"/> <wb-resource deploy-path= "/web-inf/classes" source-path= "/resource"/> <wb-resource deploy-path= "/web-inf/classes" source-path= "/aapt"/ > <property name= "Context-root" value= "XXXXXX"/ > <property name= "Java-output-path" value= "/ X-game-center-manager/build/classes "/> </wb-module></project-modules>
This article is from the "11288141" blog, please be sure to keep this source http://11298141.blog.51cto.com/11288141/1749209
Eclipse Error Context root cannot be empty