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" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: 30 September 2002 10:14 > > To: [EMAIL PROTECTED] > > 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- > > [EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:cactus-user- > > [EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]>For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
