缺少freemarker-2.3.19.jar包

Unable to load configuration. - bean - jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/struts2_helloworld/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:54:89

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)

at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)

at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

Caused by: Unable to load bean: type: class:org.apache.struts2.views.freemarker.FreemarkerManager - bean - jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/struts2_helloworld/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:54:89

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)

at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)

at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)

... 21 more

Caused by: java.lang.NoClassDefFoundError: freemarker/template/TemplateException

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)

at java.lang.Class.getDeclaredConstructors(Class.java:1836)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222)

... 24 more

Caused by: java.lang.ClassNotFoundException: freemarker.template.TemplateException

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

... 28 more

2012-10-4 20:52:46 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter struts2

Unable to load configuration. - bean - jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/struts2_helloworld/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:54:89

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)

at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)

at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

Caused by: Unable to load configuration. - bean - jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/struts2_helloworld/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:54:89

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)

... 19 more

Caused by: Unable to load bean: type: class:org.apache.struts2.views.freemarker.FreemarkerManager - bean - jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%207.0/webapps/struts2_helloworld/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:54:89

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)

at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)

at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)

... 21 more

Caused by: java.lang.NoClassDefFoundError: freemarker/template/TemplateException

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)

at java.lang.Class.getDeclaredConstructors(Class.java:1836)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222)

... 24 more

Caused by: java.lang.ClassNotFoundException: freemarker.template.TemplateException

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1701)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1546)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

... 28 more

你可能感兴趣的:(framemaker.jar)