glassfish
  1. glassfish
  2. GLASSFISH-11208

JSP compiler Erro whit OSGI imported class

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: not determined
    • Component/s: OSGi-JavaEE
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      have 2 bundle:
      Bundla A --> a WAB bundle with a JSP pages
      and
      Bundle B --> that export class with static fields

      The JSP pages (in Bundle A) use the exported class (in Bundle B)
      When I want to see my page, i have compilation
      error "org.apache.jasper.JasperException: PWC6033: Error in Javac compilation
      for JSP"

      Current GlassFish JSP compiler can't
      see classes imported from another WAB. This is because it expects all
      the dependencies to be specified in a classpath which it can pass onto
      the javac. I have always felt, JSP compiler should use a classloader
      backed JavaFileManager.

      Forum Thread
      http://forums.java.net/jive/thread.jspa?messageID=373634

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Sanjeeb Sahoo
            Reporter:
            sebglon
          • Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated: