In this paper, we discuss the problem of solving a class of nonhomogeneous semilinear elliptic system with critical Sobolev exponent changing into one of critical points of some given functional. Using Nehari technique, the given functional attain its minimum by adding suitable constraints, and the minimal point becomes a critical point of the original functional after eliminating the added constraints, thus the solution of the nonhomogeneous elliptic system is obtained.