ran1036877493
2015-04-06 12:30
采纳率: 100%
浏览 2.6k
已采纳

AspectJ Internal Compiler Error

图片说明

有哪位大神知道这是什么原因不???跪求啊!!!!

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

5条回答 默认 最新

  • qq_27186651 2015-04-06 12:52
    已采纳

    at org.aspectj.weaver.patterns.AndPointcut.matchInternal(AndPointcut.java:55)
    at org.aspectj.weaver.patte ... ABLE$t$test$TankWar$Dir [I

    已采纳该答案
    评论
    解决 无用
    打赏 举报
  • threenewbee 2015-04-06 12:32

    aspectj织入你的代码的时候出错,但是信息有限。
    你点details显示什么呢?

    评论
    解决 无用
    打赏 举报
  • ran1036877493 2015-04-06 12:51

    java.lang.NullPointerException
    at org.aspectj.weaver.Shadow.getGenericArgTypes(Shadow.java:183)
    at org.aspectj.weaver.patterns.ArgsPointcut.getArgumentsToMatchAgainst(ArgsPointcut.java:86)
    点击details显示的结果如下:不懂什么意思啊!!!
    at org.aspectj.weaver.patterns.ArgsPointcut.matchInternal(ArgsPointcut.java:75)
    at org.aspectj.weaver.patterns.Pointcut.match(Pointcut.java:137)
    at org.aspectj.weaver.patterns.AndPointcut.matchInternal(AndPointcut.java:55)
    at org.aspectj.weaver.patte ... ABLE$t$test$TankWar$Dir [I
    ARETURN
    end static int[] $SWITCH_TABLE$t$test$TankWar$Dir()
    end public class t.test.TankWar.Tank

    评论
    解决 无用
    打赏 举报
  • ran1036877493 2015-04-06 12:55

    还有运行时显示的情况如下:
    2015-4-6 20:19:48 org.springframework.context.support.AbstractApplicationContext prepareRefresh
    信息: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@8916a2: display name [org.springframework.context.support.ClassPathXmlApplicationContext@8916a2]; startup date [Mon Apr 06 20:19:48 CST 2015]; root of context hierarchy
    2015-4-6 20:19:48 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
    信息: Loading XML bean definitions from class path resource [beans.xml]
    2015-4-6 20:19:48 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
    信息: Loading XML bean definitions from class path resource [applicationContext-as1428319601675.xml]
    2015-4-6 20:19:48 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
    信息: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@8916a2]: org.springframework.beans.factory.support.DefaultListableBeanFactory@9b42e6
    2015-4-6 20:19:49 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
    信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@9b42e6: defining beans [org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,TankClient,Tank,Wall,timeHandler,autoProxyCreator,timeHandlerAdvisor]; root of factory hierarchy
    Exception in thread "main" org.aspectj.lang.NoAspectBoundException: Exception while initializing com_ts_monitor_aop_aop_reflectParaTest: org.aspectj.lang.NoAspectBoundException: Exception while initializing com_ts_monitor_aop_reflectParaTest: org.aspectj.lang.NoAspectBoundException: com_ts_monitor_aop_aop_reflectParaTest
    at com.ts.monitor.aop.aop.reflectParaTest.aspectOf(reflectParaTest.aj:1)
    at t.test.TankWar.TankClient.main(TankClient.java:41)
    Caused by: org.aspectj.lang.NoAspectBoundException: Exception while initializing com_ts_monitor_aop_reflectParaTest: org.aspectj.lang.NoAspectBoundException: com_ts_monitor_aop_aop_reflectParaTest
    at com.ts.monitor.aop.reflectParaTest.aspectOf(reflectParaTest.aj:1)
    at com.ts.monitor.aop.aop.reflectParaTest.(reflectParaTest.aj:9)
    ... 1 more
    Caused by: org.aspectj.lang.NoAspectBoundException: com_ts_monitor_aop_aop_reflectParaTest
    at com.ts.monitor.aop.aop.reflectParaTest.aspectOf(reflectParaTest.aj:1)
    at com.ts.monitor.aop.reflectParaTest.(reflectParaTest.aj:18)
    ... 2 more
    ,,,请问这是aspectj插件安装的有问题吗??我是新手对这方面了解的不多,希望多帮帮忙啊,,

    评论
    解决 无用
    打赏 举报
  • ran1036877493 2015-04-06 13:01

    图片说明
    这是运行后显示的异常截图。。

    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题