Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] can't find type org.aspectj.lang.annotation.Before

this sounds to be another classpath issue on your setup
org.aspectj.lang.annotation.Before is in aspectjrt.jar f.e.

Alex

On 8/18/05, Valerio Schiavoni <ervalerio@xxxxxxxxxx> wrote:
>  hello
>  
>  i get this log when launching the application using ltw
>  
>  info using classpath: [/usr/java/jdk1.5.0/jre/lib/rt.jar,
> /usr/java/jdk1.5.0/jre/lib/i18n.jar,
> /usr/java/jdk1.5.0/jre/lib/sunrsasign.jar,
> /usr/java/jdk1.5.0/jre/lib/jsse.jar,
> /usr/java/jdk1.5.0/jre/lib/jce.jar,
> /usr/java/jdk1.5.0/jre/lib/charsets.jar,
> /usr/java/jdk1.5.0/jre/classes]
>  info using aspectpath: []
>  info zipfile classpath entry does not exist:
> /usr/java/jdk1.5.0/jre/lib/i18n.jar
>  info zipfile classpath entry does not exist:
> /usr/java/jdk1.5.0/jre/lib/sunrsasign.jar
>  info directory classpath entry does not exist:
> /usr/java/jdk1.5.0/jre/classes
>  info register classloader
> sun.misc.Launcher$AppClassLoader@26099296
>  info using (-Daj5.def) META-INF/aop.xml
>  info weaving
> 'org/eclipse/jdt/internal/junit/runner/RemoteTestRunner'
>  info weaver operating in reweavable mode.  Need to verify any required
> types exist.
>  error can't find type org.aspectj.lang.annotation.Before
>  error can't find type org.aspectj.lang.annotation.Before
>  warning at
> /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0
> advice defined in org.aormf.aspects.ExecutionMonitorAspect
> has not been applied [Xlint:adviceDidNotMatch]
>  info weaving 'junit/framework/TestListener'
>  info weaver operating in reweavable mode.  Need to verify any required
> types exist.
>  warning at
> /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0
> advice defined in org.aormf.aspects.ExecutionMonitorAspect
> has not been applied [Xlint:adviceDidNotMatch]
>  info weaving 'junit/framework/AssertionFailedError'
>  info weaver operating in reweavable mode.  Need to verify any required
> types exist.
>  warning at
> /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0
> advice defined in org.aormf.aspects.ExecutionMonitorAspect
> has not been applied [Xlint:adviceDidNotMatch]
>  info weaving 'junit/extensions/TestDecorator'
>  info weaver operating in reweavable mode.  Need to verify any required
> types exist.
>  warning at
> /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0
> advice defined in org.aormf.aspects.ExecutionMonitorAspect
> has not been applied [Xlint:adviceDidNotMatch]
>  info weaving 'junit/framework/Test'
>  info weaver operating in reweavable mode.  Need to verify any required
> types exist.
>  warning at
> /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0
> advice defined in org.aormf.aspects.ExecutionMonitorAspect
> has not been applied [Xlint:adviceDidNotMatch]
>  info weaving 'junit/framework/Assert'
>  info weaver operating in reweavable mode.  Need to verify any required
> types exist.
>  warning at
> /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0
> advice defined in org.aormf.aspects.ExecutionMonitorAspect
> has not been applied [Xlint:adviceDidNotMatch]
>  info weaving 'junit/framework/TestSuite'
>  info weaver operating in reweavable mode.  Need to verify any required
> types exist.
>  warning at
> /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0
> advice defined in org.aormf.aspects.ExecutionMonitorAspect
> has not been applied [Xlint:adviceDidNotMatch]
>  info weaving
> 'org/eclipse/jdt/internal/junit/runner/FailuresFirstPrioritizer'
>  
>  this is a snippet from aop.xml:
>  <weaver options="-1.5 -Xreweavable -verbose -showWeaveInfo" >
>      <exclude within="org.apache.*"/>
>      <exclude within="org.eclipse.*"/>
>          <exclude within="junit.*"/>
>  </weaver>
>  
>  1/ where that 'can't find type' come from ?
>  
>  2/ i specified to ignore classes in junit.* and org.eclipse* , but why do i
> get info about weaving those ones ?
>  
>  thanks
>  Valerio
>  
>  PS: using DEV build id: 20050818074218
>  
>  
>  
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 
>


Back to the top