1 Reply Latest reply on Jun 6, 2005 10:39 AM by dwatling

    JBoss-IDE and custom tags

    dwatling

      I think I originally posted this to the wrong group.

      Anyway, I'm having problems getting JBoss-IDE to compile my JSPs that use struts. I'm getting two unique errors:

      Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei (also DefineTei, HeaderTei, PageTei.....)
      Unable to load tag handle class "org.apache.struts.taglib.logic.NotEqualTag" for tag "logic:notEqual"

      It seems to me that JBoss-IDE is loading the TLDs just fine, but it isn't loading the struts.jar file. The layout of my WEBROOT folder is as such:

      WEBROOT/
      WEBROOT/jsp/
      WEBROOT/jsp/about.jsp
      WEBROOT/WEB-INF/
      WEBROOT/WEB-INF/struts-bean.tld
      WEBROOT/WEB-INF/struts-logic.tld
      WEBROOT/WEB-INF/struts-form.tld
      WEBROOT/WEB-INF/struts-html.tld
      WEBROOT/WEB-INF/web.xml
      WEBROOT/WEB-INF/lib/struts.jar

      I do have compile JSPs turned on and I am pointing to the correct WEBROOT folder. Is there another configuration option I am missing?

      Also, I should probably mention that I've tried this under two versions of Eclipse and two versions of JBoss-IDE. Both give me the same problem stated above.

      Eclipse 3.1.0M6 w/ WTP 1.0M3 and JBoss-IDE 1.4.1 (compiled for 3.1)
      Eclipse 3.0.1 w/ JBoss-IDE 1.4.1

      Any input would be appreciated.

      -Dan

        • 1. Re: JBoss-IDE and custom tags
          dwatling

          I finally figured it out and I feel like an idiot. If anyone else has the same problem make sure you include your JAR files (located under the /WEB-INF/lib folder) in your build path (Project | Properties | Java Build Path | Libraries).

          -Dan