Since yesterday afternoon I had trouble installing Glassfish Server Tools in Eclipse Indigo and Juno, I tried it on several computers and even in different places, in spite of this, error is always the same.
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,oracle.eclipse.tools.glassfish,4.2.1.201201241947.
MD5 hash is not as expected. Expected: 5366f96e7efd38d97445848eafaa0ed4 and found ed73a6517d24fd8099c3a4768e61744c.
Problems downloading artifact: org.eclipse.update.feature,oracle.eclipse.tools.indigo.glassfish,2.0.1.201201241947.
MD5 hash is not as expected. Expected: 1dbc10b2ac7027cae9c370de3adc984c and found f2db568f92aeb241eca747deceb23814.
What could cause this error? How to fix? Oracle has a bug?
Can anyone confirm if the same happens?
I had the same problem when I tried to install GlassFish server adapter through "New server wizard" in my Eclipse Juno IDE.
Eventually I succeeded to install Oracle GlassFish Server Tools by going to Help -> Install New Software... and entering this site location: http://download.java.net/glassfish/eclipse/juno (if you use other Eclipse edition end it with appropriate suffix).
I just had the same problem. It turns out that turning off the anti-virus solved it.
Don't ask me why...
Eclipse Juno and AVG antivirus
have you tried downloading and installing glass fish manually ? and then adding the your installation to the server's window in eclipse ? or what other things have you tried ?
UPDATE:
Just to prevent people from downvoting me, please refer to the answer given by "dangling_pointer", his answer is given in a more constructive way and it provides links and steps in how to do it. So even if both answers end up telling you the same thing, one shows the steps to get there.
Related
I am using STS (Spring Tool Suite) with Eclipse Luna 4.4 and I noticed that everytime I try to install something (for example Apache IvyDE, Web Tools Platform)via Help -> "Install new Software" I get the following error:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709
How can I get rid of this error and install Eclipse's software and plugins?
EDIT: here is what it looks like:
Then I click "Next", while eclipse loads:
There's a "Cannot perform operation" message on the progress bar, and after that:
Then I accept the license and after clicking finish I get the error:
In the same dialog you'll see an option Contact all update sites during install to find required software, un-check it, ignore the prompt and click on Continue.
The above suggested solution worked when I've faced the problem. For this issue people are referencing https://bugs.eclipse.org/bugs/show_bug.cgi?id=290782, a colleague of mine picked a solution from this comment https://bugs.eclipse.org/bugs/show_bug.cgi?id=290782#c2
While all this solution are general to repository not found, I've found a thread discussing an issue with the plugin you mentioned, did you check it out already unable to install CDT in Eclipse Luna. The OP in this question solved the issue by upgrading from Java 1.6 to 1.8.
I had the same exact problem, until I asked me the question: what provide the org.eclipse.net4j.jms.api package ?
I've found this file in some git repository that looks like a configuration file for Eclipse plugins. What was interesting in that in the name of the provider: Eclipse Modeling Project.
With that, and the help of DuckduckGo, I've that the update site for this artefact is: http://www.eclipse.org/modeling/updates/
You should try to see what it contains using the "Install new software", after entering the URL in the first input field. It is very slow to fetch
You should be able to install or update (that was what I was doing).
I guess someone at Eclipse.org had the idea to update the repository, and that the system is so bad there is no way to tell Eclipse to look from old URL to a new. I'd rather like to see a Eclipse Central Plugin Repository like there is a Maven Central Repository, but that's another story.
I also had an issue like this, my error message was:
An error occurred while collecting items to be installed session
context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=). No repository found containing:
osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709
In my case an inactive repository was responsible for the error. By adding it to the Available Software Sites with Oracle Enterprise Pack for Eclipse and http://download.oracle.com/otn_software/oepe/12.1.3.5/luna/repository/ the error could be resolved.
Ensure trailing '/' for all Available Software Sites
For the No repository found containing: osgi.bundle... problem I tried several options and the only one that worked was #2 in this answer.
Help -> Install new software...
Click "Available Software Sites"
Ensure all the URLs have a trailing '/' (slash)
Try installation/update again
My version: Luna Service Release 2 (4.4.2)
I am using Eclipse Luna, and I am trying to import a project from github. However, it says "Internal error; consult Eclipse error log" when I pasted the URI in:
The project is valid. I've tried a few projects, and they all worked on my older Juno version of eclipse, but all failed on Luna, just like above. What should I do to reproduce this problem?
Here is my Eclipse log error: http://pastebin.com/QcfF4Xsq
I solved this problem going to "Preferences > General > Security > Secure Storage > Contents", open "[Default Secure Storage]", deleting the "GIT" row and finally restarting Eclipse.
You have a similar error message with other Eclipse-based products, like RTC:
A summary of the problem is that Eclipse uses a default location on your machine that is the same for all your Eclipse installs.
So if you have installed and used 32-bit Eclipse, then your secure storage requires the 32-bit plugins to access.
When you try to use a 64-bit Eclipse, it will try to read that secure storage and will fail because it is using the 64-bit plugins to read the storage.
The solution is to tell your Eclipse to use a different secure storage area. You can do this by running Eclipse with the following option:
-eclipse.keyring <file_path>
where <file_path> is the location of the file which you wish to use as your new secure storage area.
(You can check by the way if you have a consistent Eclipse distribution: all 32 bits or all 64 bits)
Note that another product (NetBeans) resolved the same error message like so (issue 211863)
I found the problem.
NetBeans is detecting a remnant of an Eclipse IDE installation. Once I deleted the file, the errors in the log went away.
C:\Documents and Settings\ttroy\.eclipse\org.eclipse.equinox.security\secure_storage
On Windows 7 or more:
C:\Users\<username>\.eclipse\org.eclipse.equinox.security\secure_storage
# or
%USERPROFILE%\.eclipse\org.eclipse.equinox.security\secure_storage
Delete C:\Users\USERNAME\.eclipse\org.eclipse.equinox.security\secure_storage it will resolve your problem.
This is the message I see in the eclipse Error log.
Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created.
So as others said if you delete the secure_storage file and it should solve the problem.
On a mac, better use command line.
/Users/< userid >/.eclipse/org.eclipse.equinox.security
Please help me, I'm having serious trobules with Eclipse for the second time.
I'm following a guide and in these last days my Eclipse used to work fine (and was heavy 600 mb), now after the updates I did recommended by the guided, it downloaded a lot of things for hours and my folder now is 12.6 GBs (and it's pretty uncofortable since I'm on a not too large SSD).
The problem is that the old ADT worked, after the update every project gives errors, like there is no Android SDK.
The console gives me this error
[2014-11-18 22:37:33 - DDMS] DDMS files not found: C:\Users\Ruggiero\Desktop\Ruggiero\android_dev_environment\sdk\tools\hprof-conv.exe
If it can help you, when I run Eclipse it shows me this error message
Now, the most obvious thing would be "just press Check for updates".
When I do it, it says me there are no updates.
So I go for "Install new software" and after I go to the link (official Google link) and try to install the updates it gives me this error
error2 http://s7.postimg.org/h5r1gaa63/eclipseerror2.png]
Please do not flag as duplicate as I already searched on the web and StackOverflow too and even if I found similar troubles, no one was equal or really close to mine.
I had a similar problem. The only way I could make it work was to completely uninstall Eclipse and Android SDK and reinstall again.
There are likely workarounds for this, but I think I suggest just downloading a fresh Android bundle (with all the correct updated software), and install it fresh.
I have had experiences where something goes wrong in the tools update, and found the simplest way to correct is to uninstall my existing tools and start fresh. It is easy to install the bundle, and you will know you have all the correct packages and software installed.
You will spend a bit of time trying to debug your install, it will be quicker to install a fresh instance.
I self resolved by switching to Android Studio IDE
My desktop has Helios (3.6.1). My workspace and the projects under it were created using Helios.
My laptop has Galileo (3.5.2). I tried to open a copy of a project that was created through Helios and it opened fine.
But then, when I tried to change one of the Java Libraries via Configure Build Path, I received Access Denied error:
At first, I thought it was a Windows XP permissions problem, but after investigating this further, I ruled out this possibility. I have also been able to modify that .classpath file using Notepad, so clearly this isn't an ACL problem.
Therefore, I am now suspecting that there is an incompatibility problem between Galileo (3.5.2) and Helios (3.6.1).
Can you confirm this?
If there shouldn't be a compatibility issue between the two, what could I possibly doing wrong?
The solution at this post - http://blog.ryanrampersad.com/2010/03/03/setting-build-path-has-encountered-a-problem-in-eclipse - may help you!
Summary:
"The windows hidden attribute is set on the .classpath file. Removing this attribute fixes the error. After going into the workspace and project directory, remove the hidden attribute."
Unfortunately, I celebrated too early. While Saket's tip allowed getting rid of the build path error, numerous other problems emerged, which forced me to upgrade from 3.5.6 to 3.6.2.
I then discovered the following in Eclipse's Release Notes:
Note: Copying your workspace is recommended because, after you've
upgraded your workspace, you won't be able to use it again with an
older version of Eclipse. If you ever want to go "back in time" to
an earlier release, you will need that backup.
Therefore, the short answer to my question is simply: No!
I downloaded the sample Restlet project and opened it in Eclipse. I instantly get this error:
Errors occurred during the build.
Errors running builder 'Google WebApp Project Validator' on project 'org.restlet.example.serialization.gae-gwt'.
java.lang.NullPointerException
What am I doing wrong?
I had this same error with my own project. In the Eclipse Project Explorer I right-clicked the project and chose Refresh. That cleared up the error for me.
This is a temporary, but repeatable solution someone on my team found...
Close project
Close Eclipse
Open Eclipse
Open project
I continually had this problem in combination with git. My git repository was in my eclipse workspace ( even though eclipse warns you not to do this ). Deleting the old repository, and creating a new git repository outside of the eclipse workspace, then cloning a fresh copy of my gwt project solved this problem for me. Hope this helps.
I'm also experiencing this error, but thanks to git comparing .classpath I noticed that I had removed a couple of variables from the "Configure Variables" list, but not from the Java Build Path. Once I removed it from the second list, the error was gone.
I got this error when I was using a workspace that was on an NFS and I had the same workspace open on two different vnc sessions. I closed out Eclipse on one vnc session and then restarted eclipse on the other. Then I went to the java build path and editted the gwt sdk and had it use the gwt sdk it was already pointed to and it stopped giving me that error. I didn't actually change the gwt sdk, just went through the motions of doing so. Hope this helps.
The problem was miss configuration of JRE, I just did the following:
Go to Build path configuration, select add Library, JRE System Library, select your JRE.
And there you go...
For me this error seemed to occur after a compile had failed due to lack of memory and eclipse had been restarted. However, after increasing memory (in the eclipse.ini) the problem still persisted. None of the above solutions worked for me.
The bizarre solution I found: our project here uses GWT 2.4, so I switched to 2.5 (which comes with the plugin - window>preferences>google>Web Tookit), re-compiled, switched back to 2.4 and, hey presto, it worked again!
(Another hour of my life I'll never get back!)