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 33124 - Tomcat 4.0.1 gives "duplicate class" when compilling jsps with the same name
Summary: Tomcat 4.0.1 gives "duplicate class" when compilling jsps with the same name
Status: RESOLVED DUPLICATE of bug 23135
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Petr Jiricka
URL: http://issues.apache.org/bugzilla/sho...
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-22 14:38 UTC by joeblade
Modified: 2006-06-05 00:50 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joeblade 2003-04-22 14:38:39 UTC
http://issues.apache.org/bugzilla/show_bug.cgi?id=11891

this bug is possibly related to bug: 29948 (which is a 
task)

in tomcat 4 a bug has been introduced in the jsp compiler.
the bug is twofold:

assume the situation in a mounted folder:
a/index.jsp
b/index.jsp

1: if you "compile all" on the mount you will receive the 
error: duplicate class org.apache.jsp.index.jsp

2: if you manually compile each subpackage and run these 
classes, both index.jsp urls will point to the same jsp-
servlet-class file which is iether a/index or b/index.

There is a patch available (which judging from the second-
last entry needs to be changed slightly)

PS: listing this as patch (as it is basically a request 
for patch) but state might be wrong
Comment 1 Petr Jiricka 2003-04-22 16:49:12 UTC
The patch in Tomcat is not really necessary to fix this issue.
Although the symptoms may be the same in the IDE as in Tomcat,  the
root cause is different. The fix needs to be implemented on the side
of the IDE.


*** This issue has been marked as a duplicate of 23135 ***