Re: [Spring-beandoc-user] BeanDocException
Status: Beta
Brought to you by:
davison
From: Jan T. <jan...@co...> - 2009-09-23 14:38:14
|
Hi Nestor, there are some missing libs in the lib directoy of your extracted beandoc zip. Just copy the libraries: spring-tx.jar and spring-aop.jar from the springframework.zip (http://www.springsource.com/download/community) into your lib directory that should solve the problem. Regards, Jan On Mo, 2009-09-21 at 09:36 +0200, Nestor Tarin Burriel - nes...@gm... wrote: > Hi All, > > I'm testing BeanDoc and I'm getting this exception when trying to run > the jpetstore sample: > > $./bin/run.sh samples/jpetstore-beandoc.properties > > Unable to run beandoc tool; > org.springframework.beandoc.BeanDocException: Unable to parse or > validate input resource [applicationContext.xml] > at > org.springframework.beandoc.DefaultContextProcessor.buildDomsFromInputFiles(DefaultContextProcessor.java:304) > at > org.springframework.beandoc.DefaultContextProcessor.process(DefaultContextProcessor.java:198) > at > org.springframework.beandoc.client.BeanDocClient.main(BeanDocClient.java:177) > Caused by: > org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop] > Offending resource: file > [/home/nestor/Software/spring-beandoc-0.9.0/samples/jpetstore/applicationContext.xml] > [...] |