function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AnirudhdaAnirudhda 

Error creating a project

I am getting an error while creating the project in eclipse kepler on Ubuntu linux machine. 

 

Error is Unable to create package manifest.

 

Exception: java.lang.ClassCastException:com.salesforce.ide.api.metadata.types.<etadata$JaxbAccessorF_fullName cannot be casr to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor.

Best Answer chosen by Admin (Salesforce Developers) 
kreshokresho

The salesforce plugin works fine in eclipse 3.7, and 4.x

 

I have seen this problem if eclipse was run using Java 7. Try running your eclipse using Oracle Java 6.

 

To install Oracle Java 6 type into terminal:

 

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer

Regards,
Kresimir
Apex Editor LS - free alternative to Force.com apex editor.
Give kudos (click blue star under my icon) if this was useful

All Answers

amarcuteamarcute

Hi,

 

Try to use either eclipse3.6 or eclipse3.5. The force.com IDE plugin is not compatible with the latest versions of Eclipse.

Check the details @ http://wiki.developerforce.com/page/Force.com_IDE_Installation under "Install as Eclipse Plugin" subheading.

kreshokresho

The salesforce plugin works fine in eclipse 3.7, and 4.x

 

I have seen this problem if eclipse was run using Java 7. Try running your eclipse using Oracle Java 6.

 

To install Oracle Java 6 type into terminal:

 

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer

Regards,
Kresimir
Apex Editor LS - free alternative to Force.com apex editor.
Give kudos (click blue star under my icon) if this was useful

This was selected as the best answer