[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] AspectJ Compiler drops some classes in the output Jar file
|
hi,
I have a fairly simple aspect which I am trying to weave with a Jar file to
produce a aspect weaved output jar using the command :
ajc -injars c:\ip.jar -outjar c:\final.jar HelloAspect.java
The ip.jar is a perfectly working application jar and the weblogic
application server startups successfully with this application. But, during
the weaving of the ip.jar, there are some warning / error messages and the
output jar does not has some of the classes missing (which were there in
ip.jar). Some of the sample errors are:
HelloAspect.java:66 can not resolve this member: java.lang.String
weblogicx.xml.stream.ElementEvent.getName() [Xlint:unresolvableMember]
Any idea why this is happening ?
java.lang.String is the basic java object which does not have a chance of
not availability in a JVM.
Because the classes which result in these errors are missing in the output
jar file and the application is not deployed properly.
Any help is appreciated.
Thanks,
Ravi Varanasi
_________________________________________________________________
Access Hotmail from your mobile now.
http://server1.msn.co.in/sp03/mobilesms/ Click here.