Still trying to make chapters or tails of a hopelessly outdated official spring textbook .
This time this is a bug in the topic:
c:\Users\mkumpan\Projects\Spring testing\build.xml:152: java.lang.NoClassDefFoundError: org/apache/tomcat/util/codec/binary/Base64 <stack trace dump omitted>
This class is really contained in tomcat-util.jar:
bash-3.1$ pwd /c/Program Files/Tomcat/lib bash-3.1$ jar -tf ./tomcat-util.jar | grep Base64 org/apache/tomcat/util/codec/binary/Base64.class
And I'm pretty sure I included it in build.xml:
<fileset dir="${appserver.home}/bin"> <include name="*.jar"/> </fileset>
I even tried to be more explicit:
<fileset dir="C:\Program Files\Tomcat\lib\" includes="tomcat-util.jar">
Nothing works, I still get this message every time I try to launch any targets related to tomcat. Could someone possibly suggest a line of inquiry?
Google doesn't seem to be reporting anything.
Update: Below is a link to the full path to the master class.
<path id="master-classpath"> <fileset dir="${web.dir}/WEB-INF/lib"> <include name="*/*.jar"/> </fileset> <fileset dir="${appserver.lib}"> <include name="*.jar"/> </fileset> <fileset dir="${appserver.home}/bin"> <include name="*.jar"/> </fileset> <pathelement path="${build.dir}"/> </path>
source share