Eclipse “cannot find the tag library descriptor” for custom tags (not JSTL!)

前端 未结 22 1744
情书的邮戳
情书的邮戳 2020-12-12 16:33

I have a Java EE project which build fine with Ant, deploys perfectly to JBoss, and runs without any trouble. This project includes a few custom tag librari

22条回答
  •  我在风中等你
    2020-12-12 16:51

    For me, this error occurs whenever I try to use a new version of eclipse. Apparently, the new eclipse resets the M2_REPO variable and I get all the tag library error in the Marker view (sometimes with ejb validation errors).

    After updating M2_REPO variable to point to actual maven repository location, it takes 2-3 Project -> Clean iterations to get everything working.

    And sometimes, there are some xml validation errors(ejb) along with this tag library errors. Manually updating the corresponding XML file, initiates a *.xsd file lookup and the xml validations errors are resolved. Post this, the tag library errors also vanish.

提交回复
热议问题