Caused by: java.lang.NoClassDefFoundError: org/apache/neethi/AssertionBuilderFactory
转自:https://blog.csdn.net/iteye_8264/article/details/82641058
1、错误描述
- 严重: StandardWrapper.Throwable
- org.apache.cxf.bus.extension.ExtensionException
- at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:167)
- at org.apache.cxf.bus.extension.Extension.getClassObject(Extension.java:179)
- at org.apache.cxf.bus.extension.ExtensionManagerImpl.activateAllByType(ExtensionManagerImpl.java:138)
- at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:131)
- at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:139)
- at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:40)
- at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:36)
- at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:32)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:119)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:95)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:69)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:58)
- at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:78)
- at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:67)
- at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
- at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
- at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
- at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
- at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
- at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: java.lang.NoClassDefFoundError: org/apache/neethi/AssertionBuilderFactory
- at java.lang.ClassLoader.defineClass1(Native Method)
- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
- at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
- at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
- at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
- at java.lang.ClassLoader.defineClass1(Native Method)
- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
- at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
- at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
- at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
- at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:163)
- ... 29 more
- Caused by: java.lang.ClassNotFoundException: org.apache.neethi.AssertionBuilderFactory
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
- ... 44 more
- 九月 20, 2015 6:20:56 下午 org.apache.catalina.core.StandardContext loadOnStartup
- 严重: Servlet /FlashProject threw load() exception
- java.lang.ClassNotFoundException: org.apache.neethi.AssertionBuilderFactory
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
- at java.lang.ClassLoader.defineClass1(Native Method)
- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
- at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
- at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
- at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
- at java.lang.ClassLoader.defineClass1(Native Method)
- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
- at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
- at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
- at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
- at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:163)
- at org.apache.cxf.bus.extension.Extension.getClassObject(Extension.java:179)
- at org.apache.cxf.bus.extension.ExtensionManagerImpl.activateAllByType(ExtensionManagerImpl.java:138)
- at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:131)
- at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:139)
- at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:40)
- at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:36)
- at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:32)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:119)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:95)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:69)
- at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:58)
- at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:78)
- at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:67)
- at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
- at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
- at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
- at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
- at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
- at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
- at java.lang.Thread.run(Thread.java:745)
2、错误原因
由报错的提示可知,缺少有关neethi的jar
3、解决办法
将neethi-5.2.4.jar拷贝到项目中的web/lib目录下
Caused by: java.lang.NoClassDefFoundError: org/apache/neethi/AssertionBuilderFactory的更多相关文章
- SpringBoot Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld/TldParser
最近尝试着用spring boot ,页面模版使用的jsp,在pom里配置了对jsp的支持: <dependency> <groupId>org.apache.tomcat.e ...
- Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig at ...
- Maven项目java.lang.NoClassDefFoundError: Lorg/apache/log4j/Logger报错
本文转载自:http://www.javaweb1024.com/info/894.jspx maven管理的项目,里面已经引入了log4j的包 maven引入如下: <dependency&g ...
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.RequestContext
1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help ...
- 【java web】Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
javaweb报错如下:22:49:22.155 [http-nio-8081-exec-9] ERROR org.apache.struts2.dispatcher.DefaultDispatche ...
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
学习架构探险,从零开始写Java Web框架时,在学习到springAOP时遇到一个异常: "C:\Program Files\Java\jdk1.7.0_40\bin\java" ...
- MyEclipse8.5集成Tomcat7时的启动错误:Exception in thread “main” java.lang.NoClassDefFoundError org/apache/commons/logging/LogFactory
今天,安装Tomcat7.0.21后,单独用D:\apache-tomcat-7.0.21\bin\startup.bat启动web服务正常.但在MyEclipse8.5中集成配置Tomcat7后,在 ...
- java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntim [问题点数:40分,结帖人wangxiaohua_001]
14:56:10.093 WARN!! Error for /butterfly/plugins/zhonghang/UsefulData/save_usefuldata.bshjava.lang.N ...
- 异常:Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.log4jdbc.Properties
参考文章: 使用Log4jdbc-log4j2监听MyBatis中运行的SQL和Connection 使用 log4jdbc格式化输出SQL,maven配置如下: <dependency> ...
随机推荐
- 用JS解决Asp.net Mvc返回JsonResult中DateTime类型数据格式的问题
当用ajax异步时,返回JsonResult格式的时候,发现当字段是dateTime类型时,返回的json格式既然是“/Date(1435542121135)/” 这样子的,当然这不是我们想要的格式. ...
- 关于layui 三级联动 渲染报错解决方法
/** * 时间:2016年11月27日 * 作者:707200833 * 说明:依赖与jQuery和layui, 是基于layui开发的一个省市区联动的小插件, 使用上要基于layui的表单进行使用 ...
- MongoDB 学习笔记(五):固定集合、GridFS文件系统与服务器端脚本
一.count.distinct与group 1.count函数:查询文档数,如下图: 2.distinct:去重,用法:db.runCommand({distinct:"集合名" ...
- Windows下的chcp命令(更改该控制台的活动控制台代码页)
Chcp 显示活动控制台代码页数量,或更改该控制台的活动控制台代码页.如果在没有参数的情况下使用,则 chcp 显示活动控制台代码页的数量. 语法 chcp [nnn] 参数 指定代码页.下表列出了所 ...
- vc++实例创建简单窗体
#include<windows.h>#include<stdio.h>LRESULT CALLBACK WinSunProc(HWND hwnd,UINT uMsg,WPAR ...
- element table 组件内容换行方案
element table 组件内容换行方案 white-space的值: normal 默认.空白会被浏览器忽略.pre 空白会被浏览器保留.其行为方式类似 HTML 中的<pre> 标 ...
- Linux下mysql 忘记密码的解决办法
>mysql -u root -p Enter password: ******** Welcome to the MySQL monitor. Commands end with ; or \ ...
- Connection refused (SQL: select * from information_s chema.tables where table_schema = apidemo and table_name = migrations)
LARAVEL 执行: $ php artisan migrate 报错 ,把 .env文件里的 DB_CONNECTION=mysqlDB_HOST=127.0.0.1DB_PORT=3306 换成 ...
- Codeforces 787B Not Afraid( 水 )
链接:传送门 题意:判断 m 组数,如果某一组中出现负数就判断这一组中是否存在与之相反的数,如果每一组中都满足要求则输出 "NO" 反之输出 "YES" 思路: ...
- [USACO08NOV]奶牛混合起来Mixed Up Cows(状态压缩DP)
题目描述 Each of Farmer John's N (4 <= N <= 16) cows has a unique serial number S_i (1 <= S_i & ...