User development,
A new message was posted in the thread "ClassNotFound error for classes in spring
archives lib directory":
http://community.jboss.org/message/522865#522865
Author : Mike Karrys
Profile :
http://community.jboss.org/people/mikekarrys
Message:
--------------------------------------------------------------
Marius
After what you said I looked at the jboss-spring.xml that was in the deployed ear and it
was wrong. I had to clear my Maven local repository before it would include the correct
version. But anyway that is a Maven problem.
But now I get the following error at deployment.
DEPLOYMENTS IN ERROR:
Deployment
"vfszip:/C:/Applications/jboss-5.1.0.GA/server/default/deploy/avm-ear.ear/" is
in error due to the following reason(s): org.xml.sax.S
AXParseException: cvc-complex-type.3.2.2: Attribute 'weaverclass' is not allowed
to appear in element 'context:load-time-weaver'.
I have included the top my jboss-spring.xml file. I am actually not sure how to use the
JBoss5LoadTimeWeaver so I'm not even sure if this is the correct way or situation to
use it. Can you give any insight into how and when to use the JBoss5LoadTimeWeaver?
Thanks in advance,
Mike
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522865#522865