最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to disable Tern synchronization in Eclipse Luna? - Stack Overflow

programmeradmin0浏览0评论

I use Eclipse Luna SP2 for Java EE for some JavaScript development. Every now and then (mostly on .js file open but also on some timer) I get the following popup error

    An internal error occurred during: "Synchronizing script resources with Tern server...".
    loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) 
previously initiated loading for a different type with name "org/apache/http/HttpEntity"

I don't need Tern functionality and I would like to disable it or at least get rid of the popup error

I googled about but could not find any relevant information. For the moment I tried to disable all validators and to change the .js editor but no luck by now.

Any idea?

I use Eclipse Luna SP2 for Java EE for some JavaScript development. Every now and then (mostly on .js file open but also on some timer) I get the following popup error

    An internal error occurred during: "Synchronizing script resources with Tern server...".
    loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) 
previously initiated loading for a different type with name "org/apache/http/HttpEntity"

I don't need Tern functionality and I would like to disable it or at least get rid of the popup error

I googled about but could not find any relevant information. For the moment I tried to disable all validators and to change the .js editor but no luck by now.

Any idea?

Share Improve this question asked Jul 21, 2015 at 8:55 SergeySergey 1,3612 gold badges19 silver badges32 bronze badges 2
  • Which version of tern.java do you use? – Angelo Commented Jul 30, 2015 at 8:27
  • jdk1.7.0_51 (64bits) and Tern 0.8.2.201502201459 – Sergey Commented Jul 30, 2015 at 8:37
Add a ment  | 

2 Answers 2

Reset to default 4

I think it's the same problem than issue 273 The 0.8.0 didn't set the version of packages of org.apache.http in the MANIFEST.MF.

Please install 0.10.0 version.

Go to Properties of the project > JavaScript > Include Path > Source and remove the whole project. Click on "Add Folder" and give the required path for your JS. Like projectname/src/pages.Ionic 2

发布评论

评论列表(0)

  1. 暂无评论