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
2 Answers
Reset to default 4I 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