江湖救急!!! java.lang.NoClassDefFoundError: com/google/common/cache/CacheLoader [问题点数:100分,结帖人u011448013]

Bbs1
本版专家分:0
结帖率 66.67%
Bbs3
本版专家分:602
Bbs8
本版专家分:36495
Blank
进士 2017年 总版技术专家分年内排行榜第九
Blank
红花 2017年11月 Java大版内专家分月排行榜第一
2017年10月 Java大版内专家分月排行榜第一
2017年9月 Java大版内专家分月排行榜第一
2017年8月 Java大版内专家分月排行榜第一
2017年7月 Java大版内专家分月排行榜第一
2017年6月 Java大版内专家分月排行榜第一
2017年5月 Java大版内专家分月排行榜第一
2017年4月 Java大版内专家分月排行榜第一
2017年3月 Java大版内专家分月排行榜第一
2017年2月 Java大版内专家分月排行榜第一
Blank
蓝花 2017年12月 Java大版内专家分月排行榜第三
com.google.common.cache.CacheLoader 本地緩存的使用方法
package <em>com</em>.taobao.ju.my.<em>com</em>mon.biz.manager.impl; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; im
使用com.google.common.cache.Cache缓存
import <em>com</em>.<em>google</em>.<em>com</em>mon.<em>cache</em>.Cache; import <em>com</em>.<em>google</em>.<em>com</em>mon.<em>cache</em>.CacheBuilder; import java.util.concurrent.TimeUnit; //如果要公用,需要写在方法外 Cache <em>cache</em>g = CacheBuilder.newBuilder().expireAfterWrite(30, Ti
com.google.common.cache.CacheLoader原因分析
问题描述         今天在使用guava <em>cache</em>的时候,报了如下错误:     <em>com</em>.<em>google</em>.<em>com</em>mon.<em>cache</em>.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key 50816009. at <em>com</em>.<em>google</em>.<em>com</em>mon.<em>cache</em>.LocalC...
java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException
严重: Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: <em>com</em>/ibatis/<em>com</em>mon/xml/NodeletExceptionrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)rn at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:354)rn at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)rn at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)rn at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)rn at javax.servlet.GenericServlet.init(GenericServlet.java:211)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:540)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)rnCaused by: java.lang.NoClassDefFoundError: <em>com</em>/ibatis/<em>com</em>mon/xml/NodeletExceptionrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)rn at java.lang.Class.getConstructor0(Class.java:2640)rn at java.lang.Class.getDeclaredConstructor(Class.java:1953)rn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)rn ... 45 morernrnrnrn这个原本是我在MyEclipse上的项目的错误(昨天),但是我用intellij idea运行其他的项目时,也报这个;但是奇怪的是同事在他本机上运行缺什么问题都没有,很正常在网上查了,也没见说出个所以然的,请教下CSDN的各位大侠!
java.lang.NoClassDefFoundError: com/google/gwt/dev/GWTShell
使用eclipse搭建gwt,按照步骤出现这样的错误rnjava.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/gwt/dev/GWTShellrnCaused by: java.lang.ClassNotFoundException: <em>com</em>.<em>google</em>.gwt.dev.GWTShellrn at java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188rn at java.lang.ClassLoader.loadClass(ClassLoader.java:307)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rnException in thread "main" rnrneclipse 用的是3.6的
CCache(Common Cache)
c<em>cache</em>(<em>com</em>mon <em>cache</em>)是一个使用共享内存实现的<em>cache</em>静态库,在节点数据不足时采用LRU算法进行节点的淘汰. 与mem<em>cache</em>的区别在于,首先mem<em>cache</em>是一个完整的server程序,不仅有<em>cache</em>的处理操作,还需要监听及处理客户端的操作请求,而c<em>cache</em>只是一个静态库,只关心<em>cache</em>的处理操作;其次,mem<em>cache</em>采用了内存去管理数据,程序一旦停止,其中的数据全部丢失,而c<em>cache</em>采用了mmap的方式去管理数据,也就是每个<em>cache</em>都用一个与之对应的文件,一定程度上保证了数据不至于在程序停止的时候丢失;第三,mem<em>cache</em>实现了对不定长key和data的支持,而<em>cache</em>目前只支持定长的key和data,也就是同一个<em>cache</em>只能管理一个类型的key和data.
java.lang.NoClassDefFoundError: Lorg/hibernate/cache/CacheProvider
NULL 博文链接:https://chinrui.iteye.<em>com</em>/blog/1859820
google common jar包
import <em>com</em>.<em>google</em>.<em>com</em>mon.base.Preconditions 编译Setting 或SystemUI会用到。
guava cache使用例子
guava <em>cache</em>使用例子
Java版本的Selenium运行时出现错误(java.lang.NoClassDefFoundError: com/google/common/base/Function)
起初发现这个错误,我先把图1圈红的部分去掉。发现可以正常执行。 图1 然后我发现还是不正确,后来发现在导入jar包的时候没有导入图2中圈红文件,即lib中的jar包。 图2 导出jar的时候,需要导入selenium-java-2.45.0.jar、selenium-java-2.45.0-srcs.jar和libs下的所有jar包。
[已解决]java.lang.NoClassDefFoundError: com/google/common/base/Function
为了解决inject的报错,pom已经被我改乱了,结果最后即便改过来,项目编译报了以上错误。 据说是缺少一个jar包,我用的是selenium-2.46.0 所以需要下载对应版本:selenium-server-standalone-2.46.0.jar ...
google common jar包1.0
import <em>com</em>.<em>google</em>.<em>com</em>mon.base.Preconditions 编译Setting 或SystemUI会用到。
google cache源码详解
一、引子 缓存有很多种解决方案,常见的是: 1.存储在内存中 : 内存缓存顾名思义直接存储在JVM内存中,JVM宕机那么内存丢失,读写速度快,但受内存大小的限制,且有丢失数据风险。 2.存储在磁盘中: 即从内存落地并序列化写入磁盘的缓存,持久化在磁盘,读写需要IO效率低,但是安全。 3.内存+磁盘组合方式:这种组合模式有很多成熟缓存组件,也是高效且安全的策略,比如redis。 本文分析常...
java.lang.NoClassDefFoundError: com/jspsmart/upload/SmartUploadException
小弟在用[color=#800000]Smartupload[/color]上传图片时出现了这个问题,我的上传代码是在[color=#800000]servlet层[/color]操作的,我的想法是想将图片上传到指定的文件夹,然后将路径存入数据库。希望各位大虾可以帮助小弟,小弟现在在做实训项目,所以很急,在此小弟拜求了rnrnrntype Exception reportrnrnmessagernrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexceptionrnrnjavax.servlet.ServletException: Error instantiating servlet class <em>com</em>.OlineBookStores.servlet.BookActionrn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)rn org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)rn org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)rn java.lang.Thread.run(Unknown Source)rnrnroot causernrnjava.lang.NoClassDefFoundError: <em>com</em>/jspsmart/upload/SmartUploadExceptionrn java.lang.Class.getDeclaredConstructors0(Native Method)rn java.lang.Class.privateGetDeclaredConstructors(Unknown Source)rn java.lang.Class.getConstructor0(Unknown Source)rn java.lang.Class.newInstance0(Unknown Source)rn java.lang.Class.newInstance(Unknown Source)rn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)rn org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)rn org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)rn java.lang.Thread.run(Unknown Source)rnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.rnrnrn[color=#800000]我的上传代码是[/color]rnrnrn//图书封面rn rn SmartUpload su=new SmartUpload();rn final int MAXFILESIZE=100000; //上传文件大小限制rn String errMsg=null; //错误信息rn boolean err=false; //错误标志rn String fileName = "";rn String fileType ="";rnrn String url="OlineBookStores/upload/"; //应保证在根目录中有此目录的存在rn su.initialize(this.getServletConfig(),request,response);//初始化rn rn tryrn rn final String upFileType="jpg|JPG|GIF|gif|bmp|BMP"; //上传文件类型rn rn rn// String image=request.getParameter("bookImage");rn su.upload();rn int count = su.getSize();rn if(count>MAXFILESIZE)rn rn out.print (" ");rn rn rn elsern rn <em>com</em>.jspsmart.upload.File myFile = su.getFiles().getFile(0);rn rn if (!myFile.isMissing()) rn String myFileName=myFile.getFileName();//得到文件名 rn rn fileType=myFile.getFileExt();//得到文件扩展名rn fileType=fileType.toLowerCase(); //将扩展名转换成小写rn if (upFileType.indexOf(fileType)==-1)rn err=true;rn errMsg="文件"+myFileName+"上传失败!只允许上传以下格式的文件:"+upFileType;rn rn rn if(err==false)rn rn Calendar calendar = Calendar.getInstance();rn String filename = String.valueOf(calendar.getTimeInMillis());rn String saveurl=request.getRequestDispatcher("/")+url;rn saveurl+=filename+"."+fileType; //保存路径rn myFile.saveAs(saveurl,su.SAVE_PHYSICAL);rn// getBookInfor.setBookImages(saveurl);rn rn rnrnrn rn catch(SmartUploadException e)rn rn System.out.println(e);rnrn
Exception in thread “main” java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
问题原因,缺少 hadoop 提供的相关 jar 包,也即 guava-版本号.jar。 此 jar 包的位置,在 hadoop 目录下的/share/hadoop/tools/lib.参考: 1. Exception in thread “main” java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/<em>com</em>mon/base/Preconditions
怎么解决java.lang.NoClassDefFoundError错误
前言在日常Java开发中,我们经常碰到java.lang.NoClassDefFoundError这样的错误,需要花费很多时间去找错误的原因,具体是哪个类不见了?类明明还在,为什么找不到?而且我们很容易把java.lang.NoClassDefFoundError和java.lang.ClassNotfoundException这两个错误搞混,事实上这两个错误是完全不同的。我们往往花费时间去不断尝试
java.lang.NoClassDefFoundError: com/google/common/reflect/Invokable
用 jcloud openstack sdk 报错:java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/<em>com</em>mon/reflect/Invokable 解决办法导入guava-libraries  jar包    guava-18.0.jar
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists
代码在编译的时候有时候会遇到Caused by: java.lang.ClassNotFoundException 如果在查阅完代码,发明没问题的时候,那么,有一种可能是你的此依赖包并没有下载完整。 举个场景来说,你在网络不好的时候,去编译打包,在去中央仓库拉依赖包<em>com</em>.<em>google</em>.<em>com</em>mon.*的时候,中途可能网络中断。之后,你再想重新编译打包, 但是你的本地maven库中已经有了此
java.lang.ClassNotFoundException: com.google.common.base.MoreObjects
前几天搞一个SpringCloud,配置swagger,用swagger2.7.0无法成功启动项目,一直报java.lang.ClassNotFoundException: <em>com</em>.<em>google</em>.<em>com</em>mon.base.MoreObjects,快被搞疯了。最后在网上搜到一篇文章,解决了。(我这找不到guava-r09.jar,只有guava-19.0.jar,按照博主的方法放到jre/lib/ex...
java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
晚上在做个buil.xml自动生成wsdl文件rn但是在创建代码的时候报错:[color=#FF00FF]java.lang.NoClassDefFoundError: <em>com</em>/sun/codemodel/JCodeModel[/color]请问是不是少了那个包啊!~rnrnrnrn下面是我的build.xml代码:rn[code=XML]rnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn 编译程序代码rn rn rn rn rn rn rn rn 创建代码rn rn rn rnrnrn[/code]
java.lang.NoClassDefFoundError: com/mycompany/util/DateBefore
Exception in thread "Thread-68" java.lang.NoClassDefFoundError: <em>com</em>/my<em>com</em>pany/util/DateBeforern at <em>com</em>.my<em>com</em>pany.model.coupon.CouponUtils.updateBirthStatus(CouponUtils.java:132)rn at <em>com</em>.my<em>com</em>pany.model.phonemessage.MessageUtils.run(MessageUtils.java:27)rnrn在本地测试一直都好着,一传到服务器上就出问题了
Google Common Lisp Style Guide.pdf
Google Common Lisp Style Guide.pdf
OPC Common Questions - COM ErrorCodes
OPC Common Questions COM/DCOM Error Codes
江湖救急江湖救急江湖救急江湖救急江湖救急江湖救急江湖救急江湖救急江湖救急江湖救急~!
VB中的控件都有工具提示文本也就是tooltiptext属性rn现在小弟有个事需要做的就是rn当我的鼠标在窗体中停顿的时候rn就也弹出一个和tooltiptext属性一样的工具提示文本rn好象用API做可以rn条件:1是窗体上不能有任何的控件rnrn 2是弹出的工具提示文本不能占用鼠标的焦点rn 也就是弹出文本后焦点仍然在窗体上面rn小弟先在这谢谢了~!rnE-main:mengzi_126.<em>com</em>
java.lang.ClassNotFoundException: com.google.common.primitives.Ints
Exception in thread "main" java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/<em>com</em>mon/primitives/Ints at org.apache.hive.service.cli.Column.(Column.java:149) at org.apache.hive.service.cli.ColumnBasedSet.(Co
strom和kafka整合报java.lang.ClassNotFoundException: com.google.common.base.Strings异常
启动时出现下面的异常java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/<em>com</em>mon/base/Strings at org.apache.storm.kafka.KafkaSpout.declareOutputFields(KafkaSpout.java:206) ~[storm-kafka-1.1.0.jar:1.1.0] at org.apac
使用Google Guava实现定时缓存功能
一:加入maven依赖 <em>com</em>.<em>google</em>.guava guava 19.0 二:使用缓存 方法一: package <em>com</em>.test.guava; import java.util.concurrent.TimeUnit; import <em>com</em>.<em>google</em>.<em>com</em>mon.<em>cache</em>.Cache; import <em>com</em>.<em>google</em>.<em>com</em>mon.<em>cache</em>.CacheB
Caused by: java.lang.NoClassDefFoundError: com/google/common/base/Function
problem::Caused by: java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/<em>com</em>mon/base/Function  solution:add <em>google</em>-collections.jar. download:<em>google</em>-collections.jar
SpringBoot支持JSP访问,启动报错java.lang.NoClassDefFoundError: javax/servlet/ServletContext
SpringBoot支持JSP简介 前言: 这篇文章中, 我们将使用IntelliJ IDEA开发一个带有Spring Boot所提供的内嵌tomcat的Spring MVC 应用程序示例。 示例源码是官网下载下来。记录一下所踩过的坑。有什么疑问可以在评论区提问,谢谢。   环境: JDK1.8 IntelliJ IDEA/Eclipse Maven Spring Boot 1.5...
江湖救急com读些问题
各位,小弟编写的读取<em>com</em>的函数,在初始化的时候偶尔会有小恙,总是不很稳定,我运行的是win200系统,源代码如下,请帮忙指点一二,小弟不胜感激!rn//读取POS函数,返回26位的字符串为有效rnfunction ReadComm: String;rnvarrn Len,number:Cardinal;rn buff :Array[1..80] of char;rn id : THandle;rn dcb : TDCB;rn ct : TCOMMTIMEOUTS;rn osReader : OVERLAPPED;rn i : Integer;rn tempchar : char;rnbeginrn Len := 1;rn number := 0;rn tempchar := '1';rn buff[1] := '1';rn For i := 2 to 80 dorn beginrn buff[i] := ' ';rn end;rn id := CreateFile('COM1',GENERIC_READ or GENERIC_WRITE,0,NIL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,0);rn if id = null thenrn beginrn Result := '创建或打开COM1出错';rn endrn elsern beginrn SetupComm(id,128,512);rn PurgeComm(id,PURGE_TXCLEAR or PURGE_RXCLEAR);rn if(Not(GetCommState(id,dcb))) then//在这个地方,有时就不正常rn beginrn CloseHandle(id);rn Result := '绑定COM1出错';rn endrn elsern beginrn dcb.BaudRate := CBR_19200;rn dcb.ByteSize := 8;rn dcb.Parity := NOPARITY;rn dcb.StopBits := ONESTOPBIT;rn if(Not(SetCommState(id,dcb))) thenrn beginrn CloseHandle(id);rn Result := '初始化设置出错';rn endrn elsern beginrn //设置超时值rn ct.ReadIntervalTimeout := MAXDWORD;rn ct.ReadTotalTimeoutConstant := 500;rn ct.ReadTotalTimeoutMultiplier := 0;rn ct.WriteTotalTimeoutConstant := 0;rn ct.WriteTotalTimeoutMultiplier := 0;rn if(Not(SetCommTimeouts(id,ct))) thenrn beginrn CloseHandle(id);rn Result := '设置超时值出错';rn endrn elsern beginrn if (not WriteFile(id,tempchar,1,Len,Nil)) thenrn beginrn CloseHandle(id);rn Result := 'COM1写出错';rn endrn elsern beginrn while ( Length(Trim(buff))60) thenrn beginrn break;rn end;rn end;rn CloseHandle(id);rn if(number>60) thenrn beginrn Result := '刷卡超时出错';rn endrn elsern beginrn Result := Copy(buff,1,26);rn end;rn end;rn end;rn end;rn end;rn end;rnend;rn
Google Earth COM API
最近,在做Google Earth开发,现需要COM API文档,搜到的网站连接都是三年前给出的,均已失效,下不到,不知以前下载到本地的好心人,能传份我,万分感谢!!!996858153@qq.<em>com</em>
java.lang.NoClassDefFoundError: com/opensymphony/xwork/config/ConfigurationExcep
缺包,我已添加了xwoke.2.2.1.1找到了.<em>com</em>/opensymphony/[[color=#FF0000]u]xwork2[/u]/[/color]config/ConfigurationExceptionrn总是报java.lang.NoClassDefFoundError: <em>com</em>/opensymphony/[color=#FF0000]xwork/[/color]config/ConfigurationException 异常rn java.lang.NoClassDefFoundError: <em>com</em>/opensymphony/xwork/config/ConfigurationExceptionrn at <em>com</em>.opensymphony.webwork.dispatcher.ServletDispatcher.init(ServletDispatcher.java:74)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.ClassNotFoundException: <em>com</em>.opensymphony.xwork.config.ConfigurationExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 27 morern
java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
java.lang.NoClassDefFoundError: <em>com</em>/sun/activation/registries/LogSupport异常处理
Caused by: java.lang.NoClassDefFoundError: com/opensymphony/xwork2/spring/Spring
Unable to load configuration. - bean - jar:file:/D:/SSH%e6%a1%86%e6%9e%b6%e5%8c%85/lib/struts2-spring-plugin-2.2.1.jar!/struts-plugin.xml:29:132rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:428)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: Unable to load configuration. - bean - jar:file:/D:/SSH%e6%a1%86%e6%9e%b6%e5%8c%85/lib/struts2-spring-plugin-2.2.1.jar!/struts-plugin.xml:29:132rn at <em>com</em>.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn ... 16 morernCaused by: Unable to load bean: type:<em>com</em>.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/D:/SSH%e6%a1%86%e6%9e%b6%e5%8c%85/lib/struts2-spring-plugin-2.2.1.jar!/struts-plugin.xml:29:132rn at <em>com</em>.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at <em>com</em>.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at <em>com</em>.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 18 morernCaused by: java.lang.NoClassDefFoundError: <em>com</em>/opensymphony/xwork2/spring/SpringObjectFactoryrn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:800)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)rn at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)rn at java.net.URLClassLoader.access$100(URLClassLoader.java:71)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:361)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:355)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:354)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:425)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at <em>com</em>.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:149)rn at <em>com</em>.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:203)rn ... 21 morernCaused by: java.lang.ClassNotFoundException: <em>com</em>.opensymphony.xwork2.spring.SpringObjectFactoryrn at java.net.URLClassLoader$1.run(URLClassLoader.java:366)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:355)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:354)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:425)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:358)rn ... 37 more
java.lang.NoClassDefFoundError: com/google/protobuf/ProtocolMessageEnum的解决办法
一  在工程中,使用protobuf时候出现了如下:Error Message: java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/protobuf/ProtocolMessageEnum........二  出现的原因:缺少protobuf-jar包。  解决的办法是下载相应的protobuf的jar然后导入工程中。1, 下载protobuf-java.jar...
hadoop 常用缺少包错误
package wc; import java.io.IOException; import java.util.StringTokenizer; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritabl
com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: com/yammer/metrics/core/Gauge
用spark 向Hbase 表中添加数据时报错 报错内容: 17/07/20 18:23:36 INFO client.RpcRetryingCaller: Call exception, tries=11, retries=35, started=50817 ms ago, cancelled=false, msg=<em>com</em>.<em>google</em>.protobuf.ServiceExcepti
java.lang.ClassNotFoundException: com.google.gson.Gson”
今天在使用Gson 2.0的库时出现了这个错误,但在eclipse中并没有报这个错误。搜索了下,是因为没将gson-2.0.jar放到WEB-INF/lib目录下。将其拖入WEB-INF/lib,问题果然解决了。 但我对此有些疑惑,为什么将gson-2.0.jar放到build path中没用,放到WEB-INF/lib下就行了呢?这可能与Tomcat的内部机制有关系吧。另外我也是过分相信了ec...
hadoop+hbase导致报错(NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration)
Exception in thread "main" java.io.IOException: Error opening job jar: ./ADReport2Hbase_0309.jar         at org.apache.hadoop.util.RunJar.main(RunJar.java:90) Caused by: java.util.zip.ZipException:
java.lang.NoClassDefFoundError: com/sun/faces/spi/InjectionPro异常
信息: Reloading context [/ZHFServer]rn2013-12-25 1:35:04 org.apache.catalina.core.StandardContext listenerStoprn严重: Exception sending context destroyed event to listener instance of class <em>com</em>.sun.faces.application.WebappLifecycleListenerrnjava.lang.NoClassDefFoundError: <em>com</em>/sun/faces/spi/InjectionProviderExceptionrn at <em>com</em>.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:224)rn at <em>com</em>.sun.faces.application.WebappLifecycleListener.contextDestroyed(WebappLifecycleListener.java:275)rn at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)rn at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1108)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:662)rnCaused by: java.lang.ClassNotFoundException: <em>com</em>.sun.faces.spi.InjectionProviderExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn ... 13 morern2013-12-25 1:35:04 org.apache.catalina.core.StandardContext listenerStoprn严重: Exception sending context destroyed event to listener instance of class <em>com</em>.sun.faces.config.ConfigureListenerrnjava.lang.NoClassDefFoundError: <em>com</em>/sun/faces/config/ConfigureListener$ServletContextAdapterrn at <em>com</em>.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:489)rn at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)rn at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1108)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:662)rnCaused by: java.lang.ClassNotFoundException: <em>com</em>.sun.faces.config.ConfigureListener$ServletContextAdapterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn ... 12 morern2013-12-25 1:35:25 org.apache.catalina.startup.HostConfig checkResources
java.lang.NoClassDefFoundError: com/sun/crypto/provider/SunJCE
在rcp中,用java的加密报java.lang.NoClassDefFoundError: <em>com</em>/sun/crypto/provider/SunJCE,不知道怎么回事,望各位指教啊
java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream解决方法
包含3个jar(修改后的javaee.jar可以接覆盖原jar,和mail.jar和activition.jar)和一个文档,测试通过。 JavaMail的java.lang.NoClassDefFoundError: <em>com</em>/sun/mail/util/LineInputStream错误 原因: MyEclipse6.5的javaee.jar中的mail包与JavaMail包有冲突。 解决: 在MyEclipse目录下(D:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\<em>com</em>.genuitec.eclipse.j2eedt.core_6.5.0.zmyeclipse650200806\data\libraryset\EE_5),找javaee.jar包,用WinRar打开,删除里面的mail目录和activation目录,然后覆盖原jar,最后在工程中加入mail.jar和activition.jar。
java.lang.NoClassDefFoundError: com/hd123/rumba/ejb/rt/AsManager
小弟在启动JBOSS的时候发现如下错误:rn望大虾们指教rnjava.lang.NoClassDefFoundError: <em>com</em>/hd123/rumba/ejb/rt/AsManagerrn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:620)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)rn at java.net.URLClassLoader.access$100(URLClassLoader.java:56)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:195)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:682)rn at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:662)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:306)rn at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)rn at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)rn at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)rn at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)rn at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:251)rn at org.jboss.ejb3.Ejb3AnnotationHandler.populateBaseInfo(Ejb3AnnotationHandler.java:293)rn at org.jboss.ejb3.Ejb3DescriptorHandler.populateBaseInfo(Ejb3DescriptorHandler.java:215)rn at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:138)rn at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:486)rn at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:442)rn at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:423)rn at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:384)rn at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:327)rn at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77)rn at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)rn at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)rn at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)rn at $Proxy0.create(Unknown Source)rn at org.jboss.system.ServiceController.create(ServiceController.java:330)rn at org.jboss.system.ServiceController.create(ServiceController.java:273)rn at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)rn at $Proxy33.create(Unknown Source)rn at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:492)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)rn at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)rn at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)rn at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76)rn at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.creat
java.lang.NoClassDefFoundError
java.lang.NoClassDefFoundError这个异常是什么意思rnrn我的程序里,明明都可以 new到那个classrnrn但是Class.forName()的时候就会报出这样的异常rnrn说明我出错的这个类是放在jar包里的rn我测试了一个自己写的类使用Class.forName()可以调到。
java protobuf运行错误解决(java.lang.ClassNotFoundException: com.google.protobuf.MessageOrBuilder)
错误含义: 如字面意思,这个错误就是java 的类加载器 ClassLoader 找不到 <em>com</em>.<em>google</em>.protobuf.MessageOrBuilder! 错误出现背景: 1.使用protobuff  protoc.exe 及 protobuf-java-3.2.0-jar生成了一个message的java类 2.将该message类与其他java文件导出打包成jar文件以提
nested exception is java.lang.UnsupportedClassVersionError: com/google/common/util/concurrent/MoreEx
guava jdk1.7 使用guava 20.0
com.google.common guava 18.0 JAR包
Guava工程包含了若干被Google的 Java项目广泛依赖 的核心库,例如:集合 、缓存 、原生类型支持 、并发库 、通用注解 、字符串处理 、I/O 等等。guava API 提供了有用的新的集
在eclipse上执行Nutch报错com.google.common.util.concurrent.ThreadFactoryBuilder
在eclipse上执行Nutch报错: Error: java.lang.ClassNotFoundException: <em>com</em>.<em>google</em>.<em>com</em>mon.util.concurrent.ThreadFactoryBuilder
Maven clean 出现如下报错
-
import com.google.common.* 出错,找不到
问题:在打开NFCDemo时,import <em>com</em>.<em>google</em>.<em>com</em>mon.base.Charsets;import <em>com</em>.<em>google</em>.<em>com</em>mon.base.Preconditions;import <em>com</em>.<em>google</em>.<em>com</em>mon.collect.Immutable
使用Guava报错NoSuchMethodError的解决方法
在使用Guava缓存的时候,系统报错: java.lang.NoSuchMethodError: <em>com</em>.<em>google</em>.<em>com</em>mon.base.Objects.firstNonNull 错误原因就是找不到方法,我使用的是17.0版本的Guava,Google上找到解决办法。 参考网址:http://noobjuggler.blogspot.<em>com</em>/2013/01/javalangn
java.lang.NoClassDefFoundError: org/apache/commons/collections4/ListValuedMap
1、错误描述Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/<em>com</em>mons/collections4/ListValuedMap at <em>com</em>.you.print.ExcelUtils.replaceModel(ExcelUtils.java:21) at <em>com</em>.you.print.TestRepla
使用POI导入导出excel时发生的异常:java.lang.NoClassDefFoundError: org/apache/commons/collections4/ListValuedMap
公司项目中需要导入导出excel,由于自身之前没有接触过,现特学习,在配置过程中出现了java.lang.NoClassDefFoundError: org/apache/<em>com</em>mons/collections4/ListValuedMap错误原因,是缺少有关collections4的jar我下载的版本是poi 3.17 在 lib目录中 可找到<em>com</em>mons-collections4-4.1.j...
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap 解决方法
出现这样的错误浪费了我很多的时间。但高兴的是,我遭到问题的根源所在了。也许你们也会遇到这样的问题。         其实也是很简单,我也发现,有些问题虽然简单,但因为不知道,结果还是不知道,这时就需要自己花点时间在这方面进行查找进行修改。理论固然重要,但是实践也是不容忽视的。
ssh2环境搭建错误提示java.lang.NoClassDefFoundError: org/apache/commons/collections/map/L
但是我有但是我发现LRUMap类的路径是org/apache/<em>com</em>mons/collections/LRUMap 这是怎么回事啊.
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/MultiKeyMap
我在下载Json相关的jar后,结合tomcat服务器运行一直报这个异常找不到相关的类,我又从网上下载了好几个版本,都是无法解决,还是一样报同样异常。当时没有想到tomcat的lib目录下已经有一个<em>com</em>mons-collections4-4.1.jar更高的版本包了。而我工程里libs目录又是另一个版本的<em>com</em>mons-collections.jar包导致两个版本不同。tomcat运行时就会去c
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
Caused by: java.lang.NoClassDefFoundError: org/apache/<em>com</em>mons/collections/map/LRUMap at org.hibernate.util.SimpleMRUCache.init(SimpleMRUCache.java:71) at org.hibernate.util.SimpleMRUCache.(SimpleMRU
java异常 java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
这个异常有点特殊,正常我们使用<em>com</em>mons-collections-2.x.x.jar会出现问题,需要引用高版本的jar包<em>com</em>mons-collections-3.2.1.jar <em>com</em>mons-collections为Java标准的Collections API提供了相当好的补充。在此基础上对其常用的数据结构操作进行了很好的封装、抽象和补充。保证性能的同时大大简化代码。 
升级hbase-client报错 java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap
Caused by: java.lang.NoClassDefFoundError: org/apache/<em>com</em>mons/collections/map/UnmodifiableMap at org.apache.hadoop.conf.Configuration$DeprecationContext.(Configuration.java:409) at org.apache.hadoop.conf.Configuration.(Configuration.java:44
java.lang.NoClassDefFoundError:
严重: Servlet.service() for servlet BackGroundService threw exceptionrnjava.lang.NoClassDefFoundError: org/apache/<em>com</em>mons/io/output/DeferredFileOutputStreamrn at org.apache.<em>com</em>mons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:191)rn at org.apache.<em>com</em>mons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:350)rn at org.apache.<em>com</em>mons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)rn at liuzuochen.sample.upload.BackGroundService.processFileUpload(BackGroundService.java:130)rn at liuzuochen.sample.upload.BackGroundService.doPost(BackGroundService.java:202)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)rn at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)rn at java.lang.Thread.run(Thread.java:619)rn请高手帮忙!!!!!rn
j2ee启动问题:Exception in thread "main" java.lang.NoClassDefFoundError: Files\Common
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Commonrnrn如果从开始菜单下启动,一点问题也没有,但是手动就不行,不只j2ee启动不了,其它所有bin/下的东西除了ant之外,全部不能启动。rnrn请高手指点!
如何解决sikuli-ide: java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker
xyh@ubuntu:~$ ls sikuli-ide xyh@ubuntu:~$ sikuli-ide  [info] locale: en_US Exception in thread "main" java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/<em>com</em>mon/collect/MapMaker 解决办法: sudo vim /usr/bin
java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap
参考文章:http://zhidao.baidu.<em>com</em>/link?url=ubYbPI8FJp3mNrxDCLApx5IBRqJnkmMsrw6xBNeCrzr0qq95p4UgGVAs2mCYAD-V5a0gJUHUObRxU_9UlZyslK --------------------------------------------------------------------------
解决storm整合kafka遇到的:java.lang.NoClassDefFoundError: com/google/common/base/Strings
java.lang.NoClassDefFoundError: <em>com</em>/<em>google</em>/<em>com</em>mon/base/Strings 造成该错误的原因是没有加入guava的dependency,guava.jar封装了<em>com</em>.<em>google</em>.<em>com</em>mon.base.Strings.class 因此我们只需在pom文件中加入一下依赖即可(其中guava.jar版本可以参考storm-starter中的gu
java.lang.NoClassDefFoundError:com/google/common/base/Moreobjects
项目所属环境不同,解决方案不一定适合所有人,见谅!!! java.lang.NoClassDefFoundError:<em>com</em>/<em>google</em>/<em>com</em>mon/base/Moreobjects 编译可以通过,运行报错。很无奈,突然蹦出这鬼东西,经过一番猜想再结合项目环境(JDK1.6 + maven3.1.1)严重怀疑版本太低没有自动依赖相关jar,因为代码中确实没涉及到<em>google</em>的代码,搜了...
com/google/common/base/Function问题解决">Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function问题解决
场景: ## java eclipse 调用问题 .java+eclipse+selenium3; . 脚本: > package LoginScript; import org.openqa.selenium.*; import org.openqa.selenium.ie.*; public class LoginOms { public static void main(St
nested exception is java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects
先说明下我的项目框架:我是用jeecg的框架做的Oa项目,里面有定时器的配置,我新建了一个Grpc的maven项目,用主项目调用这个maven项目进行定时,报错如下:org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'pushData' on target c...
【Q&A】tomcat启动报错org/jersey/com/google/common/base/Function
6.tomcat启动不成功,提示缺少 java.lang.NoClassDefFoundError: org/jersey/<em>com</em>/<em>google</em>/<em>com</em>mon/base/Function 则在ivy中添加*"/> 若仍启动不成功,到ivy中,然后在tomcat设置中删除deployment-exploded,重新添加,即可
错误java.lang.ClassNotFoundException: com.google.common.collect.ImmutableMap,巨坑
又碰到了坑。。。折腾了两三个小时,发现Maven有时候还真的是坑。 今天打算玩一玩hystrix。添加了POM依赖以后,启动程序,发现报错: java.lang.ClassNotFoundException: <em>com</em>.<em>google</em>.<em>com</em>mon.collect.ImmutableMap 咦?莫名其妙,仔细检查了一下发现是HystrixCommandAspect引用的一个guava包中的一个类...
??java.lang.NoClassDefFoundError
小程序如下:rnrnrnrnimport用到的包我已经放到webapps/ROOT/WEB-INF/lib下了,还是出现以下错误,不知道要怎么办```rnrndescription: The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: org/apache/log4j/Categoryrn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)rn org.apache.jsp.test.jobsub_005f2_jsp._jspService(jobsub_005f2_jsp.java:66)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rnrnrnroot cause rnrnjava.lang.NoClassDefFoundError: org/apache/log4j/Categoryrn org.apache.jsp.test.jobsub_005f2_jsp._jspService(jobsub_005f2_jsp.java:52)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rnrn谢谢各位先^^
ASP.net 2.0三级权限管理下载
ASP.net 2.0三级权限管理,英文版的,有用的可以下下来看看 相关下载链接:[url=//download.csdn.net/download/juiky/2010373?utm_source=bbsseo]//download.csdn.net/download/juiky/2010373?utm_source=bbsseo[/url]
编译原理循环语句语法语义分析下载
循环语句语法语义分析,DO-while语句采用LR分析法进行设计的,其中输出中间代码以四元式的形式输出。详细的分析过程 相关下载链接:[url=//download.csdn.net/download/piao00lingping/4318726?utm_source=bbsseo]//download.csdn.net/download/piao00lingping/4318726?utm_source=bbsseo[/url]
DB Query Analyzer 6.03 on Microsoft Windows 8下载
This essay gives a demonstration of DB Query Analyzer Installation and Running on Microsoft Windows 8. The latest version of DB Query Analyzer is 6.03, which resolves the BUG which is caused by the default setting of short date separator character ‘/’ in Windows OS such as Windows 7, Windows 8 a 相关下载链接:[url=//download.csdn.net/download/magenfeng/8343007?utm_source=bbsseo]//download.csdn.net/download/magenfeng/8343007?utm_source=bbsseo[/url]
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数
我们是很有底线的