OPINION ON REHEARING
We withdraw our prior opinion and judgment and substitute the following. We deny Crockett’s motion for rehearing and rehearing en banc.
In this recreational use case, the primary issue we must decide is whether the City of Fort Worth has waived its immunity from a suit by Craig Crockett, a recreational user of a bike path in a city park, for the City’s alleged failure to fully barricade a dangerous condition on the bike path. Because we conclude that the City’s immunity from suit has not been waived, we will vacate the trial court’s order denying the City’s plea to the jurisdiction and dismiss the case.
In its sole issue on appeal, the City asserts that the trial court erroneously denied its plea to the jurisdiction because Crockett’s claims are based on the City’s alleged failure to warn about or make safe a dangerous condition of recreational property, for which the City has not waived its immunity from suit or liability. In response, Crockett contends that the denial was proper because his claims against the City are based on its grossly negligent conduct, not on a condition of property. Crockett further contends that the City’s complaints are merely based on its assertions of immunity from liability — which is not the proper subject of a plea to the jurisdiction — rather than immunity from suit.
A plea to the jurisdiction challenges the trial court’s authority to deter*552mine the subject matter of the action.1 Whether the trial court had subject matter jurisdiction is a question of law that we review de novo.2 The plaintiff has the burden of alleging facts that affirmatively establish the trial court’s subject matter jurisdiction.3 In determining whether jurisdiction exists, we accept the allegations in the pleadings as true and construe them in favor of the pleader.4 We must also consider evidence relevant to jurisdiction when it is necessary to resolve the jurisdictional issue raised.5
Governmental entities such as the City are immune from suit unless the legislature has expressly consented to the suit.6 Absent legislative consent to sue a governmental entity, the trial court lacks subject matter jurisdiction over the case.7 The Texas Tort Claims Act provides a limited waiver of sovereign immunity from suits for personal injuries caused by a condition or use of tangible real property, including premise defect claims.8 The immunity waiver is, however, further limited by the Texas Recreational Use Statute.9
Under the recreational use statute, the governmental entity does not assure that the premises are safe for recreational use, and its only duty to recreational users is that owed to a “trespasser on the premises”- — -to refrain from causing injury willfully, wantonly, or through gross negligence.10 Trespassers take the premises as they find them, and landowners owe them no duty to warn of dangerous conditions.11 Therefore, a governmental unit has no duty to warn recreational users of dangerous conditions on the premises.12 It is undisputed that the recreational use statute applies to this case.
We first consider Crockett’s contention that the City’s duty to recreational users merely pertains to its immunity from *553liability and not to its immunity from suit. The Tort Claims Act waives immunity from suit only to the extent that it waives immunity from liability.13 Although the Tort Claims Act waives immunity from liability for some premise defects, it also provides that this liability waiver is limited by the recreational use statute.14 Thus, the Act limits its waiver of immunity from suit to the extent that its waiver of immunity from liability is limited by the recreational use statute.15
While the City’s plea to the jurisdiction was not a model of clarity, it nonetheless asserted that the trial court lacked subject matter jurisdiction over the case because Crockett had not pleaded a cause of action that fell within the Tort Claims Act’s immunity waiver.16 Therefore, the issue of the City’s waiver of immunity from suit — and the trial court’s concurrent lack of subject matter jurisdiction — was properly before the trial court.
We now turn to the City’s contention that it has not waived its immunity from suit as to Crockett’s claims. No evidence on the jurisdictional issue was presented in the trial court; therefore, we look solely to Crockett’s pleadings to resolve this matter.
Crockett’s pleadings allege as follows:
In May 2002 at approximately 9:00 p.m., Crockett was riding his bicycle on a biking and running path in a city park when he suddenly encountered a five-inch ledge that was under the City’s construction or repair. There were no barriers, flags, signs, or warnings at the end of the construction area where the accident occurred, although there were barriers, flags, signs, or warnings at the other end. The City improperly or inadequately used signals, signs, or “hazards” to prevent injury or otherwise control pedestrian or bicycle traffic on the bicycle path. The City’s actions or failure to act were willful, wanton, or grossly negligent. This conduct and ultimately the conditions caused thereby created a dangerous and defective condition on the park premises that caused Crockett to be thrown from his bicycle and injured.
Accepting Crockett’s factual allegations as true and construing them in his favor, as we must, we hold that they are insufficient to establish the City’s waiver of immunity from suit. Crockett’s allegations simply assert that the City failed to assure that the premises were safe for bike riding at 9:00 p.m. or to warn him of the dangerous condition created by the five-inch ledge. As we have discussed, the City, as a recreational use landowner, owed Crockett no duty to do either of these things.17 Indeed, in his appellate brief, Crockett asserts that his live pleading does not allege that the City owed him a duty to warn of conditions in the park or make them safe.
Despite his assertion that he has not alleged the City owed him a duty to warn or make safe, Crockett urges us to follow the Austin Court of Appeals’ decision in State ex rel. Texas Dep’t of Parks & Wild *554 life v. Shumake. 18 The Shumake court held that recreational use landowners owe a duty to “known trespassers,” i.e., expected recreational users, to remove or warn of certain dangerous, artificial conditions about which the landowners know or should know.19 We decline to follow Shu-make because it conflicts both with the recreational use statute, which provides that landowners do not assure that their premises are safe for recreational use, and the well-settled common-law rule that landowners owe no duty to trespassers to keep their premises safe or to warn them of dangerous conditions.20 Further, applying Shumake to the circumstances of this case would be inconsistent with the well-established precedent that the Tort Claims Act does not waive immunity from suit for injuries caused by the nonuse of property — e.g., the failure to erect barricades or warning signs.21
The Tort Claims Act’s immunity waiver is limited to suits for personal injury or death caused by a condition or use of property for which a private person would be liable to the claimant according to Texas law.22 Here, Crockett has not pleaded a cause of action based on a condition or use of property or a premise defect for which Texas law would hold a private person liable.23 Therefore, the City has not waived its sovereign immunity from suit as to Crockett’s claims, and the trial court erred by denying the City’s plea to the jurisdiction. We sustain the City’s issue, vacate the trial court’s order, and dismiss the case.24