this problem is seen to me. the answer is come from this website. http://www.pben.cn/main.bbscs?action=read&bid=33&postID=8a8a8a8f16aebddb0116afde716102c2
you had better to do step and step to by the document! http://www.pben.cn/main.bbscs?action=read&bid=33&postID=8a8a8a8f16aebddb0116afde716102c2 http://www.pben.cn/main.bbscs?action=read&bid=33&postID=8a8a8a8f16aebddb0116afde716102c2 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.registerBeanComponent(Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;)V > Caused by: > java.lang.NoSuchMethodError: > org.springframework.beans.factory.xml.ParserContext.registerBeanComponent(Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;)V > at > org.springframework.transaction.config.AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigurer.configureAutoProxyCreator(AnnotationDrivenBeanDefinitionParser.java:130) > at > org.springframework.transaction.config.AnnotationDrivenBeanDefinitionParser.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 > > > > :working: -- View this message in context: http://www.nabble.com/failed-after-mvn-appfuse%3Afull-source-tf4955813s2369.html#a14193334 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
