Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
With org.aspectj:aspectjweaver:1.6.10 or higher (we're using 1.6.11 currently), it throws AssertionError when running JUnit tests.
(This error happens only when running JUnit tests in our case. I've confirmed it's working fine at runtime in cargo/tomcat.)
So, it should be downgraded to 1.6.9.
For more information, see:
- http://alexshabanov.com/2011/06/29/spring-and-aspectj/
- http://www.progtown.com/topic336484-spring-305aspectj-1610-assert-in-unresolvedtype.html
- http://code.google.com/p/xebia-france/source/browse/training/xebia-petclinic/trunk/pom.xml?spec=svn1779&r=1779
Those articles above mention spring 3.0.5 but I confirmed that the same problem happens and the suggested solution work in 3.0.4, too.
Attachments
Issue Links
- causes
-
HSTTWO-2025 Fix the hst-jaxrs unit tests while at the same time enable logging in the HstParameterInfoProxyFactoryImpl again
- Closed