Bug 50013

Summary: missing classes when running catalina ant tasks
Product: Tomcat 7 Reporter: Sylvain Laurent <slaurent>
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: trunk   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: proposed patch

Description Sylvain Laurent 2010-09-27 13:15:09 UTC
With trunk after 7.0.2 :

- tomcat-util.jar is missing in /bin/catalina-tasks.xml
- even after adding this, I still have a NoClassDefFoundError for org.apache.tomcat.util.file.Matcher . Apparently this is a new class in a new package and the build script does not put it in any jar built.
Comment 1 Sylvain Laurent 2010-09-27 13:17:40 UTC
Created attachment 26086 [details]
proposed patch

Proposed patch, I added org/apache/tomcat/util/file/** in tomcat-util.jar to fix the error
Comment 2 Mark Thomas 2010-10-08 08:11:11 UTC
Thanks. Fixed in trunk and will be included in 7.0.4 onwards. I tweaked the suggested patch slightly to move the o.a.t.u.file.* classes to the tomcat-util.jar rather than duplicate them.