You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/06/06 19:08:40 UTC

DO NOT REPLY [Bug 39093] Tomcat messes up when a class has the same name as a package

https://issues.apache.org/bugzilla/show_bug.cgi?id=39093


Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE




--- Comment #7 from Konstantin Kolinko <kn...@gmail.com>  2009-06-06 10:08:37 PST ---
In Tomcat 6.0.20, I cannot reproduce this issue as is (by deploying the web
application from attachment 18379), but I can if I move the class files from
WEB-INF/classes into ${catalina.home}/lib

Thus, the issue does exist, but is not observed with web applications, because
different class loaders behave differently.

My environment:
- Windows XP Prof. SP3
- JRE 1.6.0_13-b03
- Tomcat 6.0.20

A workaround is to pack the classes into a jar file.

*** This bug has been marked as a duplicate of bug 47323 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org