Do you have another version of Spring in your classpath? That's what it looks like is happening.

Matt

On Dec 6, 2007, at 4:41 AM, yuke wrote:


i just learn appfuse 2.0.1 and try to create modular struts, but i found some
problem.
I did following steps :

1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-modular-struts
-DremoteRepositories=http://static.appfuse.org/releases
-DarchetypeVersion=2.0.1 -DgroupId=com.mycompany.app - DartifactId=myproject 2. change database profile to use oracle XE, and port of jetty become 8181
3. mvn install -N,  from /core/
4. mvn clean from /
5. mvn, from /
6. mvn jetty:run-war, from /web ( at this point everything works fine)
7. mvn appfuse:full-source,  from /
8. mvn clean from /
9. mvn from /
10. mvn jetty:run-war,  from /web
and i got some errors :

2007-12-06 19:05:59.846::INFO:  No Transaction manager found - if your
webapp requires one, please configure one.
2007-12-06 19:06:00.346:/:INFO:  Initializing Spring root
WebApplicationContext
ERROR [main] ContextLoader.initWebApplicationContext(203) | Context
initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from class path resource
[applicationContext-service.xml]; nested exception is
java.lang.NoSuchMethodError:
org.springframework.beans.factory.xml.ParserContext.registerBeanCompon ent(Lorg/springframework/beans/factory/parsing/ BeanComponentDefinition;)V
Caused by:
java.lang.NoSuchMethodError:
org.springframework.beans.factory.xml.ParserContext.registerBeanCompon ent(Lorg/springframework/beans/factory/parsing/ BeanComponentDefinition;)V
        at
org.springframework.transaction.config.AnnotationDrivenBeanDefinitionP arser$AopAutoProxyConfigurer.configureAutoProxyCreator (AnnotationDrivenBeanDefinitionParser.java:130)
        at
org.springframework.transaction.config.AnnotationDrivenBeanDefinitionP arser.parse(AnnotationDrivenBeanDefinitionParser.java:79)
        at
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse (NamespaceHandlerSupport.java:69)

----------->8 (deleted)

is there any steps that i missed ?
how to make  jetty:run-war runs well after appfuse:full-source ?

best regards,
Yuke



--
View this message in context: http://www.nabble.com/failed-after- mvn-appfuse%3Afull-source-tf4955813s2369.html#a14191599
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to