Unable to scan WEB-INF for JAX-RS annotations
来源:互联网 发布:php thinkphp 编辑:程序博客网 时间:2024/05/21 23:49
严重: Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
java.lang.RuntimeException: Unable to scan WEB-INF for JAX-RS annotations, you must manually register your classes/resources
因为web.xml配置了
<listener>
<listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>
所以,出现这种错误,就是因为缺resteasy-jaxrs-2.3.3.Final.jar,添上就好了
居然还搞了半天才解决,贴在这里当做警告
配置后的工程开发环境:
jackson-core-asl-1.9.13.jar
jackson-jaxrs-1.9.13.jar
jackson-mapper-asl-1.9.13.jar
javassist-3.11.0.GA.jar
jaxrs-api-2.3.1.GA.jar
resteasy-jaxrs-2.3.1.GA.jar
scannotation-1.0.3.jar
servlet-api.jar
jre6
用jackson-core-asl-1.9.12.jar不能正常启动,必须1.9.13
0 0
- Unable to scan WEB-INF for JAX-RS annotations
- Unable to complete the scan for annotations for web application [] due to a StackOverflowError
- Unable to complete the scan for annotations for web application XXX due to a StackOverflowErr
- Unable to complete the scan for annotations for web application [/xxxx] due to a StackOverflowErro
- Unable to complete the scan for annotations for web application [] due to a StackOverflowError
- Unable to complete the scan for annotations for web application [] due to a StackOverflowError
- Subresource for target class has no jax-rs annotations
- Tomcat 启动 异常 java.lang.IllegalStateException: Unable to complete the scan for annotations...
- JAX-RS基础 for RESTful Web Service
- Unable to determine URL for WEB-INF/classes
- Develop an Apache HttpClient client for Android to a JAX-RS web service
- jax-rs(Java API for RESTful Web Services) 实践教程 之一 —— 初探jax-rs
- JAX-RS -- Java API for RESTful Web Services
- Maven使用tomcat7运行报错:Unable to determine URL for WEB-INF/classes
- raml-for-jax-rs插件
- Java RESTful Web(JAX-RS)
- RAML for JAX-RS的raml-to-jaxrs子项目简介
- JAX-RS(Java API for RESTful Web Service)_1.1解析
- IIS7+ASP+.NET+PHP5.38+MYSQL5.5.18+Zend Guard Loader5.5+PHPmyadmin3.4.7配置
- Visual Studio调试里面的F10和F11有什么区别
- cfvbbnmm
- POJ1274--The Perfect Stall(最大流)
- eclipse 编译 cocos2d-x GCC 4.8 配置
- Unable to scan WEB-INF for JAX-RS annotations
- Form 中Enctype=multipart/form-data 的作用
- 策略模式-----C++实现
- [POJ 3635] Full Tank? (多维最短路)
- JavaWeb将图片显示在浏览器中
- iframe标签实现form表单提交(如文件上传下载)不刷新
- js 绑定键盘鼠标事件
- 如何理解相机设置中的 对比度、饱和度及亮度
- 【iOS开发必收藏】详解iOS应用程序内使用IAP/StoreKit付费、沙盒(SandBox)测试、创建测试账号流程!