Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] JAR files present in Manifest.mf is not considered in classpath

Hello 

We upgraded our product to support JDK 1.7 from currently supported version 1.6. We observed that aspectJ will also be upgraded as we were facing some issues and upgraded to the latest version of AspectJ i.e. 1.7.1. 

However after upgrading to the latest version we started getting errors : 

can't determine whether missing type ObjectCannotBeDeletedException is an instance of AccreditationModel 
-2012.12.28 11:23:05       [exec]      [iajc] when weaving type AccreditationImpl 
-2012.12.28 11:23:05       [exec]      [iajc] when weaving classes 
-2012.12.28 11:23:05       [exec]      [iajc] when weaving 
-2012.12.28 11:23:05       [exec]      [iajc] when batch building BuildConfig[null] #Files=1 AopXmls=#0 
-2012.12.28 11:23:05       [exec]      [iajc]  [Xlint:cantFindType] 

After analyzing the problem for few hours we noticed that jar files mentioned in manifest.mf file has been not considered by aspectJ task and we need to explicitly define the jars in the CLASSPATH. 

However it was working fine with the earlier version of JDK and AspectJ. 

Please suggest if there is any flag to enable it. 

Thanks & Regards
SANDEEP WADHWA
Application Architect - CSC

Back to the top