I am facing deployment error as shown below. I searched a lot but could not find correct solution for this. What needs to be done for this?

enter image description here


This is a compilation error. In my case, a variable type was changed


webservice myClassName myVariableName;


webservice List < myClassName > myVariableName;

However, the corresponding variable type change was NOT made in the test class.

This resulted in a compilation error. Unfortunately, the error statement does not point you to where the compilation error is occurring.

We were able to track it down only because our nightly run of test classes failed, so we knew it had to be caused by a change made the previous day. Based on a log of the previous day's code changes, we were able to isolate it.

Hope this helps.


|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.