Рубрики

paint

Effortless tomcat facial expressions paint

Size when completed


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

I’m working with Tomcat 8.0.41 and I’ve run into a problem that I’ve been unable to solve. When I start Tomcat, I get the following exception message in the log, even with 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 as 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 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:518) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:499) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1027) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5038) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1798) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 

All of the questions I’ve been able to find on StackOverflow say that the web application needs to include the correct dependency, but the weird thing is that the error still shows when I have zero web applications deployed. I don’t remember this error being shown when I first started using tomcat, but I can’t remember when it started. I would rather not add a jar to the tomcat/lib folder, as the web applications I use have the proper dependencies. What could be causing this?





Skill Level 0:

No Assembly Required

This item does not require assembly.

Very Easy to Complete

Skill Level 1 kits require some minor assembly, but are so simple anyone can do it.
Such kits seldom require cement or paint,
but read any additional explanation provided to be sure.
With the possible exception of a pair of plastic nippers,
no special tools or supplies are needed to complete a kit like this.

Skill Level 2:

Easy to Complete

Skill Level 2 kits require basic plastic model assembly techniques, such as cutting parts from the runners, and cutting or sanding away the remains of the gates (the place where the part was connected to the runner). Some kits in this level also provide stickers for some markings. Most level 2 kits do not require cement or paint, but be sure to read any additional information provided to be sure. To nicely complete a level 2 kit, you will want to have a pair of plastic nippers for cutting parts from the runners, and a fine file, sandpaper or hobby knife for cleaning the gates. In some cases, a pair of tweezers makes applying stickers easier.
Most adults with no prior modeling experience would have no trouble completing a kit of skill level 2. Parents would probably want to assist younger children with a kit of this level if they have never built one before.

Skill Level 3:

Basic Skills Required

Kits rated as skill level 3 are traditional model kits that require all basic modeling skills to complete. This includes cutting parts from runners and trimming or sanding them prior to use,
assembling them with cement, and the use of paint to complete them.

To properly complete a level 3 kit, you should have at least a basic set of modeling supplies, including plastic nippers, a hobby knife, files and/or sandpaper, plastic cement, instant (cyanoacrylate) cement (for resin, soft-vinyl or metal parts), painting supplies including brushes, paint, thinner and masking tape, tweezers and possibly decal softener for applying decals to difficult areas.

Kits in this class are not suitable for small children unless there is complete parental supervision. Adults who have never before completed a plastic model kit may want to read one of the many excellent modeling guides available at most hobby shops before trying to build one of these kits.

Skill level 3 kits include a very large portion of our catalog. Most traditional plastic model kits fall into this category.

Colin Wynn
the authorColin Wynn

Leave a Reply