1 Reply Latest reply on May 15, 2003 8:07 AM by david.l.small

    jsp compiler not loading a class

    mpbst3

      Hi, I am new to JBoss and am having problems getting a jsp to work on it. The jsp depends on an ordinary Java class that I wrote (which is in the classpath, by the way) but everytime the compiler attempts to compile it, it can't resolve the name of that class. I have some servlets that also use this class and they all work fine (this class is kept in the same directory as the servlet classes). This problem seems to be with loading the class since the class is in the jsp compiler classpath, which is printed out twice everytime the error occurs. Has anyone seen this before and know how to fix it?

      Thanks.

        • 1. Re: jsp compiler not loading a class
          david.l.small

          I've run across a similar problem with JSPs. Make sure the class file is located under WEB-INF\classes or in a JAR file under WEB-INF\lib. Sounds like you may have the class file under WEB-INF\classes, but your original message wasn't 100% clear on that. I hope this helps.