`

缺少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

1
4
分享到:
评论

相关推荐

    freemarker-2.3.19.jar

    `freemarker-2.3.19.jar`是Freemarker库的特定版本,版本号为2.3.19。这个JAR文件包含了Freemarker的所有类和资源,使得开发者可以在自己的应用程序中直接引用和使用Freemarker的功能。 在Java应用中,`freemarker-...

    常用jar包 freemarker-2.3.13.jar mysqldriver.jar junit-3.8.1.jar

    常用jar包二十几个 bsh-1.3.0.jar commons-dbcp-1.2.1.jar commons-fileupload-1.2.1.jar commons-io-1.3.2.jar commons-logging-1.0.4.jar commons-pool-1.2.jar dom4j-1.6.1.jar freemarker-2.3.13.jar jbpm.sar....

    freemarker-2.3.19.zip

    `freemarker-2.3.19.jar`是核心的Freemarker库,包含了所有处理模板和生成动态内容所需的类和资源。这个版本的Freemarker支持模板语言的表达式、控制结构(如if/else、for循环)、内置函数以及与Java对象的交互。它...

    freemarker-2.3.22.jar

    freemarker-2.3.22.jar用于生成word模板核心工具包,非常好用!详细操作使用,请参考我的文章链接:https://blog.csdn.net/qq_45978154/article/details/125065400?spm=1001.2014.3001.5502

    freemarker-2.3.28.jar

    这个"freemarker-2.3.28.jar"是Freemarker库的一个具体版本,版本号为2.3.28,它是Java的一个可执行的JAR(Java Archive)文件,用于在Eclipse集成开发环境中作为插件使用。 在Freemarker的2.3.28版本中,我们可以...

    spring-boot-starter-freemarker-1.5.4.RELEASE.jar

    spring-boot-starter-freemarker-1.5.4.RELEASE.jar

    Freemarker-2.3.19中文手册和jar包

    1. **集成到Java项目**: 将`freemarker-2.3.19.jar`添加到项目的类路径中,通过`freemarker.template.Configuration`创建配置对象,指定模板文件的目录。 2. **创建模板**: 模板文件通常以`.ftl`扩展名,可以包含...

    freemarker-2.3.8.jar

    使用`freemarker-2.3.8.jar`时,需要注意的是,由于版本较旧,可能不支持某些新特性或者存在已知的安全问题。在生产环境中,通常推荐使用最新稳定版的Freemarker库,以确保获得更好的性能和安全性。同时,对于大型...

    freemarker-2.3.23.jar

    freemarker-2.3.23.jar,下载

    freemarker-2.3.20.jar

    freemarker-2.3.20.jar

    freemarker-2.3.13.jar.zip

    在这个场景中,我们讨论的是"freemarker-2.3.13.jar.zip",这是一个包含Freemarker库2.3.13版本的压缩文件。 Freemarker的工作原理基于模板和数据模型。模板是纯文本文件,其中包含固定的文本和由特定语法表示的...

    freemarker-2.3.18.jar

    freemarker-2.3.18.jar struts2中用到的jar包

    freemarker-2.3.31-API文档-中文版.zip

    赠送jar包:freemarker-2.3.31.jar; 赠送原API文档:freemarker-2.3.31-javadoc.jar; 赠送源代码:freemarker-2.3.31-sources.jar; 赠送Maven依赖信息文件:freemarker-2.3.31.pom; 包含翻译后的API文档:...

    commons-fileupload-1.2.2.jar和commons-io-2.0.1.jar组件

    `commons-io-2.0.1.jar` 是Apache Commons IO项目的早期版本,它提供了一系列实用工具类,用于处理各种I/O操作。在处理文件上传时,这个库常用于辅助读写文件。以下是一些主要功能: 1. **文件操作**:包括创建、...

    freemarker-2.3.9.jar和jfinal-1.9-bin-with-src.jar

    jfinal-1.9-bin-with-src.jar

    spring-boot-starter-freemarker-1.3.3.RELEASE.jar

    首先,我们来看"spring-boot-starter-freemarker-1.3.3.RELEASE.jar",这是Spring Boot官方提供的一个启动器(Starter),用于简化与Freemarker的集成。Freemarker是一个强大的、轻量级的、基于模板的语言,常用于...

    freemarker.jar

    camel-freemarker-1.6.4.jar, camel-freemarker-2.8.1.jar, com.springsource.freemarker-2.3.15.jar, com.springsource.freemarker-sources-2.3.15.jar, freemarker-1.4.1.jar, freemarker-2-3-18.jar, freemarker-...

    Freemarker-2.3.8.jar、urlrewrite-2.6.0.jar

    Freemarker的jar包是动态网页静态化的必备jar包,静态化的工作基本上都是由他来完成的,如果没有他,你就不用往下看了,打魔兽去吧。Urlrewrite的jar包是用来解决将动态的网页静态化之后的传参问题的。freemarker-...

    freemarker-2.3.30-API文档-中英对照版.zip

    赠送jar包:freemarker-2.3.30.jar; 赠送原API文档:freemarker-2.3.30-javadoc.jar; 赠送源代码:freemarker-2.3.30-sources.jar; 赠送Maven依赖信息文件:freemarker-2.3.30.pom; 包含翻译后的API文档:...

Global site tag (gtag.js) - Google Analytics