avnerl
Tue, 20 Jan 2009 05:52:48 -0800
Getting the cactus jar from maven repository solved the problem thanks! Avner Petar Tahchiev wrote: > > Hi avnerl, > > > can you use the ones from the Maven repository? > > I have pushed a vote for cactus 1.8.1 and I am > expecting to have it present by the end of the week. > > Cheer, Petar. > > 2009/1/20 avnerl <avner.lin...@gmail.com> > >> >> Hi Petar, >> We are facing the same problem here trying to run cactus 1.8.0. >> The latest published version still contains the duplicate classes. >> I tried removing the small ones manually (using winrar) but it still >> doesn't >> work. >> >> When is there going to be a fixed version of cactus 1.8.x ? >> >> Best regards, >> Avner >> >> Petar Tahchiev wrote: >> > >> > Hi Zachary, >> > >> > I just saw the issue - nevertheless I have never had problems >> > with the jars. >> > >> > I will try to push a new release tomorrow. >> > >> > Thanks, Petar. >> > >> > 2009/1/10, Zachary McMahon <zmcma...@gmail.com>: >> >> >> >> I just noticed that the jar that is in the maven repository doesn't >> have >> >> the >> >> duplicate class issue - so I'll use this for now. >> >> http://repo1.maven.org/maven2 >> >> >> >> The distro that I grabbed from the homepage looks like is the one with >> >> duplicate classes. >> >> http://jakarta.apache.org/site/downloads/downloads_cactus.cgi >> >> >> >> >> >> On Fri, Jan 9, 2009 at 1:52 PM, Zachary McMahon <zmcma...@gmail.com> >> >> wrote: >> >> >> >> > Sorry in advance if this is a known issue - but I couldn't seem to >> find >> >> it >> >> > by searching the list. >> >> > >> >> > While trying to compile some cactus test classes via Ant using >> cactus >> >> 1.8.0 >> >> > with java 1.4 I would get the following error: >> >> > >> >> > [javac] An exception has occurred in the compiler (1.4.2_18). >> >> Please >> >> > file a bug at the Java Developer Connection ( >> >> > http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug >> >> Parade >> >> > for duplicates. Include your program and the following diagnostic in >> >> your >> >> > report. Thank you. >> >> > [javac] java.lang.ArrayIndexOutOfBoundsException: 1951436875 >> >> > [javac] at >> >> > >> com.sun.tools.javac.v8.code.ClassReader.nextInt(ClassReader.java:335) >> >> > [javac] at >> >> > >> >> >> com.sun.tools.javac.v8.code.ClassReader.skipMember(ClassReader.java:820) >> >> > [javac] at >> >> > >> com.sun.tools.javac.v8.code.ClassReader.readClass(ClassReader.java:861) >> >> > ... >> >> > >> >> > This error would not occur if I just did a 'Clean' in eclipse or was >> >> using >> >> > a higher version of java (1.6). >> >> > >> >> > After a bit of investigation, it turns out that the >> >> > cactus.core.framework.uberjar.javaEE.14-1.8.0-orig.jar file has a >> bunch >> >> of >> >> > duplicate class files within the same package (e.g. >> >> > org/apache/cactus/server/ServletTestRedirector). If I remove the >> >> smaller >> >> > duplicate class files, the compilation completes in 1.4. >> >> > >> >> > Am I missing something or is this a problem with the release? >> >> > >> >> > Thanks! >> >> > >> >> > -- >> >> > zachary mcmahon >> >> > zmcma...@gmail.com >> >> > >> >> >> >> >> >> >> >> -- >> >> zachary mcmahon >> >> zmcma...@gmail.com >> >> >> > >> > >> > >> > -- >> > Regards, Petar! >> > Karlovo, Bulgaria. >> > - - - - - - - - >> > | Author @ Manning Publications. >> > | Senior Solution Architect @ Unic >> > | BGJUG-Bulgarian Java User Group Leader. >> > | Apache Jakarta PMC member. >> > | Jakarta Cactus Lead Developer. >> > | Blogger: http://weblogs.java.net/blog/paranoiabla/ >> > - - - - - - - - >> > Public PGP Key at: >> > >> https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 >> > Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Duplicate-class-files-in-1.8.0-1.4EE-tp21379348p21561919.html >> Sent from the Cactus - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: cactus-user-unsubscr...@jakarta.apache.org >> For additional commands, e-mail: cactus-user-h...@jakarta.apache.org >> >> > > > -- > Regards, Petar! > Karlovo, Bulgaria. > - - - - - - - - > | Author @ Manning Publications. > | Senior Solution Architect @ Unic > | BGJUG-Bulgarian Java User Group Leader. > | Apache Maven Developer. > | Apache Jakarta PMC member. > | Jakarta Cactus Lead Developer. > | Blogger: http://weblogs.java.net/blog/paranoiabla/ > - - - - - - - - > Public PGP Key at: > https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 > Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 > > -- View this message in context: http://www.nabble.com/Duplicate-class-files-in-1.8.0-1.4EE-tp21379348p21563496.html Sent from the Cactus - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: cactus-user-h...@jakarta.apache.org