- go基础知识归纳总结
悟空丶123
golang开发语言后端
无缓冲的channel和有缓冲的channel的区别?在Go语言中,channel是用来在goroutines之间传递数据的主要机制。它们有两种类型:无缓冲的channel和有缓冲的channel。无缓冲的channel行为:无缓冲的channel是一种同步的通信方式,发送和接收必须同时发生。如果一个goroutine试图通过无缓冲channel发送数据,它会阻塞,直到另一个goroutine从该
- django基础之:HttpResponse、render、redirect
luanluan8888
Django基础DjangoHttpResponserenderredirect
django基础之:HttpResponse、render、redirect首先在django中使用他们需要导入fromdjango.httpimportHttpResponsefromdjango.shortcutsimportrender,redirect1、HttpResponse作用:内部传入一个字符串参数,然后发送给浏览器2、renderrender可以接受三个参数:一个是request
- Django基础必备三件套: HttpResponse 、render、redirect
大城市的小人物
Djangodjangohtml
1、HttpResponse:它的作用是内部传入一个字符串参数,然后发给浏览器fromdjango.httpimportHttpResponsedefindex(request):returnHttpResponse(‘ok’)2、render:可以接收三个参数,一是request参数,二是待渲染的html模板文件,三是保存具体数据的字典参数fromdjango.shortcutsimportre
- GO基础记录
@新法
GOgolang开发语言后端
defer:生命周期结束后执行(栈顺序),在打开一些资源后,可以使用defer执行关闭.释放的操作,类似RAIIpanic:类似于throw,抛出异常make()用于构建切片,map,channeldefer,panic,recover配合使用代码deferfunc(){ifret:=recover();ret!=nil{fmt.print(ret)}}panic("error")interfac
- 2.go基础知识
WangGavin
内置关键字(25个,均为小写)breakdefaultfuncinterfaceselectcasedefergomapstructchanelsegotopackageswitchconstfallthroughifrangetypecontinueforimportreturnvar注释方法//:当行注释/**/:多行注释一般结构go程序是通过package来组织的只有package名称为ma
- Go基础知识
ehco_6f4c
1、小程序“helloworld”下面的代码可能是你遇到的最简单的GO程序://helloworld.gopackagemainimport"fmt"funcmain(){fmt.Println("Hello,World!")}和预期的一样,在屏幕上输出了“Hello,World”字符,这是一个非常简单的程序,但也展现出来Go语言的相关的概念:注释包引入包main函数输出字符下面简单描述下这些概念
- Go基础知识学习-习题题解
_长银_
Go语言-从基础到高级golang学习开发语言
这里给出来官方教程中部分题目的答案,都是自己练习的时候写的,可以参考来提供思路。当然了,练习还是最好自己写,要不对相关的知识点不可能理解透彻。Exercise:LoopsandFunctionspackagemainimport("fmt")funcSqrt(xfloat64)float64{z:=1.0fori:=0;i0&&err==nil{fori,c:=rangebuf{ifc>='a'&
- 【Go】一、Go语言基本语法与常用方法容器
清河__
Gogolang开发语言后端
GO基础Go语言是由Google于2006年开源的静态语言1972:(C语言)—1983(C++)—1991(python)—1995(java、PHP、js)—2005(amd双核技术+web端新技术飞速发展)—2006(Go)Go语言的优势开发效率高----语法简单集各家语言的优势----出生时间晚,大量参考C和Python执行性能高----直接编译成二进制,部署简单(Python、Java都
- Go基础学习笔记-01
_长银_
Go语言-从基础到高级学习笔记go基础
学习笔记记录了我在学习官方文档过程中记的要点,可以参考学习。gobuild*.go文件编译gorun*.go执行gomodinit生成依赖管理文件gofmt-w*.go格式换名称的大小写用来控制方法的可见域主方法及包命名规范packagemain//注意package的命名,作为主包import"fmt"funcmain(){fmt.Println("helloword")}初始化mod文件gom
- Tornado提纲
月守护
Tornadotornado
pipinstalltornado源码安装https://pypi.python.org/packages/source/t/tornado/tornado-4.3.tar.gz注:Toanado系列内容都是和Django比对学习,默认有django基础Toanado不像Django那样,在创建对应项目之后,很多东西自动生成了,Toanado就像一个普通的第三方库一样,你可以导入使用,但很多东西都
- Python学习之路-Django基础:工程搭建
geobuins
python学习django
Python学习之路-Django基础:工程搭建环境安装创建虚拟环境mkvirtualenvdjango_1.11.10-ppython3安装Django使用Django1.11.10版本pipinstalldjango==1.11.10创建工程在使用Flask框架时,项目工程目录的组织与创建是需要我们自己手动创建完成的。在django中,项目工程目录可以借助django提供的命令帮助我们创建。创
- mongo基础之 聚合命令 aggregation(4)
xiaoliuliu2050
mongodb
聚合操作介绍db.collection.aggregate([pipeline],)-performsanaggregationonacollection;returnsacursor2个参数,一个管道列表一个可选参数管道包括多个阶段阶段描述$addFields向文档添加新字段。类似于$project,$addFields重塑流中的每个文档;具体而言,通过向输出文档添加新字段,该文档包含输入文档和
- go基础语法结束篇 ——函数与方法
落雨便归尘
Gogolang开发语言后端
函数前言在Go中,函数时一等公民,函数是Go最基础的组成成分,但是它也是Go的核心内容,比如启动函数main:packagemainimport"fmt"funcmain(){varn,valueinta:=make([]int,n)Scanf(&n,&value)fori:=0;imax{max=v}}returnmax}funcmain(){varnintfmt.Scanf("%d",&n)a
- Go基础-可变参数函数
kobe_OKOK_
Go语言golang开发语言后端
文章目录1定义2语法3给可变函数参数传入切片4修改可变参数函数中的切片1定义可变参数函数是一种参数个数可变的函数。2语法语法//关键字函数名(参数1,elems为T类型的可变参数)返回值类型funcname(paramstype,elems...T)returntype{//函数体}slice的append就是一个可变参数的内部函数funcappend(slice[]Type,elems...Ty
- 全面掌握Django的web框架Django Rest_Framework(一)
景天科技苑
Django框架djangopython后端DRF
文章目录DjangoRest_Framework1.DRF介绍2.DRF特点3.环境安装与配置(1)DRF需要以下依赖(2)创建django项目4.序列化器的使用(1)创建序列化器5.反序列化器使用DjangoRest_Framework1.DRF介绍DjangoRESTframework是一个建立在Django基础之上的Web应用开发框架,可以快速的开发RESTAPI接口应用,简称DRF。在RE
- Python学习之路-Django基础:类视图与中间件
geobuins
python学习django
Python学习之路-Django基础:类视图与中间件类视图引入以函数的方式定义的视图称为函数视图,函数视图便于理解。但是遇到一个视图对应的路径提供了多种不同HTTP请求方式的支持时,便需要在一个函数中编写不同的业务逻辑,代码可读性与复用性都不佳。defregister(request):"""处理注册"""#获取请求方法,判断是GET/POST请求ifrequest.method=='GET':
- Python学习之路-Django基础:请求与响应
geobuins
python学习django
Python学习之路-Django基础:请求与响应请求简介回想一下,利用HTTP协议向服务器传参有几种途径?提取URL的特定部分,如/weather/beijing/2018,可以在服务器端的路由中用正则表达式截取;查询字符串(querystring),形如key1=value1&key2=value2;请求体(body)中发送的数据,比如表单数据、json、xml;在http报文的头(heade
- go基础-垃圾回收+混合写屏障GC全分析
四月__
程序人生
垃圾回收(GarbageCollection,简称GC)是编程语言中提供的自动的内存管理机制,自动释放不需要的对象,让出存储器资源,无需程序员手动执行。Golang中的垃圾回收主要应用三色标记法,GC过程和其他用户goroutine可并发运行,但需要一定时间的STW(stoptheworld),STW的过程中,CPU不执行用户代码,全部用于垃圾回收,这个过程的影响很大,Golang进行了多次的迭代
- Go基础的一些东西(写的很垃圾)5
1453林登图
Goland
#####json文件写typeWebsitestruct{Namestring`xml:"name,attr"`UrlstringCourse[]string}funcmain(){info:=[]Website{{"Golang","http://c.biancheng.net/golang/",[]string{"http://c.biancheng.net/cplus/","http://
- Go基础语法7:类型转换及类型别名
黄康诚
golang大师之路c++编程语言go
1.类型转换只有相互兼容的类型之间才可以转换,不兼容的类型,如果使用了转换函数,在编译时会出错。1.1不兼容类型的错误示范已知:bool型和int型不兼容packagemainimport"fmt"funcmain(){varaint=10varbbool=truefmt.Println(bool(a))//试图把a变为bool类型输出}报错信息:不能转化一个int类型到bool类型
- Go基础语法(六)
kakarotto
方法方法其实就是一个函数,在func这个关键字和方法名中间加入了一个特殊的接收器类型。接收器可以是结构体类型或者是非结构体类型。接收器是可以在方法的内部访问的。创建一个方法的语法:func(tType)methodName(parameterlist){}示例代码:packagemainimport("fmt")typeEmployeestruct{namestringsalaryintcurre
- Go 入门
yzr213
后端编程语言golang
1.hello,worldhello,worldhello,world经典示例packagemainimport"fmt"funcmain(){fmt.Println("你好,Go")}Go基础知识Go是编译型的语言Go的工具链将程序的源文件转变成机器相关的原生二进制指令这些工具可以通过单一的go命令配合其子命令进行使用;最简单的子命令是run,gorun将一个或多个以".go"为后缀的源文件进行
- 数学建模——>LINGO基础
.....,,.,
matlab
要求:协作、监督、宽容、模范、鼓励在解决问题的框架结构上多下功夫——>思路清晰——>简洁明了——>言辞恰当、语言准确——>d多用图表优化问题与LINGO实现首先优化问题是什么:在一定条件下、寻求使目标最大(小)的决策是解决优化/决策问题的手段优化问题的三要素:决策变量、目标函数、约束条件给定一个函数寻找使得最大最小,即其中LINGO是LinearInteractiveandGeneralOptim
- golang面试题大全
海哥python
面试八股文golang开发语言面试
go基础类1、与其他语言相比,使用Go有什么好处?与其他作为学术实验开始的语言不同,Go代码的设计是务实的。每个功能和语法决策都旨在让程序员的生活更轻松。Golang针对并发进行了优化,并且在规模上运行良好。由于单一的标准代码格式,Golang通常被认为比其他语言更具可读性。自动垃圾收集明显比Java或Python更有效,因为它与程序同时执行。2、Golang使用什么数据类型?Golang使用以下
- 《一个完整的Django入门指南》系列教程(中文版)
爱喝马黛茶的安东尼
今天我将开始一个关于Django基础知识的全新系列教程。这是一个开始学习Django的完整入门指南。教程材料一共会被分为七个部分。我们将从安装,开发环境的准备,模型,视图,模板,URL到更高级的主题(如迁移,测试和部署)中详细探讨所有基本概念。这是一个容易学习,内容丰富且不失趣味的教程。文中穿插一些漫画的方式来演示说明相应的概念和场景。我希望大家能够享受这种阅读!Django完整入门指南:一、《D
- GO基础进阶篇 (十四)、Http编程
不可L
GO语言从基础到应用golanghttp开发语言
Web基础概念web应用程序web程序可以提供浏览器访问的程序。Web应用程序通常采用客户端-服务器模型。客户端是用户使用的Web浏览器或其他Web客户端,而服务器是存储和处理数据的远程计算机。我们能访问到的任何一个页面或资源,都存在于世界的某一个角落的计算机上。HTTPHTTP(HypertextTransferProtocol)是一种用于传输超文本的协议,是Web上数据通信的基础。HTTP是一
- GO基础进阶篇 (十三)、泛型
不可L
GO语言从基础到应用golang开发语言后端
泛型先看一下这段代码。packagemainimport"fmt"funcmain(){strs:=[]string{"a","b"}printArray(strs)}funcprintArray(arr[]interface{}){for_,a:=rangearr{fmt.Println(a)}}上面的代码中,我们想要打印参数arr的信息。运行报错cannotusestrs(variableof
- 带你学够浪:Go语言基础系列 - 8分钟学基础语法
程序员柠檬
对于一般的语言使用者来说,20%的语言特性就能够满足80%的使用需求,剩下在使用中掌握。基于这一理论,Go基础系列的文章不会刻意追求面面俱到,但该有知识点都会覆盖,目的是带你快跑赶上Golang这趟新车。Hurryup,Let'sgo!一个好消息一个坏消息一个潜规则Go的语法类似C语言,你是从C/C++语言过来的话学习成本很低,其他语言过来甚至没有编程基础也没关系,这门语言入门很轻松。好消息是你的
- go基础2 - 常量指针&数组-切片-map-nil
四月-q
golang开发语言后端
常量指针常量关键词const定义,只能是数字型(整数,浮点,复数)、字符串型、布尔型//单个定义constnameint=1//批量定义const(name1int=1name2string="1")用于存储不会改变的数据,常量编译时被创建。常量表达式必须为能被编译器求值的常量表达式Iota常量生成器在第一个声明常量所在的行,iota将会被置会0,然后在每一个有常量声明的行加1比如,定义星期日到星
- GO基础语法(2018-08-14)
小超人爱小土豆
基本用法包括:变量定义,变量定义要点,条件语句,循环,函数和最重要的指针一、变量定义(1)使用var关键字*vara,b,cbool*vars1,s2string="hello","world"*可放在函数内,或者直接放在包内。*使用var()集中定义变量。(2)让编译器自动决定类型vara,b,i,s1,s2=ture,false,3,"hello","world"(3)使用:=定义变量*a,b
- 数据采集高并发的架构应用
3golden
.net
问题的出发点:
最近公司为了发展需要,要扩大对用户的信息采集,每个用户的采集量估计约2W。如果用户量增加的话,将会大量照成采集量成3W倍的增长,但是又要满足日常业务需要,特别是指令要及时得到响应的频率次数远大于预期。
&n
- 不停止 MySQL 服务增加从库的两种方式
brotherlamp
linuxlinux视频linux资料linux教程linux自学
现在生产环境MySQL数据库是一主一从,由于业务量访问不断增大,故再增加一台从库。前提是不能影响线上业务使用,也就是说不能重启MySQL服务,为了避免出现其他情况,选择在网站访问量低峰期时间段操作。
一般在线增加从库有两种方式,一种是通过mysqldump备份主库,恢复到从库,mysqldump是逻辑备份,数据量大时,备份速度会很慢,锁表的时间也会很长。另一种是通过xtrabacku
- Quartz——SimpleTrigger触发器
eksliang
SimpleTriggerTriggerUtilsquartz
转载请出自出处:http://eksliang.iteye.com/blog/2208166 一.概述
SimpleTrigger触发器,当且仅需触发一次或者以固定时间间隔周期触发执行;
二.SimpleTrigger的构造函数
SimpleTrigger(String name, String group):通过该构造函数指定Trigger所属组和名称;
Simpl
- Informatica应用(1)
18289753290
sqlworkflowlookup组件Informatica
1.如果要在workflow中调用shell脚本有一个command组件,在里面设置shell的路径;调度wf可以右键出现schedule,现在用的是HP的tidal调度wf的执行。
2.designer里面的router类似于SSIS中的broadcast(多播组件);Reset_Workflow_Var:参数重置 (比如说我这个参数初始是1在workflow跑得过程中变成了3我要在结束时还要
- python 获取图片验证码中文字
酷的飞上天空
python
根据现成的开源项目 http://code.google.com/p/pytesser/改写
在window上用easy_install安装不上 看了下源码发现代码很少 于是就想自己改写一下
添加支持网络图片的直接解析
#coding:utf-8
#import sys
#reload(sys)
#sys.s
- AJAX
永夜-极光
Ajax
1.AJAX功能:动态更新页面,减少流量消耗,减轻服务器负担
2.代码结构:
<html>
<head>
<script type="text/javascript">
function loadXMLDoc()
{
.... AJAX script goes here ...
- 创业OR读研
随便小屋
创业
现在研一,有种想创业的想法,不知道该不该去实施。因为对于的我情况这两者是矛盾的,可能就是鱼与熊掌不能兼得。
研一的生活刚刚过去两个月,我们学校主要的是
- 需求做得好与坏直接关系着程序员生活质量
aijuans
IT 生活
这个故事还得从去年换工作的事情说起,由于自己不太喜欢第一家公司的环境我选择了换一份工作。去年九月份我入职现在的这家公司,专门从事金融业内软件的开发。十一月份我们整个项目组前往北京做现场开发,从此苦逼的日子开始了。
系统背景:五月份就有同事前往甲方了解需求一直到6月份,后续几个月也完
- 如何定义和区分高级软件开发工程师
aoyouzi
在软件开发领域,高级开发工程师通常是指那些编写代码超过 3 年的人。这些人可能会被放到领导的位置,但经常会产生非常糟糕的结果。Matt Briggs 是一名高级开发工程师兼 Scrum 管理员。他认为,单纯使用年限来划分开发人员存在问题,两个同样具有 10 年开发经验的开发人员可能大不相同。近日,他发表了一篇博文,根据开发者所能发挥的作用划分软件开发工程师的成长阶段。
初
- Servlet的请求与响应
百合不是茶
servletget提交java处理post提交
Servlet是tomcat中的一个重要组成,也是负责客户端和服务端的中介
1,Http的请求方式(get ,post);
客户端的请求一般都会都是Servlet来接受的,在接收之前怎么来确定是那种方式提交的,以及如何反馈,Servlet中有相应的方法, http的get方式 servlet就是都doGet(
- web.xml配置详解之listener
bijian1013
javaweb.xmllistener
一.定义
<listener>
<listen-class>com.myapp.MyListener</listen-class>
</listener>
二.作用 该元素用来注册一个监听器类。可以收到事件什么时候发生以及用什么作为响
- Web页面性能优化(yahoo技术)
Bill_chen
JavaScriptAjaxWebcssYahoo
1.尽可能的减少HTTP请求数 content
2.使用CDN server
3.添加Expires头(或者 Cache-control) server
4.Gzip 组件 server
5.把CSS样式放在页面的上方。 css
6.将脚本放在底部(包括内联的) javascript
7.避免在CSS中使用Expressions css
8.将javascript和css独立成外部文
- 【MongoDB学习笔记八】MongoDB游标、分页查询、查询结果排序
bit1129
mongodb
游标
游标,简单的说就是一个查询结果的指针。游标作为数据库的一个对象,使用它是包括
声明
打开
循环抓去一定数目的文档直到结果集中的所有文档已经抓取完
关闭游标
游标的基本用法,类似于JDBC的ResultSet(hasNext判断是否抓去完,next移动游标到下一条文档),在获取一个文档集时,可以提供一个类似JDBC的FetchSize
- ORA-12514 TNS 监听程序当前无法识别连接描述符中请求服务 的解决方法
白糖_
ORA-12514
今天通过Oracle SQL*Plus连接远端服务器的时候提示“监听程序当前无法识别连接描述符中请求服务”,遂在网上找到了解决方案:
①打开Oracle服务器安装目录\NETWORK\ADMIN\listener.ora文件,你会看到如下信息:
# listener.ora Network Configuration File: D:\database\Oracle\net
- Eclipse 问题 A resource exists with a different case
bozch
eclipse
在使用Eclipse进行开发的时候,出现了如下的问题:
Description Resource Path Location TypeThe project was not built due to "A resource exists with a different case: '/SeenTaoImp_zhV2/bin/seentao'.&
- 编程之美-小飞的电梯调度算法
bylijinnan
编程之美
public class AptElevator {
/**
* 编程之美 小飞 电梯调度算法
* 在繁忙的时间,每次电梯从一层往上走时,我们只允许电梯停在其中的某一层。
* 所有乘客都从一楼上电梯,到达某层楼后,电梯听下来,所有乘客再从这里爬楼梯到自己的目的层。
* 在一楼时,每个乘客选择自己的目的层,电梯则自动计算出应停的楼层。
* 问:电梯停在哪
- SQL注入相关概念
chenbowen00
sqlWeb安全
SQL Injection:就是通过把SQL命令插入到Web表单递交或输入域名或页面请求的查询字符串,最终达到欺骗服务器执行恶意的SQL命令。
具体来说,它是利用现有应用程序,将(恶意)的SQL命令注入到后台数据库引擎执行的能力,它可以通过在Web表单中输入(恶意)SQL语句得到一个存在安全漏洞的网站上的数据库,而不是按照设计者意图去执行SQL语句。
首先让我们了解什么时候可能发生SQ
- [光与电]光子信号战防御原理
comsci
原理
无论是在战场上,还是在后方,敌人都有可能用光子信号对人体进行控制和攻击,那么采取什么样的防御方法,最简单,最有效呢?
我们这里有几个山寨的办法,可能有些作用,大家如果有兴趣可以去实验一下
根据光
- oracle 11g新特性:Pending Statistics
daizj
oracledbms_stats
oracle 11g新特性:Pending Statistics 转
从11g开始,表与索引的统计信息收集完毕后,可以选择收集的统信息立即发布,也可以选择使新收集的统计信息处于pending状态,待确定处于pending状态的统计信息是安全的,再使处于pending状态的统计信息发布,这样就会避免一些因为收集统计信息立即发布而导致SQL执行计划走错的灾难。
在 11g 之前的版本中,D
- 快速理解RequireJs
dengkane
jqueryrequirejs
RequireJs已经流行很久了,我们在项目中也打算使用它。它提供了以下功能:
声明不同js文件之间的依赖
可以按需、并行、延时载入js库
可以让我们的代码以模块化的方式组织
初看起来并不复杂。 在html中引入requirejs
在HTML中,添加这样的 <script> 标签:
<script src="/path/to
- C语言学习四流程控制if条件选择、for循环和强制类型转换
dcj3sjt126com
c
# include <stdio.h>
int main(void)
{
int i, j;
scanf("%d %d", &i, &j);
if (i > j)
printf("i大于j\n");
else
printf("i小于j\n");
retu
- dictionary的使用要注意
dcj3sjt126com
IO
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
user.user_id , @"id",
user.username , @"username",
- Android 中的资源访问(Resource)
finally_m
xmlandroidStringdrawablecolor
简单的说,Android中的资源是指非代码部分。例如,在我们的Android程序中要使用一些图片来设置界面,要使用一些音频文件来设置铃声,要使用一些动画来显示特效,要使用一些字符串来显示提示信息。那么,这些图片、音频、动画和字符串等叫做Android中的资源文件。
在Eclipse创建的工程中,我们可以看到res和assets两个文件夹,是用来保存资源文件的,在assets中保存的一般是原生
- Spring使用Cache、整合Ehcache
234390216
springcacheehcache@Cacheable
Spring使用Cache
从3.1开始,Spring引入了对Cache的支持。其使用方法和原理都类似于Spring对事务管理的支持。Spring Cache是作用在方法上的,其核心思想是这样的:当我们在调用一个缓存方法时会把该方法参数和返回结果作为一个键值对存放在缓存中,等到下次利用同样的
- 当druid遇上oracle blob(clob)
jackyrong
oracle
http://blog.csdn.net/renfufei/article/details/44887371
众所周知,Oracle有很多坑, 所以才有了去IOE。
在使用Druid做数据库连接池后,其实偶尔也会碰到小坑,这就是使用开源项目所必须去填平的。【如果使用不开源的产品,那就不是坑,而是陷阱了,你都不知道怎么去填坑】
用Druid连接池,通过JDBC往Oracle数据库的
- easyui datagrid pagination获得分页页码、总页数等信息
ldzyz007
var grid = $('#datagrid');
var options = grid.datagrid('getPager').data("pagination").options;
var curr = options.pageNumber;
var total = options.total;
var max =
- 浅析awk里的数组
nigelzeng
二维数组array数组awk
awk绝对是文本处理中的神器,它本身也是一门编程语言,还有许多功能本人没有使用到。这篇文章就单单针对awk里的数组来进行讨论,如何利用数组来帮助完成文本分析。
有这么一组数据:
abcd,91#31#2012-12-31 11:24:00
case_a,136#19#2012-12-31 11:24:00
case_a,136#23#2012-12-31 1
- 搭建 CentOS 6 服务器(6) - TigerVNC
rensanning
centos
安装GNOME桌面环境
# yum groupinstall "X Window System" "Desktop"
安装TigerVNC
# yum -y install tigervnc-server tigervnc
启动VNC服务
# /etc/init.d/vncserver restart
# vncser
- Spring 数据库连接整理
tomcat_oracle
springbeanjdbc
1、数据库连接jdbc.properties配置详解 jdbc.url=jdbc:hsqldb:hsql://localhost/xdb jdbc.username=sa jdbc.password= jdbc.driver=不同的数据库厂商驱动,此处不一一列举 接下来,详细配置代码如下:
Spring连接池  
- Dom4J解析使用xpath java.lang.NoClassDefFoundError: org/jaxen/JaxenException异常
xp9802
用Dom4J解析xml,以前没注意,今天使用dom4j包解析xml时在xpath使用处报错
异常栈:java.lang.NoClassDefFoundError: org/jaxen/JaxenException异常
导入包 jaxen-1.1-beta-6.jar 解决;
&nb