facebook

JSP compilation error: jar not in lib directory [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #199507 Reply

    hatim
    Member

    I would like to know if there is a way to tell the BJE jsp compiler to locate a taglibrary jar file that does not exist under the web-root/WEB-INF/lib directory.

    Thanks,
    Hatim

    #199509 Reply

    support-michael
    Keymaster

    Presently MyEclipse JSP code completion and validation are driven off of taglibs and jars under a web project’s <webroot>/WEB-INF folder. We are working on a more flexible web project structure for an up coming release.

    Michael
    MyEclipse Support

    #199512 Reply

    No Operation
    Member

    If you ever consider to deploy your application, how should the application container be able to locate a jar, if it is NOT in /WEB-INF/lib?

    So it is not a BJE but a JSP application issue, how to setup the directory structure and file locations.

    Within Eclipse you might solve that issue by adding the JAR to the build path.

    NOP

    #199520 Reply

    support-michael
    Keymaster

    Thanks NOP,

    As NOP stated, consider adding the taglib to the classpath as a workaround. Just note that the deployer will only recognize and deploy content and taglibs under the project’s webroot.

    Michael
    MyEclipse Support

    #199536 Reply

    hatim
    Member

    Sorry for not giving enough details on my last post. So, here we go:

    I am trying to develop Pluto portlets using MyEclipse. Currently, Pluto provides a tag library jar file that should be deployed on the shared lib directory on Tomcat. At the same time, I am trying to figure out the best way to take advantage of MyEclipse JSP compilation and sync-on-demand deployment.

    Previously, I thought I had a problem with the JSP complier if I don’t specify the jar file in the lib directory, but I was wrong. If I add the jar file to the build path, JSP compilation is fine. This seems to be the best way to satisfy my requirement.

    Thanks for you input.
    Hatim

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: JSP compilation error: jar not in lib directory [Closed]

You must be logged in to post in the forum log in