Back Forum Reply New

aop:aspectj-autoproxy no declaration can be found

.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
Although i put the aop schemaLocation, the same error is thrown.

Anybody has found the same problem? Thank you very much.

I wish that schemaLocation doesn't try to download the schema because then my ****** proxy are treading me.

I don't see any aop schemalocation. You only have the schema location of the default beans.xsd. Also since release 2.0rc2 the names of the xsd files changed. Code:
lt;beans xmlns=quot;schema/beansquot;
xmlns:xsi=quot;2001/XMLSchema-instancequot;   xmlns:aop=quot;schema/aopquot;   xmlns:tool=quot;schema/toolquot;          xsi:schemaLocation=quot;    schema/beans schema/beans/spring-beans-2.0.xsd    schema/tool schema/tx/spring-tool-2.0.xsd
schema/aop schema/aop/spring-aop-2.0.xsdquot;gt;
Change your header to that and it should work.
¥
Back Forum Reply New