Saturday, August 22, 2009

SpringSource Tool Suite 2.1.0SR01 - missing entry in pom.xml

I've just installed a new version of STS (IDE based on Eclipse that's meant to ease the development of applications based on Spring Framework) and it sure looks helpful. Especially now when they got Roo integrated with it. Roo is a tool that's been missing in Java world because of boring and repetitive task of initial configuration (creating applicationContext.xml, log4j.properties, etc ...). Now you can run HelloWorld example in a matter of seconds. There was only one problem. I had problem with this error message which caused all different kinds of problems with log4j, spring security, etc ...

The error was this:
can't determine superclass of missing type org.springframework.transaction.interceptor.TransactionAspectSupport when batch building with classpath
Thanks to guys on SpringSource forum I got this fixed by adding this entry in pom.xml file:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.transaction</artifactId>
<version>${spring.version}</version>
</dependency>

I hope Roo guys will fix this in new version ...

No comments:

Post a Comment