The existence of nontrivial solutions for a critically coupled Schr\”{o}dinger system in a bounded domain of $\R^3$