如何禁用Eclipse helios中的JSP验证? [英] How to disable the JSP validation in Eclipse helios?

查看:215
本文介绍了如何禁用Eclipse helios中的JSP验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的 Eclipse Helios 3.6 中设置了一个Maven项目。它构建和部署完全正常。但是在我的项目中显示了一个红色的标记,并显示了很多JSP问题。我想以某种方式在问题视图中摆脱这些JSP验证问题。 JSP问题的一个例子是不能将ArrayList 解析为类型。
我已经做了这个是在 window-> preferences-> web-> jsp文件 - >验证我已经取消选中了验证的jsp片段除此之外,我右键单击
在我的项目转到属性 - >验证,然后选中挂起所有验证器复选框,但是我在问题视图中看到相同的问题,并在项目中看到红色标记?

I have a Maven project set up in my Eclipse Helios 3.6. It builds and deploys perfectly fine. But it shows a red mark on my project and shows a lot of JSP issues. I want to somehow get rid of these JSP validation issues in problem view. One example of JSP issue is ArrayList can not be resolved to a type. What I have done for this is inside window->preferences->web->jsp files->validation I have unchecked the validate jsp fragments Apart from this I right clicked On my project. Go to Properties->Validations then checked suspend all validator check box but stiil i see same issues in problem view and see red mark on my project?

推荐答案

我做的类似于Aravind,但我在一般设置:首选项>验证。在这里,我取消选中所有构建复选框,但是当我想手动验证JSP,XML,...时,选择手动。

I do similar as Aravind but I do it on the general settings: Preferences > Validation. Here I deselect all 'Build' checkboxes but leave the 'Manual' select for when I want to manually validate a JSP, XML, ... .

这篇关于如何禁用Eclipse helios中的JSP验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆