This morning when i started the eclipse and tried to refresh the contents from salesforce server, i got an error something like “com.salesforce. ide.api.metadata.types. Metadata$JaxbAccessorF_fullName cannot be cast to com.sun.xml.bind.v2.runtime.reflect.Accessor“.
I started searching for the solution and found below solution on salesforce community.
Note – I was using Windows 7 operating system.
Solution 1:
- Use JRE v6 update 27 – 64bit (downgraded from JRE 7)
- Use JDK v6 update 27 – 64 bit (downgraded from JDK 7)
- Re-installed Eclipse SDK 3.6.2
In short you can say that you need to downgrade JDK installation.
However, uninstall and re-install would have been taken much of my time and therefore i started to search for the different solution and found below method and Solution 2 – worked for me!!!
Solution 2:
Use the -clean command of eclipse while opening. It can be done by adding the attribute “-clean” in the shortcut icon of the eclipse.
eclipse.exe -clean
or add the following line to the “myeclipse.ini” file, near the top:
-clean
as you can see in below image , right click on eclipse shortcut and add the “clean”.

What does mean by : -clean argument?
If you are having problems getting the system to pick up your new plug-in, then perhaps your configuration is out of date. This might be the case if you just unzipped a new plug-in into your /plugins directory and started up…Eclipse had parsed and cached the list of plug-ins that were previously in that directory and now it has changed without it recognizing that fact. You can clear any per-configuration cached data by using the -clean command line argument.
Note that -clean flushes the registry caches (amung other information) and forces the plug-in manifests to be parsed in order to regenerate the registry. This is not optimal for everyone all the time because (depending on the size of your development environment) it may take up to a couple of minutes.
Solution 3:
Case : If you have more than one JRE installed.
Solution :
In Eclipse “Windows | Preferences | Java | Installed JREs“, select JRE 6, if entry is not visible and JRE 6 is installed then manually add the JRE and select.

Go to eclipse shortcut – edit the path at end, add “clean” word as shown in image. Let me know if you face difficulty.
where i find sfdc properties window……….
now iam using eclipse-helios-3.6
plz tell me how to create profiles,roles,role hierarchy,dataloader
thank you
Hi,
This is very generic question. Please visit http://boards.developerforce.com/t5/General-Development/bd-p/general_development to get detailed information on above topics.
Regards,
Jitendra Zaa
You are awesome !! Solution 2 worked for me too !
Solution 4:
Use Eclipse 3.6 – HeliosDownload JRE 6 from Java site and install it.
Now go to the eclipse.ini file in your eclipse directory
place this line in the file.
-vm
C:Program FilesJavajre6binjavaw.exe
Restart Eclipse
Now create a new Force.com project and try saving the contents .It will do without any errors now.
Thanks a lot for Solution 2 🙂
Solution 2 works 🙂
Solution 2 Works for me..
Downgrading worked for me..
Thanks, adding “-clean” parameter worked for me. I was not getting any error message. The refresh for existing project was working fine for me.
While creating new project, after components selection it was not proceeding further. Nothing was happening after clicking on ‘Next’ button. The issue is resolved now.