[jboss-user] [JBoss AOP] - Exception with maven-jbossaop-plugin
hutchinsons
do-not-reply at jboss.com
Thu Dec 11 06:50:12 EST 2008
Hi,
I have successfully used the plugin to build a simlple test project however I am trying to use the plugin within the life cycle of a more complex project and I am getting an Error.
Here is my plugin definition
| <plugin>
| <groupId>org.jboss.maven.plugins</groupId>
| <artifactId>maven-jbossaop-plugin</artifactId>
| <version>1.0.0.GA</version>
| <executions>
| <execution>
| <id>compile</id>
| <configuration>
| <aoppaths>
| <aoppath>src/main/resources/jboss-aop.xml</aoppath>
| </aoppaths>
| </configuration>
| <goals>
| <goal>compile</goal>
| </goals>
| </execution>
| </executions>
| </plugin>
|
However when the goal is executed I keep getting the following error message
[INFO] [jbossaop:compile {execution: compile}]
[ERROR] Exception in thread "main" java.lang.RuntimeException: javassist.NotFoundException: org.springframework.validation.Validator
[ERROR] at org.jboss.aop.AspectManager.translate(AspectManager.java:1062)
[ERROR] at org.jboss.aop.AspectManager.transform(AspectManager.java:993)
[ERROR] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:391)
[ERROR] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:243)
[ERROR] at org.jboss.aop.standalone.Compiler.main(Compiler.java:88)
[ERROR] Caused by: javassist.NotFoundException: org.springframework.validation.Validator
[ERROR] at javassist.ClassPool.get(ClassPool.java:436)
[ERROR] at javassist.CtClassType.getInterfaces(CtClassType.java:634)
[ERROR] at org.jboss.aop.instrument.Instrumentor.isTransformable(Instrumentor.java:211)
[ERROR] at org.jboss.aop.ClassicWeavingStrategy.translate(ClassicWeavingStrategy.java:101)
[ERROR] at org.jboss.aop.AspectManager.translate(AspectManager.java:1051)
[ERROR] ... 4 more
Could someone pease give me an idea as to what might be causing this error and how I might work around it.
Kind regards
Si
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195895#4195895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195895
More information about the jboss-user
mailing list