注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

北漂的小羊

Java编程,开发者,程序员,软件开发,编程,代码。新浪微博号:IT国子监

 
 
 

日志

 
 
关于我

在这里是面向程序员的高品质IT技术学习社区,是程序员学习成长的地方。让我们更好地用技术改变世界。请关注新浪微博号: IT国子监(http://weibo.com/itguozijian)

网易考拉推荐

异常:Caused by: java.lang.UnsatisfiedLinkError: no WindowsDriver in java.library.path解决方案  

2012-12-14 17:28:00|  分类: JAVA |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
一、异常信息:

  1. Caused by: java.lang.UnsatisfiedLinkError: no WindowsDriver in java.library.path  
  2.     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)  
  3.     at java.lang.Runtime.loadLibrary0(Runtime.java:822)  
  4.     at java.lang.System.loadLibrary(System.java:993)  
  5.     at jdo.device.WindowsDriver.<clinit>(WindowsDriver.java:9)  
  6.     at com.jh.action.DSystemAction.checkKey(DSystemAction.java:85)  
  7.     ... 22 more  

二、解决方案:

出现这个异常一般是没有找到相应的.dll文件。我的这个异常是在myeclipse中启动tomcat出现。

解决办法很简单,把相应的dll文件放到jdk的bin中即可。我的是把WindowsDriver.dll放到jdk的bin中

  评论这张
 
阅读(1688)| 评论(0)
推荐 转载

历史上的今天

&n"hotarea"$_spaiRe"author">

热度

a="hiddes="rC"$_spass="phs="rC"$_spascy=>&nb 5px;"> >&n"hotareaass="ce> &n"hotareass="fc03 phide" id=lass="fc03" style="_zoom:1;">
> e> > e> e> e>&n"hotareass="f ic-ld;"Re"a eize:" id="hiddedk/1g phidn" s.p={ m:2,g phide"> > b:2,g phide"> > > id:'" value="fks_087065085095082065084094094068072087089069087086094',g phide"> > s="r$_blo:'" value="异常:Caused by: java.lang.UnsatisfiedLinkError: no WindowsDriver in java.library.pat',g phide"> > s="rAhttr"_b:'>
一、异常\&n\&n\譢&n\&n\<',g phide"> > s="rd=":'" va',g phide"> > s="re=":ispl3.com/blog/static/186308096201211',g phide"> > isPubv ihed:1,g phide"> > is="mafa; ,g phide"> > =122:2,g phide"> > mo="pyTlan:0,g phide"> > > erylefte:'spl3.com/blog/static/186308096201211',g phide"> > "$_spaiRecom:0,g phide"> > -163C"$_spaRecom:0,g phide"> > ikeIcons Recom:0,g phide"> > bsrk:- he,g phide"> > ubv iherId:0,g phide"> > ikeIcBpl3Hoan:fa; ,g phide"> > currameid="$Bpl3:fa; ,g phide"> > attach_spasF.coIds:[],g phide"> > vote:{},g phide"> > group$_bl:{},g phide"> > .163.cotatus:'le: ',g phide"> > fr="ow > > lay:torProvince:'',g phide"> > lay:tord="y:'',g phide"> > lay:tor'CoUal,:fa; ,g phide"> > ct=qAdd$_bl:{},g phide"> > mseb:'t: ',g phide"> > mf-m:'',g phide"> > srk:- he,g phide"> > remrorgoodn; fospl3:fa; ,g phide"> > isB colVay:tor:fa; ,g phide"> > isd="$Ydiv Ad:fa; ,g phide"> > va.sInewo:'

在这里是面向程序员的高品质IT技术学习社区,是程序员学习成长的地方。让我们更好地用技术改变世界。请关注新浪微博号: IT国子监(http://weibo.com/itgu',g phide"> > hmf-m:'1',g phide"> > ftefid="$Bpl3Recom:' ',g phide"> >

'g phide"> > x'; 异rNhid}g phide" al> 推p; | {'; if x.mheiF" n=='iphe: 'x'; > 推p; | {'; if x.mheiF" n=='a 推p; | {'; if x.mheiF" n=='monon 'x'; > 推p; | {"tx'; ${fn(x.lay:torNick"hid,8)|escape}g phide" ; | > {"tx'; {緇istx'; 异rNhid}m/p yodaoad" cas="zis lisoe: fiedden" src ==_240x275.f6eig ==o${fn1(a.>异rNhid)}"g. ; |< d="post" target=yodaoadplefya cl "adlink" hrefspl3tp://blog${a.>异rNhid}m/p${fn(a.v cl"hid,8)|escape} ; |< >&n"hotareaifreadple015${a.ftefInewo|escape}{if g idt260}${sun c_spa}{"txe> 5px; &n"hotareambga0-4zoom:1;"> 
&nkg phid{"tx'; ${fn(x.ikeIcons 靣N cl"hid,6)|escape}g phide" 5p ; |&nkg phid5p ; kg phide"{"tx'; {緇istx'; 5p ; kg phid{if !!b&&b.length>0x'; p39ova.l < &lg phide" >&n"hotareaosps_bl n cla/p 0 12px;">推p; kg phide"5p >&n"hotareaosr n cla/p 0 12px;">推p; kg phide" >异rNhid}/${x.ht ylefte}/?ikeIcons Bpl3i_lofter2${x.oLoft|defa cl:""|escape}"p${x.oLoft|defa cl:""|escape} ;&n >异rNhid}/${x.ht ylefte}/?ht sonalR="$_Bpl3i_lofter2${x.oLoft|defa cl:""|escape}"p${x.oLoft|defa cl:""|escape} ;&n >历--kg pheize:" id="hiddedkbdc0 rd-md"tht-1wi1g phid4}{b idk}{"txg phide"{if !!xx'; i&gyodaoadss_bl"pleft g phide" 异rNhid}/${x.ht ylefte|defa cl:""}" toLoft转载 >推g phide" >&n"hotarean classs_bl/p ova.l a cl &nbsg phide" >&n"hotarean classss_bl/p ova.l a cl "adlink" hrefl=http://iteye.blog${spl3Dlog&c.nze:Bpl3Perylefte}m/p${spl3Dlog&c.nze:Bpl3Tofte|escape} ;&n & kg phide{"tx'; &n"hotarea" cIiResn classv clfcass=clf wi1g phid 异rNhid}g phide" al> < ; kg phid{"tx'; {緇istx'; &n"hotareattlnbw-act6#dw fc03 bdwb8-4c0 b新闻 ; kg phid >&n"hotareaiv s2 bdkg phide" 推g ova.l i_blogT ova.l imgdescs_bl/p${h"$_ght:s.oLoft|escape}/綿">推/綿">推g ;&ng u"kg {if defht:d('iv slist')&&iv slist.length>0x'; {v id iv slist as xx'; 5p {if x_rorex>7}{b idk}{"txg i&gyodaoadss_bl/p t_blank" hidefoc d="post" target=b_blan${x.>eG_3w|escape}dsyodaoad推${x.oLoft|escape} ;&n >&n"hotareadown.Runclaiv sing &n"hotareaui_bl nbw-blo &n"hotareaamp;=更多t;<&lm2a">>  brg. brg.g phid >&n" ide" id="editopbar" style="display:none;_ ; kg ph >&n"
&n.g phid >&n" spl3Pubv cAccpaniRe/>&n.g ph&n"hotarea &n"hotareawt#ds2s="zielateblc0 rdide" id=2ig < " style="_zoom:1;"> >&n"hotareaass= bdwt#ds2s="zidkg phide" >&n"hotareacas;=&n.g phid >&n"ova.l ass="cnt c/>&n.g phid/>&n.g ph&n"hotareaclos;=推g />&n.g >&n"hotareaass= lateblo/>&n.g /ize:" ide"a #--博主发起的投票--kg pheize:" id="hiddethtss="ph-md"txb-3ckg phid{v id a as xx'; {if !!xx'; 异rNhid}/sod="post" target=ova.l a c"pleft ${x.v clNhid|escape} ;&nzoom:1zoom:1投票给g phide" {vbw-air=qbopcom. = trud;x'; {v id x.loteDlog&cL id as loteToOpcom.x'; {if loteToOpcom.==1}g phide" {if air=qbopcom.==fa; },{"txzoom:1zoom:1“${s[loteToOpcom._rorex]}”zoom:1zoom:1g phide" {"tx'; {緇istx'; {if (x.role!="-01) },“我是${c[x.role]}”zoom:1zoom:1{"tx'; zoom:1zoom:1zoom:1zoom:1 ova.l 转载 {if x.>异rNhid==''}{"txg phid{"tx'; {緇istx'; /ize:" ide"a/>&n.g >