- 浏览: 4911087 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (743)
- JAVA (44)
- JAVA 乔乐共享 (145)
- js (132)
- database (26)
- jQuery (46)
- velocity (16)
- Ubuntu (14)
- Grails (2)
- Groovy (6)
- xml (2)
- Spring (11)
- mysql (24)
- sqlserver (6)
- oracle (9)
- cmd (8)
- CSS (17)
- Linux (2)
- sqlite (4)
- php (11)
- json (2)
- laravel (2)
- html (3)
- 闲聊 (3)
- git (13)
- nodejs (25)
- angularjs (17)
- npm (8)
- bootstrap (4)
- mongodb (5)
- React (32)
- Crack (7)
- b (0)
- ES6 (2)
- webpack (3)
- Babel (1)
- Koa (1)
最新评论
-
taoshengyijiuzt:
感谢大佬!!!
JetBrains最新激活服务器(长期更新ing) -
masuweng:
激活码可以用
JetBrains最新激活服务器(长期更新ing) -
dusdong:
都失效了
JetBrains最新激活服务器(长期更新ing) -
追风筝的孩纸Zz:
dddddddddddddddd
js获取网页屏幕可见区域高度 -
自己811005:
88350bcf69dcfbda7f8a76a589d9054 ...
Js设置前端允许跨域请求后端API:Access-Control-Allow-Credentials
commons-collections-3.1.jar commons-digester-2.0.jar commons-fileupload-1.2.2.jar commons-lang-2.5.jar freemarker-2.3.16.jar ognl-3.0.1.jar oro-2.0.8.jar struts2-core-2.2.3.1.jar velocity-1.7.jar velocity-tools-1.4.jar xwork-core-2.1.6.jar
注意:如果你用xwork-core-2.2.3.1.jar会报错,所以要用:xwork-core-2.1.6.jar
严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:295) at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:431) at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:207) at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51) at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:93) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:487) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:484) at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574) at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:484) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:252) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) 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.getFilter(ApplicationFilterConfig.java:295) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:293) ... 41 more Caused by: java.lang.ExceptionInInitializerError at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.setContainer(OgnlValueStackFactory.java:85) ... 46 more Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! Please add missed dependency! at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:165) ... 47 more Caused by: java.lang.ClassNotFoundException: javassist.ClassPool at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:162) ... 47 more 2011-11-24 15:40:34 org.apache.catalina.core.StandardContext filterStart 严重: Exception starting filter struts2 java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector File: ContainerImpl.java Method: inject Line: 295 - com/opensymphony/xwork2/inject/ContainerImpl.java:295:-1 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.getFilter(ApplicationFilterConfig.java:295) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:295) at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:431) at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:207) at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51) at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:93) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:487) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:484) at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574) at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:484) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:252) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424) ... 28 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:293) ... 41 more Caused by: java.lang.ExceptionInInitializerError at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.setContainer(OgnlValueStackFactory.java:85) ... 46 more Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! Please add missed dependency! at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:165) ... 47 more Caused by: java.lang.ClassNotFoundException: javassist.ClassPool at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:162) ... 47 more 2011-11-24 15:40:34 org.apache.catalina.core.StandardContext start 严重: Error filterStart 2011-11-24 15:40:34 org.apache.catalina.core.StandardContext start 严重: Context [/HelloWorld] startup failed due to previous errors 2011-11-24 15:40:34 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap 严重: The web application [/HelloWorld] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@56b64c]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@da5686]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. 2011-11-24 15:40:34 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory ROOT 2011-11-24 15:40:34 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8080 2011-11-24 15:40:34 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2011-11-24 15:40:34 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/16 config=null 2011-11-24 15:40:34 org.apache.catalina.startup.Catalina start 信息: Server startup in 1358 ms
发表评论
-
Ubuntu VirtualBox 安装win10报错:FATAL: No bootable medium found! System halted.
2017-04-20 13:04 6223点击设置:->Storage存储-&g ... -
win10 webstorm9和10无法使用terminal解决方案
2015-06-07 16:41 15919原因:计算机从win7更新到win10,webstorm9 ... -
String,StringBuffer与StringBuilder的区别
2014-07-21 13:22 1086String StringBuffer Strin ... -
HashMap与HashTable的区别(含源码分析)
2014-07-21 12:58 1256HashMap HashTable Hash ... -
java判断中英文长度并截取部分添加省略号
2014-03-21 15:44 2533public static void main(Strin ... -
Velocity多重foreach嵌套循环
2014-02-24 11:30 22339#macro(list $list $listClass ... -
Velocity多重if else判断
2014-02-18 13:38 9530<div id="contentAreaD ... -
Velocity foreach生成json对象数组
2014-02-18 11:08 10023//城市信息 provinceData : [ # ... -
Velocity 循环判断数量是否是2的倍数
2014-02-18 11:01 7071<div id="brandAreaDiv ... -
Velocity 判断比较字符串长度
2014-02-18 10:58 14620<div id="districtArea ... -
Velocity 字符串函数substring
2014-02-18 10:57 8359$s_attribute.name.substring(0, ... -
JAVA比较两个日期的差值天数
2014-01-17 11:44 6096package com.anxin.ssk.cache; ... -
velocity foreach A ~ Z
2014-01-15 11:09 1042#set($leteers=["A", ... -
Eclipse GBK代码转移到UFT-8编码上去,迁移方案
2013-03-18 14:40 5430方法一:(程序法)推荐 //用commons-io.jar ... -
velocity 调用自定义方法,日期函数为例
2013-03-11 18:21 3618toolbox.xml <tool> & ... -
Velocity if else判断对象里面的值
2013-03-11 18:04 63838#foreach($fundDeteposit in $! ... -
velocity获取session值并判断是否成
2013-03-11 16:59 6575<div class="right_mai ... -
Velocity foreach 获取下标和size
2013-03-07 16:32 88459$!{velocityCount}数量是从1开始的,所以获 ... -
CMD命令一键备份文件目录
2013-01-30 15:43 2284echo 开始备份SSK目录 ::设置临时变量为目标备 ... -
Navicat 中文乱码问题
2012-09-25 16:47 3881解决方法: 1、关闭数据库连接; 2、右击数据库选择“连接 ...
相关推荐
Volecity-1.3.1.jar是一个特定版本的Volecity库,封装了所有必要的功能,方便开发者在项目中直接引用。 1. **Volecity模板引擎** Volecity模板引擎的设计理念是分离表现层(视图)和业务逻辑层(模型),使得...
在Volecity项目中,可能需要配置VelocityViewServlet来处理请求,并设置相关的初始化参数,如模板路径、编码格式等。 6. **velocity.properties** 这是Velocity引擎的配置文件,可以定义如缓存策略、编码规则等。...
将Spring MVC、Maven和Velocity整合在一起,首先需要在Maven的POM.xml文件中添加相应的依赖。对于Spring MVC,你需要添加spring-webmvc依赖;对于Velocity,需要添加velocity-engine-core和velocity-tools-view。...
例如,可能需要查看Struts的配置文件(struts-config.xml)来理解请求的映射,Hibernate的配置文件(hibernate.cfg.xml)来了解数据库连接设置,以及Spring的配置文件(如 applicationContext.xml)来解析Bean的定义...
VTL 的目标是提供最简洁、直观的方式来整合动态内容到网页中。其核心机制是引用(references),即变量,它们可以指向 Java 代码中的对象,也可以是 VTL 语句计算出的结果。 在 VTL 中,`#` 字符用于标识指令...
**Velocity简介** Velocity是一款强大的Java模板引擎,它是由Apache软件基金会开发并维护的开源项目。...这种分工使得Web应用的开发更加高效和灵活。 **核心概念** ...这些变量被替换为实际值,而控制结构如循环和条件...
为了更好地利用Velocity,你需要了解它的基本语法和概念,如#set指令用于变量赋值,#if和#else用于条件判断,#foreach用于循环,以及引用对象和方法等。此外,Velocity强调模板语言的简洁性,它鼓励使用MVC模式,将...
`org.apache.velocity_1.3.1`是Velocity引擎的版本1.3.1,包含处理VML文件所需的类和方法。`org.vaulttec.velocity.ui_1.0.2`则是VaultTec提供的Eclipse插件的用户界面部分,版本1.0.2,提供了前面提到的编辑和调试...
同时,确保正确关联到所控制的轴对象。 1.2 查看帮助文档 双击MC_MoveVelocity功能块,会弹出相应的帮助文档,提供详细的使用指南和技术参数说明。这有助于理解每个输入和输出变量的作用,以及如何设置合适的参数以...
Velocity 是一处基于java 语言的模板引擎, 使用这个简单、功能强大的开发工具,可以很容易的将数据对象灵活的 与格式化文档组装到一起;希望本文能指引使用velocity 在开发基于servlet 或一般java 应用程序的应用上...
**Velocity模板路径** Velocity是Apache软件基金会的一个开源项目,它是一个强大的模板引擎,常用于Java应用中的视图层,如Web应用、邮件服务等。... 在Velocity中,模板路径是非常关键的概念,它决定了模板文件在...
掌握主流的Java开源框架Struts2、Spring、SpringMVC、Hibernate/Mybatis、iBatis等,最好熟悉Freemaker或volecity。 2. 熟悉中间件Tomcat、jboss、Apache、Weblogic、WAS; 3. 熟悉各种Web前端技术,包括JavaScript...
速度 关于 主要由Stevie Hetelekides(Hetelek)和Adam Spindler(Experiment5X)开发。 有关“速度”贡献者的完整列表,请查看“。 Velocity是使用Qt框架构建的跨平台应用程序,允许您浏览和编辑Xbox 360文件。...
在程序中引入MC_MoveRelative功能块后,需要对其中的变量进行自动声明。这通常包括目标位置、速度、加减速时间等参数。通过关联轴对象,可以设置轴的速度模式、减减速特性等,确保运动过程平稳且精准。 2. 功能块...