Rule 12. Defenses and Objections. When and How Presented. By Pleading or Motion. Motion for Judgment on Pleadings
Waiver of Defenses – A party waives all defenses and objections which the party does not present either by motion as hereinbefore provided, or, if the party has made no motion, in the party’s answer or reply, or any amendments thereto, (provided, however, the defenses enumerated in 12.02(2), (3), (4), and (5) shall not be raised by amendment) except (1) that the defense of failure to state a claim upon which relief can be granted, the defense of failure to join an indispensable party, the defense of lack of capacity, and the objection of failure to state a legal defense to a claim may also be made by a later pleading, if one is permitted, or by motion for judgment on the pleadings or at the trial on the merits, and except (2) that, whenever it appears by suggestion of the parties or otherwise that the court lacks jurisdiction of the subject matter, the court shall dismiss the action. The objection or defense, if made at trial, shall be disposed of as provided in Rule 15 in the light of any evidence that may have been received.