500132010-09-27 13:15:09 +0000missing classes when running catalina ant tasks2010-10-08 08:11:11 +0000111UnclassifiedTomcat 7JaspertrunkPCAllRESOLVEDFIXEDP2normal---1slaurentdev0oldest_to_newest1402310slaurent2010-09-27 13:15:09 +0000With 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.140232126086slaurent2010-09-27 13:17:40 +0000Created attachment 26086
proposed patch
Proposed patch, I added org/apache/tomcat/util/file/** in tomcat-util.jar to fix the error1405852markt2010-10-08 08:11:11 +0000Thanks. 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.260862010-09-27 13:17:40 +00002010-09-27 13:17:40 +0000proposed patchpatch bz50013 jspc missing classes.txttext/plain956slaurentSW5kZXg6IGJ1aWxkLnhtbAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBidWlsZC54bWwJKHJldmlzaW9uIDEwMDA1
NTMpCisrKyBidWlsZC54bWwJKHdvcmtpbmcgY29weSkKQEAgLTI3Nyw2ICsyNzcsNyBAQAogICA8
L3BhdHRlcm5zZXQ+CiAKICAgPHBhdHRlcm5zZXQgaWQ9ImZpbGVzLnRvbWNhdC11dGlsIj4KKyAg
CTxpbmNsdWRlIG5hbWU9Im9yZy9hcGFjaGUvdG9tY2F0L3V0aWwvZmlsZS8qKiIgLz4KICAgICA8
aW5jbHVkZSBuYW1lPSJvcmcvYXBhY2hlL3RvbWNhdC91dGlsL3Jlcy8qKiIgLz4KICAgICA8aW5j
bHVkZSBuYW1lPSJvcmcvYXBhY2hlL3RvbWNhdC91dGlsL3NjYW4vKioiIC8+CiAgIDwvcGF0dGVy
bnNldD4KSW5kZXg6IGJpbi9jYXRhbGluYS10YXNrcy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