Spring 3.0: Unable to locate Spring NamespaceHandler for XML schema namespace

后端 未结 11 1874
鱼传尺愫
鱼传尺愫 2020-12-05 10:01

My setup is fairly simple: I have a web front-end, back-end is spring-wired.

I am using AOP to add a layer of security on my rpc services.

It\'s all good, ex

11条回答
  •  伪装坚强ぢ
    2020-12-05 10:32

    Make sure you have all dependencies solved

    I run into this problem in my first attempt at AOP, following a spring tutorial. My problem was not having spring-aop.jar in my classpath. The tutorial listed all other dependencies I had to add, namely:

    • aspectjrt.jar
    • aspectjweaver.jar
    • aspectj.jar
    • aopalliance.jar

    But the one was missing. Just one more problem that can contribute to that symptom in the original question.

    I am using Eclipse (neon), Java SE 8, beans 3.0, spring AOP 3.0, Spring 4.3.4. The problem showed in the Java view --not JEE--, and while trying to just run the application with Right button menu -> Run As -> Java Application.

提交回复
热议问题