+ Start a Discussion

DML query class

I have created a class consisting of DML queries. I have created a test class for the same.

when i run the test class in my sandbox envt its executing fine.

but when i am executing in my force.com IDE its failing giving me the error as follows.

Type Already Defined.....

Y am i getting this error..

Can i get some help on the same


Hi, sangeeta


Please check your code on both web and in force.IDE

i think ur force.IDE was not refreshed properly.


re-download full sandbox org into force.IDE and then test it



Ankit AroraAnkit Arora

Have you tried deploying your code using change set?



Ankit Arora