This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 11838 - JSP: JSP compilation error in the "Classes" folder
Summary: JSP: JSP compilation error in the "Classes" folder
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords:
: 14620 (view as bug list)
Depends on: 34090
Blocks:
  Show dependency tree
 
Reported: 2001-04-30 10:44 UTC by Damian Frach
Modified: 2003-12-11 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damian Frach 2001-04-30 10:44:29 UTC
When a JSP is in the "Calsses" folder, it can not be compiled.

a654654.jsp [-1:-1] java.io.FileNotFoundException: D:\work\jsp\a654654.jsp
        at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:195)
        at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:146)
        at org.apache.jasper.compiler.JspReader.<init>(JspReader.java:262)
        at org.apache.jasper.compiler.JspReader.createJspReader
(JspReader.java:268)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:155)
        at 
org.netbeans.modules.web.tomcat.compile.TomcatCompileContext$TomcatDevelopmentCo
mpilation.compileJspToServlet(TomcatCompileContext.java:325)
        at org.netbeans.modules.web.core.jsploader.JspCompiler$Group.start
(JspCompiler.java:220)
        at 
org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread$GroupCompiler.ru
n(CompilationEngineImpl.java:257)
 
Errors compiling a654654.
Comment 1 Petr Jiricka 2002-05-06 17:58:28 UTC
This is due to the filesystem handling in the Web Module - 
the JSP is in the WEB-INF/classes filesystem, when in fact 
it should be treated as in the document base filesystem. 
Fortunately, the uses is not expected to put JSPs into WEB-
INF/classes, so this bug is not too serious.

Will be fixed by Projects.
Comment 2 Petr Jiricka 2002-06-21 16:04:33 UTC
*** Issue 14620 has been marked as a duplicate of this issue. ***
Comment 3 psuk 2003-02-28 17:00:47 UTC
Changing milestone to 4.0.
This bugs needs to be addressed by project infrastructure and new user
view.
Comment 4 Pavel Buzek 2003-09-03 12:50:42 UTC
Removing invalid dependency. This should be fixed in projects branch.