2 Replies Latest reply on Dec 1, 2008 5:45 PM by henry katz

    Getting Started Jar Version Incompatility

    henry katz Newbie

      Hi,

      I'm following the getting started

      http://www.jboss.org/jsfunit/gettingstarted.html

      and having a collision apparently between the version of aspectj that cactus is pulling in (1.2.1) vs. the version that we want to use (1.5.4 or 1.6.1).

      The jars in WEB-INF/lib are as follows:

      1 total 59925
      2 -rwx------ 1 henry_katz mkpasswd 371142 Oct 1 09:19 CRDBJavaServerCommon-1197.jar
      3 -rwx------ 1 henry_katz mkpasswd 439 Oct 1 09:19 CRDBXMLExternal-1197.jar
      4 -rwx------ 1 henry_katz mkpasswd 127614 Oct 1 09:19 CRDBXMLServer-1197.jar
      5 -rwx------ 1 henry_katz mkpasswd 168388 Oct 1 09:19 Concurrent-1197.jar
      6 -rwx------ 1 henry_katz mkpasswd 2162 Oct 1 09:19 CrystalCommon-1197.jar
      7 -rwx------ 1 henry_katz mkpasswd 69587 Oct 1 09:19 CrystalContentModels-1197.jar
      8 -rwx------ 1 henry_katz mkpasswd 82468 Oct 1 09:19 CrystalDatabaseConnectors-1197.jar
      9 -rwx------ 1 henry_katz mkpasswd 651313 Oct 1 09:19 CrystalExporters-1197.jar
      10 -rwx------ 1 henry_katz mkpasswd 41698 Oct 1 09:19 CrystalExportingBase-1197.jar
      11 -rwx------ 1 henry_katz mkpasswd 597428 Oct 1 09:19 CrystalFormulas-1197.jar
      12 -rwx------ 1 henry_katz mkpasswd 320180 Oct 1 09:19 CrystalQueryEngine-1197.jar
      13 -rwx------ 1 henry_katz mkpasswd 2469655 Oct 1 09:19 CrystalReportEngine-1197.jar
      14 -rwx------ 1 henry_katz mkpasswd 439743 Oct 1 09:19 CrystalReportingCommon-1197.jar
      15 -rwx------ 1 henry_katz mkpasswd 248368 Oct 1 09:19 MetafileRenderer-1197.jar
      16 -rwx------ 1 henry_katz mkpasswd 286094 Oct 1 09:19 ReportPrinter-1197.jar
      17 -rwx------ 1 henry_katz mkpasswd 816947 Oct 1 09:19 ReportViewer-1197.jar
      18 -rwx------ 1 henry_katz mkpasswd 21921 Oct 1 09:19 Serialization-1197.jar
      19 -rwx------ 1 henry_katz mkpasswd 3777 Oct 1 09:19 URIUtil-1197.jar
      20 -rwx------ 1 henry_katz mkpasswd 544682 Feb 11 2008 acegi-security-1.0.6.jar
      21 -rwx------ 1 henry_katz mkpasswd 14075 Mar 6 2008 acegijsf-1.1.2.jar
      22 -rwx------ 1 henry_katz mkpasswd 63018 May 6 2008 activation-1.1.jar
      23 -rwx------ 1 henry_katz mkpasswd 1034049 Mar 6 2008 ant-1.6.5.jar
      24 -rwx------ 1 henry_katz mkpasswd 443432 Mar 6 2008 antlr-2.7.6.jar
      25 -rwx------ 1 henry_katz mkpasswd 26361 Mar 6 2008 asm-1.5.3.jar
      26 -rwx------ 1 henry_katz mkpasswd 16757 Mar 6 2008 asm-attrs-1.5.3.jar
      27 -rwx------ 1 henry_katz mkpasswd 41534 Nov 26 10:52 aspectjrt-1.2.1.jar
      28 -rwx------ 1 henry_katz mkpasswd 114926 Aug 25 13:19 aspectjrt-1.6.1.jar
      29 -rwx------ 1 henry_katz mkpasswd 8958838 Aug 25 13:19 aspectjtools-1.6.1.jar
      30 -rwx------ 1 henry_katz mkpasswd 1567728 Dec 1 13:54 aspectjweaver-1.6.1.jar
      31 -rwx------ 1 henry_katz mkpasswd 63966 Mar 6 2008 avalon-framework-4.1.3.jar
      32 -rwx------ 1 henry_katz mkpasswd 331716 Jun 27 11:38 backport-util-concurrent-3.1.jar
      33 -rwx------ 1 henry_katz mkpasswd 490136 Mar 6 2008 c3p0-0.9.0.4.jar
      34 -rwx------ 1 henry_katz mkpasswd 259182 Oct 31 11:20 cactus-13-1.7.1.jar
      35 -rwx------ 1 henry_katz mkpasswd 180327 Oct 31 11:20 cactus-ant-13-1.7.1.jar
      36 -rwx------ 1 henry_katz mkpasswd 359270 Oct 31 11:20 cargo-0.5.jar
      37 -rwx------ 1 henry_katz mkpasswd 1836822 Oct 1 09:19 cecore-1197.jar
      38 -rwx------ 1 henry_katz mkpasswd 209377 Oct 1 09:19 celib-1197.jar
      39 -rwx------ 1 henry_katz mkpasswd 282338 Mar 6 2008 cglib-2.1_3.jar
      40 -rwx------ 1 henry_katz mkpasswd 188671 Mar 6 2008 commons-beanutils-1.7.0.jar
      41 -rwx------ 1 henry_katz mkpasswd 168760 Oct 1 09:18 commons-beanutils-core-1.7.0.jar
      42 -rwx------ 1 henry_katz mkpasswd 46725 Mar 6 2008 commons-codec-1.3.jar
      43 -rwx------ 1 henry_katz mkpasswd 559366 Mar 6 2008 commons-collections-3.1.jar
      44 -rwx------ 1 henry_katz mkpasswd 163822 Oct 1 09:18 commons-configuration-1.2.jar
      45 -rwx------ 1 henry_katz mkpasswd 168446 Mar 6 2008 commons-digester-1.6.jar
      46 -rwx------ 1 henry_katz mkpasswd 76685 Oct 1 09:18 commons-discovery-0.4.jar
      47 -rwx------ 1 henry_katz mkpasswd 112341 Mar 6 2008 commons-el-1.0.jar
      48 -rwx------ 1 henry_katz mkpasswd 22379 Mar 6 2008 commons-fileupload-1.0.jar
      49 -rwx------ 1 henry_katz mkpasswd 305001 Oct 31 11:20 commons-httpclient-3.1.jar
      50 -rwx------ 1 henry_katz mkpasswd 109043 Oct 23 09:08 commons-io-1.4.jar
      51 -rwx------ 1 henry_katz mkpasswd 207723 Mar 6 2008 commons-lang-2.1.jar
      52 -rwx------ 1 henry_katz mkpasswd 52915 Mar 6 2008 commons-logging-1.1.jar
      53 -rwx------ 1 henry_katz mkpasswd 26202 Oct 1 09:18 commons-logging-api-1.0.4.jar
      54 -rwx------ 1 henry_katz mkpasswd 174535 Mar 6 2008 commons-math-1.1.jar
      55 -rwx------ 1 henry_katz mkpasswd 138956 Mar 6 2008 commons-validator-1.3.1.jar
      56 -rwx------ 1 henry_katz mkpasswd 16010 Dec 1 14:29 cre-aspects-1.0.jar
      57 -rwx------ 1 henry_katz mkpasswd 7285 Dec 1 14:29 cre-commons-1.0.jar
      58 -rwx------ 1 henry_katz mkpasswd 178353 Dec 1 14:30 cre-configuration-1.0.jar
      59 -rwx------ 1 henry_katz mkpasswd 106127 Dec 1 14:29 cre-dao-1.0.jar
      60 -rwx------ 1 henry_katz mkpasswd 721489 Dec 1 14:30 cre-dataupload-1.0.jar
      61 -rwx------ 1 henry_katz mkpasswd 378580 Dec 1 14:29 cre-entities-1.0.jar
      62 -rwx------ 1 henry_katz mkpasswd 12305 Dec 1 14:30 cre-manager-1.0.jar
      63 -rwx------ 1 henry_katz mkpasswd 447131 Dec 1 14:30 cre-reports-1.0.jar
      64 -rwx------ 1 henry_katz mkpasswd 34519 Dec 1 14:29 cre-rules-1.0.jar
      65 -rwx------ 1 henry_katz mkpasswd 11706 Dec 1 14:30 cre-scoringservice-1.0.jar
      66 -rwx------ 1 henry_katz mkpasswd 38294 Dec 1 14:30 cre-security-1.0.jar
      67 -rwx------ 1 henry_katz mkpasswd 14442 Dec 1 14:30 cre-workflow-1.0.jar
      68 -rwx------ 1 henry_katz mkpasswd 253950 Oct 31 11:20 cssparser-0.9.5.jar
      69 -rwx------ 1 henry_katz mkpasswd 313898 Mar 6 2008 dom4j-1.6.1.jar
      70 -rwx------ 1 henry_katz mkpasswd 505805 Mar 18 2008 dwr-2.0.2.jar
      71 -rwx------ 1 henry_katz mkpasswd 1985391 Oct 1 09:19 ebus405-1197.jar
      72 -rwx------ 1 henry_katz mkpasswd 242693 Jun 27 11:38 ehcache-1.4.0.jar
      73 -rwx------ 1 henry_katz mkpasswd 36962 Mar 6 2008 facestrace-0.8.1.jar
      74 -rwx------ 1 henry_katz mkpasswd 2198080 Oct 16 13:19 hibernate-3.2.1.ga.jar
      75 -rwx------ 1 henry_katz mkpasswd 265130 Feb 11 2008 hibernate-annotations-3.3.0.ga.jar
      76 -rwx------ 1 henry_katz mkpasswd 66426 Feb 11 2008 hibernate-commons-annotations-3.3.0.ga.jar
      77 -rwx------ 1 henry_katz mkpasswd 2266278 Oct 16 13:12 hibernate-core-3.3.0.GA.jar
      78 -rwx------ 1 henry_katz mkpasswd 649747 Oct 31 11:20 htmlunit-2.2.jar
      79 -rwx------ 1 henry_katz mkpasswd 558115 Oct 31 11:20 htmlunit-core-js-2.2.jar
      80 -rwx------ 1 henry_katz mkpasswd 3233439 Oct 1 17:18 icu4j-1197.jar
      81 -rwx------ 1 henry_katz mkpasswd 89967 May 6 2008 jaxb-api-2.1.jar
      82 -rwx------ 1 henry_katz mkpasswd 88562 Oct 31 11:21 jboss-jsfunit-analysis-1.0.0.Beta3.jar
      83 -rwx------ 1 henry_katz mkpasswd 13022 Oct 31 11:21 jboss-jsfunit-ant-1.0.0.Beta3.jar
      84 -rwx------ 1 henry_katz mkpasswd 68709 Oct 31 11:20 jboss-jsfunit-core-1.0.0.Beta3.jar
      85 -rwx------ 1 henry_katz mkpasswd 16989 Oct 31 11:21 jboss-jsfunit-richfaces-1.0.0.Beta3.jar
      86 -rwx------ 1 henry_katz mkpasswd 214624 Mar 7 2008 jep-3.2.0.jar
      87 -rwx------ 1 henry_katz mkpasswd 253824 Oct 1 09:19 jrcadapter-1197.jar
      88 -rwx------ 1 henry_katz mkpasswd 13234 Oct 1 09:19 jrcerom-1197.jar
      89 -rwx------ 1 henry_katz mkpasswd 756883 Oct 31 11:20 js-1.7R1.jar
      90 -rwx------ 1 henry_katz mkpasswd 300771 Apr 17 2008 jsf-facelets-1.1.14.jar
      91 -rwx------ 1 henry_katz mkpasswd 50493 Mar 6 2008 jsp-api-2.0.jar
      92 -rwx------ 1 henry_katz mkpasswd 8277 Jun 27 11:38 jsr107cache-1.0.jar
      93 -rwx------ 1 henry_katz mkpasswd 13236 Oct 16 13:12 jta-1.1.jar
      94 -rwx------ 1 henry_katz mkpasswd 120699 Oct 31 11:21 juel-2.1.0.jar
      95 -rwx------ 1 henry_katz mkpasswd 121070 Mar 6 2008 junit-3.8.1.jar
      96 -rwx------ 1 henry_katz mkpasswd 56890 Oct 1 09:19 keycodeDecoder-1197.jar
      97 -rwx------ 1 henry_katz mkpasswd 72150 Mar 6 2008 logkit-1.0.1.jar
      98 -rwx------ 1 henry_katz mkpasswd 115784 Oct 31 11:20 nekohtml-1.9.8.jar
      99 -rwx------ 1 henry_katz mkpasswd 65261 Mar 6 2008 oro-2.0.8.jar
      100 -rwx------ 1 henry_katz mkpasswd 52114 Mar 6 2008 persistence-api-1.0.jar
      101 -rwx------ 1 henry_katz mkpasswd 2073 Jun 17 13:51 phaseTracker-unknown.jar
      102 -rwx------ 1 henry_katz mkpasswd 964285 Aug 6 11:53 poi-3.0.2-FINAL.jar
      103 -rwx------ 1 henry_katz mkpasswd 96093 Oct 1 09:19 pullparser-1197.jar
      104 -rwx------ 1 henry_katz mkpasswd 524116 Oct 1 09:19 rasapp-1197.jar
      105 -rwx------ 1 henry_katz mkpasswd 965649 Oct 1 09:19 rascore-1197.jar
      106 -rwx------ 1 henry_katz mkpasswd 168454 Oct 16 13:24 richfaces-api-3.2.2.GA.jar
      107 -rwx------ 1 henry_katz mkpasswd 1494439 Oct 16 13:24 richfaces-impl-3.2.2.GA.jar
      108 -rwx------ 1 henry_katz mkpasswd 2525798 Oct 16 13:24 richfaces-ui-3.2.2.GA.jar
      109 -rwx------ 1 henry_katz mkpasswd 90701 Oct 1 09:19 rpoifs-1197.jar
      110 -rwx------ 1 henry_katz mkpasswd 15808 Oct 31 11:20 sac-1.3.jar
      111 -rwx------ 1 henry_katz mkpasswd 332055 May 6 2008 sjsxp-1.0.1.jar
      112 -rwx------ 1 henry_katz mkpasswd 15345 Feb 13 2008 slf4j-api-1.4.3.jar
      113 -rwx------ 1 henry_katz mkpasswd 7449 Oct 16 13:25 slf4j-simple-1.4.3.jar
      114 -rwx------ 1 henry_katz mkpasswd 2838649 Oct 16 13:14 spring-2.5.jar
      115 -rwx------ 1 henry_katz mkpasswd 161270 Feb 11 2008 spring-aop-1.2.9.jar
      116 -rwx------ 1 henry_katz mkpasswd 233138 Feb 11 2008 spring-beans-1.2.9.jar
      117 -rwx------ 1 henry_katz mkpasswd 110531 Feb 11 2008 spring-context-1.2.9.jar
      118 -rwx------ 1 henry_katz mkpasswd 126101 Feb 11 2008 spring-core-1.2.9.jar
      119 -rwx------ 1 henry_katz mkpasswd 95425 Feb 11 2008 spring-dao-1.2.9.jar
      120 -rwx------ 1 henry_katz mkpasswd 187036 Feb 11 2008 spring-jdbc-1.2.9.jar
      121 -rwx------ 1 henry_katz mkpasswd 141473 Feb 11 2008 spring-remoting-1.2.9.jar
      122 -rwx------ 1 henry_katz mkpasswd 166145 Feb 11 2008 spring-support-1.2.9.jar
      123 -rwx------ 1 henry_katz mkpasswd 26514 Mar 6 2008 stax-api-1.0.1.jar
      124 -rwx------ 1 henry_katz mkpasswd 26310 Oct 16 13:24 stax-api-1.0.jar
      125 -rwx------ 1 henry_katz mkpasswd 3755 Mar 6 2008 tag-handlers-0.9.jar
      126 -rwx------ 1 henry_katz mkpasswd 2941389 Feb 11 2008 tomahawk-1.1.6.jar
      127 -rwx------ 1 henry_katz mkpasswd 2730442 Oct 1 09:19 xalan-2.7.0.jar
      128 -rwx------ 1 henry_katz mkpasswd 895924 Mar 6 2008 xercesImpl-2.4.0.jar
      129 -rwx------ 1 henry_katz mkpasswd 109318 Sep 4 09:27 xml-apis-1.0.b2.jar


      This all boils down to spring 2.5 being unable to load an aspectj method:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logoutFilter' defined in class path resource [spring-cre-web.xml]: Cannot resolve reference to bean 'rememberMeServices' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rememberMeServices' defined in class path resource [spring-cre-web.xml]: Cannot resolve reference to bean 'userDetailsService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService' defined in class path resource [spring-cre-security.xml]: Cannot resolve reference to bean 'securityManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [spring-cre-security.xml]: Cannot resolve reference to bean 'membershipDao' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'membershipDao' defined in class path resource [spring-cre-dao.xml]: Cannot resolve reference to bean 'hibernateTemplate' while setting bean property 'hibernateTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in class path resource [spring-cre-dao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring-cre-dao.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.aspectj.runtime.reflect.Factory.makeMethodSig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/aspectj/lang/reflect/MethodSignature;


      Can cactus use the more recent aspectj as per above?

      Thanks,
      Henry