When deploying apex classes, a user may run into an odd error: Error: Compile Error: Invalid constructor name. How to solve Invalid constructor name Upon initial inspection, this error may be misleading. The class in question contains a working constructor or a new method was added that is not a constructor. What gives? Normally, this error indicates that a new method was added without adding the return type. Example: 1public class Foo { 2 3 private String bar; 4 5 public Foo(String bar) { 6 ...