You need to sign in to do that
Don't have an account?
Eddie Valdivia
cvc-elt.1: Cannot find the declaration of element 'ApexClass'
Helo Everyone
I have to create a new trigger to send some data with an API in Mandrill. I started to do it over Eclipse Version: Mars.2 Release (4.5.2). Downloaded all the Force.com elements to work. As soon as I started to work, I connected to salesforce and the Force.com download all the Apex Classes, TRiggers and any one else element, with their Metadata files.
The main problem is that all the xml files has the error Cannot find the declaration of element 'ApexClass'. those errors seems to create conflict when I tried to deploy. Any one knows how to fix the problems with the xml files?
I have to create a new trigger to send some data with an API in Mandrill. I started to do it over Eclipse Version: Mars.2 Release (4.5.2). Downloaded all the Force.com elements to work. As soon as I started to work, I connected to salesforce and the Force.com download all the Apex Classes, TRiggers and any one else element, with their Metadata files.
The main problem is that all the xml files has the error Cannot find the declaration of element 'ApexClass'. those errors seems to create conflict when I tried to deploy. Any one knows how to fix the problems with the xml files?
Go to VS Code: File => Preference => Settings => (search for) Validation ==> Click on XML (from the left Nav) and uncheck "Validation"
you can chek this:
کد تخفیف دیجی کالا (https://offerdaily.ir/brands/digikala/)
and copy paste below code.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ApexClass</name>
</types>
<types>
<members>*</members>
<name>ApexComponent</name>
</types>
<types>
<members>*</members>
<name>ApexPage</name>
</types>
<types>
<members>*</members>
<name>ApexTestSuite</name>
</types>
<types>
<members>*</members>
<name>ApexTrigger</name>
</types>
<types>
<members>*</members>
<name>AuraDefinitionBundle</name>
</types>
<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>
<types>
<members>*</members>
<name>StaticResource</name>
</types>
<version>54.0</version>
</Package>