We reveal elegant relations between the shape dependence of the Casimir effects and Weyl anomaly in boundary conformal field theories (BCFT). We show that for any BCFT which has a description in terms of an effective action, the near boundary divergent behavior of the renormalized stress tensor is completely determined by the central charges of the theory. These relations are verified by free BCFTs. We also test them with holographic models of BCFT and find exact agreement. We propose that these relations between Casimir coefficients and central charges hold for any BCFT. With the holographic models, we reproduce not only the precise form of the near boundary divergent behavior of the stress tensor, but also the surface counter term that is needed to make the total energy finite. As they are proportional to the central charges, the near boundary divergence of the stress tensor must be physical and cannot be dropped by further artificial renormalization. Our results thus provide affirmative support on the physical nature of the divergent energy density near the boundary, whose reality has been a long-standing controversy in the literature.