惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
K
Kaspersky official blog
T
Threat Research - Cisco Blogs
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy & Cybersecurity Law Blog
O
OpenAI News
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
Cisco Blogs
AWS News Blog
AWS News Blog
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
美团技术团队
T
Threatpost
S
Schneier on Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Cyber Attacks, Cyber Crime and Cyber Security
Last Week in AI
Last Week in AI
C
CERT Recently Published Vulnerability Notes
Blog — PlanetScale
Blog — PlanetScale
C
Cybersecurity and Infrastructure Security Agency CISA
F
Full Disclosure
博客园_首页
N
Netflix TechBlog - Medium
Security Latest
Security Latest
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Register - Security
The Register - Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Recent Announcements
Recent Announcements
博客园 - Franky
P
Palo Alto Networks Blog
Project Zero
Project Zero
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
H
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Cisco Talos Blog
Cisco Talos Blog
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 【当耐特】
GbyAI
GbyAI

博客园 - Sunlight

物化视图每天自动刷新2次的方法 Eclipse保存验证JS缓慢 jquery动态添加删除行 收藏网址 Eclipse 修改项目名称 SQL 实现返回一个字段中,某个字符出现的次数 Oracle DIV/CSS 实现三列,左右两列固定,中间一列自适应 PowerDesigner15 操作记录 使用gzip优化web应用(filter实现) 增强我们的Visual Studio .Net 热调试 Axis 客户端调用 javascritp对fckeditor编辑器操作 - Sunlight - 博客园 Spring中任务调度cronExpression配置说明 - Sunlight - 博客园 基于 Axis 的WebService接口 SQL查询Excel 用 JavaScript 实现网页图片等比例缩放 漂亮的按钮样式 分析函数RANK的使用
Eclipse去除js错误
Sunlight · 2012-03-08 · via 博客园 - Sunlight

最近出了一个很怪的现象,某一个js文件,在某一个Eclipse工程中呆的好好的,突然新建一个项目,把js文件复制进去的时候,Eclipse就提示错误。我对Eclipse错误非常敏感,下决心一定要把它去掉。
仔细检查了一下,发现Js校验等等系统配置全部都已经关闭了,不应该出现的啊,弄了好久没搞定。
上网搜索下,发现有人说,去掉.project文件中的以下部分:
<buildCommand>
      <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
      <arguments></arguments>
</buildCommand>

<nature>org.eclipse.wst.jsdt.core.jsNature</nature>就好了,但是我发现,还是不顶用。把这两句话删掉以后,我刷新了下工程,还是会报错。
于是直接删除了报错的js文件,错误消失,再把刚才那个js文件拷进来,发现不报错。搞定!为了验证下上面删除.project中的配置是否有效,我把.project文件中的两句加上,同样删除js文件,再把js文件拷进来,Eclipse依然报错!看来这两句配置还真的有用啊!不过话说回来,我对这个结果不是太满意,希望看到这篇文章的人给我一个更加准确的原因和解决方案吧!