intellij-ideaaspectj

IDEA 10.5.2 Aspectj compiler - can't determine superclass of missing type org.springframework.transaction.interceptor.TransactionAspectSupport


Trying to make a module with spring aspects gives me:

can't determine superclass of missing type org.springframework.transaction.interceptor.TransactionAspectSupport

Works in other modules, what's up with this one? Missing dep?

/S


Solution

  • You'll need to add the spring-tx dependency to clear this:

    http://mvnrepository.com/artifact/org.springframework/spring-tx

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
            <version>${spring.version}</version>
        </dependency>