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
kcnmaheshkcnmahesh 

Getting errors while moving to production

Hi...,

 

I am getting errors while deploying to production.

Error messages are "Apex class does not exist".

But in sandbox , got 80% code coverage . while validating in production am getting errors.

 

Can anyone help me plz.....?

bob_buzzardbob_buzzard

This sounds like you are relying on a class that doesn't exist in the production org and isn't part of your deployment.

Abhijeet PurohitAbhijeet Purohit

Got the solution! I had followed all the steps correctly for deploying into production. Still I got the error message!

Finally the solution is changed all the names of class, methods, variables in apex class, visualforce page and testclass. It worked.

 

 

From KC Mahesh