如何摆脱“没有为项目定义jax-rs激活器"?警告? [英] How to get rid of "No jax-rs activator is defined for the project" warning?
本文介绍了如何摆脱“没有为项目定义jax-rs激活器"?警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的Eclipse工作区中有一个Web项目,并且收到此烦人的警告:
I have a web project in my eclipse workspace, and I'm getting this annoying warning:
未为项目定义jax-rs激活器
我知道这与网络服务有关,但是我目前不在此项目上使用网络服务.
I know that this is related to web-services, but I currently don't use web services on this project.
推荐答案
最简单的方法就是关闭Eclipse.
The easiest way is to just make Eclipse shut up about it.
转到项目的首选项
>
JAX-RS验证程序
>
JAX-RS验证程序
>
选中启用项目特定的首选项
,然后选择 JAX-RS Activators
>
设置未配置JAX-RS激活器
为忽略
.
Go to the Preferences
of your project >
JAX-RS Validator
>
JAX-RS Validator
>
check Enable project specific preferences
and then JAX-RS Activators
>
set No JAX-RS Activator configured
to Ignored
.
希望这会有所帮助.
这篇关于如何摆脱“没有为项目定义jax-rs激活器"?警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文