<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Spring Startup errors, and POM Dependencies in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22757#M10988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're using version 2.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible, could you write a small self-contained unit test (ie project with unit test + pom), such that I can reprocude exactly your problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Sep 2010 08:02:33 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2010-09-23T08:02:33Z</dc:date>
    <item>
      <title>Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22751#M10982</link>
      <description>Hi,I found two more issues (well, till now!), I thought I'd let you know:1. When using Activiti with Spring, there should be dependencies added for "asm" and "slf4j" too, in the POM.XML file. Otherwise, the jar files are not downloaded and included, and NoClassDefFound will be thorwn. Here's what I</description>
      <pubDate>Sun, 19 Sep 2010 11:35:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22751#M10982</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-09-19T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22752#M10983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure? These are the dependencies we have when using Sping and Activiti:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;dependencies&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;activiti-engine&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;spring-context&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;spring-jdbc&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;spring-tx&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;junit&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;junit&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;cglib&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;cglib&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;junit&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;junit&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt; &amp;lt;/dependencies&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 08:02:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22752#M10983</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-20T08:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22753#M10984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I set my POM dependencies exactly as you mentioned above (and elsewhere on your website) and Spring complained when instantiating the processEngine bean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I added the first one (asm), there was an error about slf4j, and when I added the second one, it worked. I tested it, and even deployed a bar, everything working alright.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(although it was after the issue number 2, but I didn't change the code at all, and my code wasn't dependent on those two. The errors actually happened when the process engine was being created from the config.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing that was different from your POM XML in mine, was that my &amp;lt;dependency&amp;gt; elements have &amp;lt;version&amp;gt; too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it affect the issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 20:05:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22753#M10984</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-09-20T20:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22754#M10985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The version could have an influence (ie an older or newer version that needs other dependencies).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version of Spring are you using? The Spring version we test against is 3.0.3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 07:51:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22754#M10985</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-21T07:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22755#M10986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was using 2.5.6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right, since dependency's pom can be different in new versions, it might affect both issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will test against 3.0.3 to make sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you tell me the cglib version you use too? I guess the cglib's version can't affect this, since it is "provided". Am I right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 08:58:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22755#M10986</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-09-21T08:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22756#M10987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked again with Spring version set to 3.0.3.RELEASE, and "asm" and "slf4j" dependencies removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the exception trace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at net.sf.cglib.proxy.Enhancer.&amp;lt;clinit&amp;gt;(Enhancer.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Class.forName0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Class.forName(Class.java:247)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:191)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:91)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.io.Resources.classForName(Resources.java:229)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.builder.xml.XMLConfigBuilder.safeCglibCheck(XMLConfigBuilder.java:171)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.builder.xml.XMLConfigBuilder.settingsElement(XMLConfigBuilder.java:159)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:66)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:55)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSessionFactory.createSessionFactory(DbSqlSessionFactory.java:130)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSessionFactory.configurationCompleted(DbSqlSessionFactory.java:115)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cfg.ProcessEngineConfiguration.notifyConfigurationComplete(ProcessEngineConfiguration.java:208)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cfg.ProcessEngineConfiguration.configurationComplete(ProcessEngineConfiguration.java:188)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cfg.ProcessEngineConfiguration.buildProcessEngine(ProcessEngineConfiguration.java:171)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it's because of my cglib version. It's 2.1.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which cglib version do you use?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 13:46:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22756#M10987</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-09-22T13:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22757#M10988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're using version 2.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible, could you write a small self-contained unit test (ie project with unit test + pom), such that I can reprocude exactly your problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 08:02:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22757#M10988</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-23T08:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22758#M10989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Of course, I will try to do so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this is not a problem for me, I just have added the two dependencies and everything is working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will send the unit test to you as soon as I can re-create the issue in a separate project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 22:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22758#M10989</guid>
      <dc:creator>iravanchi</dc:creator>
      <dc:date>2010-09-23T22:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Spring Startup errors, and POM Dependencies</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22759#M10990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i created &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-173" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-173&lt;/A&gt;&lt;SPAN&gt; : we should add the dependency trees as documentation to the examples that contain the libs.&amp;nbsp; Maybe even in the docs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 07:12:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-startup-errors-and-pom-dependencies/m-p/22759#M10990</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-09-27T07:12:04Z</dc:date>
    </item>
  </channel>
</rss>

