Tomcat Exception on Startup: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet -


i'm working tomcat 8.0.41 , i've run problem i've been unable solve. when start tomcat, following exception message in log, no web applications deployed.

28-mar-2017 09:03:45.659 info [localhost-startstop-1] org.apache.catalina.core.applicationcontext.log marking servlet faces servlet unavailable 28-mar-2017 09:03:45.659 severe [localhost-startstop-1] org.apache.catalina.core.standardcontext.loadonstartup servlet [faces servlet] in web application [] threw load() exception  java.lang.classnotfoundexception: javax.faces.webapp.facesservlet     @ org.apache.catalina.loader.webappclassloaderbase.loadclass(webappclassloaderbase.java:1333)     @ org.apache.catalina.loader.webappclassloaderbase.loadclass(webappclassloaderbase.java:1167)     @ org.apache.catalina.core.defaultinstancemanager.loadclass(defaultinstancemanager.java:518)     @ org.apache.catalina.core.defaultinstancemanager.loadclassmaybeprivileged(defaultinstancemanager.java:499)     @ org.apache.catalina.core.defaultinstancemanager.newinstance(defaultinstancemanager.java:118)     @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1091)     @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1027)     @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:5038)     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5348)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:145)     @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:753)     @ org.apache.catalina.core.containerbase.addchild(containerbase.java:729)     @ org.apache.catalina.core.standardhost.addchild(standardhost.java:717)     @ org.apache.catalina.startup.hostconfig.deploydescriptor(hostconfig.java:587)     @ org.apache.catalina.startup.hostconfig$deploydescriptor.run(hostconfig.java:1798)     @ java.util.concurrent.executors$runnableadapter.call(executors.java:511)     @ java.util.concurrent.futuretask.run(futuretask.java:266)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ java.lang.thread.run(thread.java:745) 

all of questions i've been able find on stackoverflow web application needs include correct dependency, weird thing error still shows when have 0 web applications deployed. don't remember error being shown when first started using tomcat, can't remember when started. rather not add jar tomcat/lib folder, web applications use have proper dependencies.

what causing this?

i found source of problem, though i'm not sure why causing it. file @ {catalina base}\conf\catalina\localhost\root.xml had been changed to:

<?xml version="1.0" encoding="utf-8"?> <context docbase="some long invalid file path" path=""/> 

the 'some long invalid file path' directory of jee tutorials had removed earlier in week. edited root.xml file to

<?xml version="1.0" encoding="utf-8"?> <context docbase="" path=""/> 

and tomcat starts without complaint. explanation why causing above problem welcome.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -