On Tue, May 15, 2001 at 03:43:40PM -0400, Dan Brown wrote:
> I get a problem when I do a "build.sh init" on my newapp project. I get
> a series of compile errors on the order of...
>
> compile:
> [javac] Compiling 31 source files to
> /Users/dbbrown/dev/lair/tdk-2.1b1/webapps/timecard/WEB-INF/classes
> [javac]
>
>/Users/dbbrown/dev/lair/tdk-2.1b1/webapps/timecard/WEB-INF/src/java/org/apache/turbine/flux/modules/actions/FluxLogin.java:0:
>
> Class javax.servlet.http.HttpSessionBindingListener not found in
> interface org.apache.turbine.om.security.User.
>
> It turns out to be a problem with the classpath to find the
> servlet.jar. The classpath fileset element is pointing to the wrong
> directory to find the servlet and should be changed to the following:
>
> <fileset dir="../../../../common/lib">
> <include name="**/servlet*.jar"/>
> </fileset>
>
> Please fix.
>
> Thanks,
>
> - Dan
Don't know exactly what happens to you, but I'm running
ant init
and it works. In the build.xml file I see:
<!-- Build classpath -->
<path id="classpath">
<fileset dir="../lib">
<include name="**/*.jar"/>
</fileset>
<fileset dir="../../../../bin">
<include name="**/servlet*.jar"/>
</fileset>
</path>
Not "common/lib", but "bin". Maybe you have some mixed environment.
incze
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]