You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by an...@imail.de on 2002/10/01 13:29:13 UTC

Re: newbie question

Hi Vincent,

I've found my problem.
I used the ant version 1.4.1.
Now it works with ant 1.5 without a problem.

----- Originalnachricht -----
Von: "Vincent Massol" <vm...@octo.com>
Datum: Montag, 30. September  2002, 23:39
Betreff: RE: RE: newbie question

> Andreas,
> 
> I've just run the Cactus Sample (for J2EE 1.3) with the JDK 1.4
> ("1.4.0_01-b03" to be precise), and it works fine here.
> 
> I'll now download version 1.4.1 to see if it makes any difference.
> 
> -Vincent
> 
> > -----Original Message-----
> > From: andreas.orth@imail.de [mailto:andreas.orth@imail.de]
> > Sent: 30 September 2002 12:30
> > To: Cactus Users List
> > Subject: Re: RE: newbie question
> > 
> > 
> > It still doesn't compile.
> > I change only the JAVA_HOME in my bashrc to 1.4.1,
> > and do an "ant clean".
> > Is it possible, that there is a problem with j2sdk1.4.1.
> > Do I have to use the Enterprise Edition ?
> > 
> > ----- Originalnachricht -----
> > Von: "Vincent Massol" <vm...@octo.com>
> > Datum: Montag, 30. September  2002, 11:20
> > Betreff: RE: newbie question
> > 
> > > It should work fine (although I haven't tested it). Are you sure
> > > you did
> > > an "ant clean" when you moved from JDK 1.3 to 1.4?
> > >
> > > If you still have problems I'll give it a go later in the week.
> > >
> > > Thanks
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: andreas.orth@imail.de [mailto:andreas.orth@imail.de]
> > > > Sent: 30 September 2002 10:14
> > > > To: cactus-user@jakarta.apache.org
> > > > Subject: newbie question
> > > >
> > > > Hi,
> > > > I'm new to cactus, but I would like to set up some testing.
> > > > There is a problem to compile the sampleServlet.
> > > > I'm want to use tomcat4.1,jakarta-cactus-13-1.4 and jdk 1.4.1.
> > > > There is no problem with jdk 1.3.1.
> > > >
> > > > I get the following:
> > > >
> > > > Exception Report:
> > > >
> > > >
> > > >      [echo]
> > > >      [echo] java.home = /home/opt/java_work/j2sdk1.4.1/jre
> > > >      [echo] user.home = /home/orth
> > > >      [echo] ant.home =
> /home/opt/java_work/jakarta-ant/1.4.1/bin/..
> > > >      [echo]
> > > >      [echo] cactus.framework.jar = ../lib/cactus-1.4.1.jar
> > > >      [echo] cactus.ant.jar = ../lib/cactus-ant-1.4.1.jar
> > > >      [echo] servlet.jar = ../lib/servletapi-2.3.jar
> > > >      [echo] aspectjrt.jar = ../li>      [echo]
> > > commons.logging.jar = ../lib/commons-logging-1.0.jar
> > > >      [echo] commons.httpclient.jar =
> > > > ../lib/commons-httpclient-2.0alpha1-20020606.jar
> > > >      [echo] httpunit.jar = ../lib/httpunit-1.4.1.jar
> > > >      [echo] junit.jar = ../lib/junit-3.7.jar
> > > >      [echo]
> > > >      [echo] log4j.jar (optional) = ../lib/log4j-1.2.5.jar
> > > >      [echo] clover.jar (optional) = ${clover.jar}
> > > >      [echo]
> > > >      [echo] test.port = 8080
> > > >      [echo]
> > > >
> > > > check.properties.test:
> > > >
> > > > check.properties.warn:
> > > >
> > > > check.properties:
> > > >
> > > > init:
> > > >
> > > > compile.sample:
> > > >     [mkdir] Created dir:
> > > > /home/orth/jakarta-cactus/jakarta-cactus-13-1.4.1/sample-
> > > > servlet/target/classes/sample
> > > >     [javac] Compiling 1 source file to
> > > > /home/orth/jakarta-cactus/jakarta-cactus-13-1.4.1/sample-
> > > > servlet/target/classes/sample
> > > >     [javac]
> > > > /home/orth/jakarta-cactus/jakarta-cactus-13-1.4.1/sample-
> > > > 
> servlet/src/sample/de/fhworms/ztt/ox/cactus/SessionMapper.java:11:> 
> > > cannot access java.lang.Object
> > > >     [javac] bad class file:
> > > >
> > >
> /home/opt/java_work/j2sdk1.4.1/jre/lib/rt.jar(java/lang/Object.class)>
> >     [javac] class file has wrong version 48.0, should be 47.0
> > > >     [javac] Please remove or make sure it appears in the correct
> > > > subdirectory of the classpath.
> > > >     [javac] public static Map
> mapRequestToSession(HttpServletRequest
> > > > request) {
> > > >     [javac]                                       ^
> > > >     [javac] 1 error
> > > >
> > > > BUILD FAILED
> > > >
> > > > /home/orth/jakarta-cactus/jakarta-cactus-13-1.4.1/sample-
> > > > servlet/build/build.xml:208:
> > > > Compile failed, messages should have been provided.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:   <mailto:cactus-user-
> > > > unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail: <mailto:cactus-user-
> > > > help@jakarta.apache.org>
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:cactus-user-
> > > unsubscribe@jakarta.apache.org>For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:cactus-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:cactus-user-
> > help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>