2013年9月17日星期二

tomcat startup error. Solving

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
tomcat start on the package that was wrong yesterday, you can normally use, . This is what happens, Baidu a moment that what is missing spring package , then pour the still to no avail. Furthermore I create a new project before the project all off , he was being given. Who has experience or approaches to share with you, just go to the tomcat workApp another directory, the project deleted, leaving only one , start another package entry does not exist is wrong, how to solve this .
------ Solution ---------------------------------------- ----
sibling has a work in webapps directory , work under a Catalina directory, this directory localhost folder emptied
Then put your project on the webapps try again
------ Solution ------------------------ --------------------
now remove out engineering development environment , then tomcat webapps folder emptied , then work folder , Catalina folder next , localhost folder corresponding files emptied redirected file , give it a try , if not enough , you start to suspect that the wrong time , the source file to use is that you are importing now works , if you imported before the project when there is no copy to the workspace , then you are using the wrong version now , and it is not, I can see what others have works , copy a come ~
------ For reference only ---------------------------------------
missing package , do not know how do you import , you do not know what package to import , anyway, is the lack of package
------ For reference only ------------------ ---------------------
should not be missing , ah, what Why do good before ,
------ For reference only - -------------------------------------

this is deleted, start there is no error, but the 8080 is also my home page to be deleted , how to recover.
------ For reference only -------------------------------------- -
myeclipse inside my project works were shut , leaving only a new, this should be no problem , catalina localhost Here below is only a host-manager , this is automatically generated in before I put webApp delete the whole project , including host-manager , so the home can not be opened , but tomcat still work . That is, before the ip address. This home works elsewhere do ? Think can not reply ? ? ? ?
------ For reference only -------------------------------------- -
create an empty project , to see if an error, an error is to develop tools to cause a problem , export the project to re- install a put
------ For reference only ---------- -----------------------------

not now being given . But home was gone, detailed description of the upstairs
------ For reference only --------------------------- ------------

not now being given . But home was gone , as detailed a description of the upstairs   find the file to the Recycle Bin to restore ah, it is impossible to use file recovery tool
------ For reference only ------------------- --------------------

not now being given . But home was gone , as detailed a description of the upstairs        find the file to the Recycle Bin to restore ah, it is impossible to use file recovery tool  
have problems , delete are deleted together plus shift , Oh ,
------ For reference only ------------------ ---------------------

not now being given . But home was gone , as detailed a description of the upstairs            find the file to the Recycle Bin to restore ah, it is impossible to use file recovery tool          
have problems , remove all deleted plus shift together , huh,   Forget it, or reinstall a bar , Tomcat installation is very simple , you can also use a disk file recovery tool area to find, but the trouble spots

没有评论:

发表评论