jVose
was having the same problem, errors when a previously working site that used spring 1.2.8 was updated to 2.0. The site would not start in tomcat.
The site was using WebWork 2.2 with Hibernate and Spring, and created and edited in Eclipse 3.2 with MyEclipse plugin, then launched into Tomcat 5.5. Tomcat spit out errors for each of the extensions where the ant-Implementation-URL parameters wrapped to two lines, and refused to start the context.
I tried to add the commons-attributes-*-2.2.jar files and the qdox-1.6.jar files to the local ant lib directory in Eclipse. This didn’t work for me, but with Eclipse-MyEclipse I’m not sure if there was a separate lib directory where it would of worked?
I then tried the approach of extracting the jar, editing the manifest file so that the “ant-Implementation-URL” lines in the commons-attributes-compiler.jar manifest file were on the same line, but when I rejarred the file, the jar tool split the lines again, and Tomcat spit out the same error.
I finally got the errors to go away by getting rid of the original manifest file. Simply extracting the “commons-attributes-compiler.jar” file into an empty directory:
jar xf commons-attributes-compiler.jar
Deleting the original jar file, then re-jaring the files without explicitly specifying the manifest file (no -m option):
jar cf commons-attributes-compiler.jar *
The jar tool just created a new default manifest file, without the extensions specified. I might of broken something else, but for my configuration this has worked on three simple spring sites