by way of confirmation I have no passwd enabled for the DB and was still seeing this. I'm going yto have another go at it for a moment now and will post back if I get anything useful.
Arash.R wrote: > > I do have the same issue. I have tried the same steps thinking it might be > firewall or it might be due to the fact that I have password enabled for > my database and Appfuse assumption is root with no password. > I turned off proxy, added root password to pom.xml, made jetty run on > different port and it always fails on loading context. > > > > jackalista wrote: >> >> Hi, >> >> I am getting a strange error creating a new project that I suspect may >> have something to do with dependencies after reading about other >> occurrences of this exception but they are all old posts. I'm following >> the quick start steps, running this for a struts modular archetype: >> >> 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes >> -DarchetypeArtifactId=appfuse-modular-struts >> -DremoteRepositories=http://static.appfuse.org/releases >> -DarchetypeVersion=2.0.1 -DgroupId=org.appfuse.wxyz -DartifactId=wxyz >> >> 2. cd core and run "mvn". >> 3. run mvn install (also tried mvn -U install from Mike H.'s advice in >> archives, but it made no difference later, it always fails loading Spring >> context) >> 3. cd ..\web and run "mvn jetty:run-war" >> >> At this point I get a BeanDefinitionStoreException about >> applicationContext-service.xml referencing a NoSuchMethodError and it >> can't load the context. I found ref's in the archives about this being > >> 1 versions of Spring (2.5 and 2.0.5) getting pulled in and some folks >> having similar problems with mvn war:inplace but these are from much >> older dist's (2.0M3, etc.) and I didn't run the in-place command, just >> the regular project creation steps. I *may* have fouled something on my >> machine by trying JDK 6 first but I've tried to clear out all evidence of >> that and reverted to JDK 1.5_15. >> >> I also tried the steps at this link: >> http://www.pben.cn/main.bbscs?action=read&bid=33&postID=8a8a8a8f16aebddb0116afde716102c2 >> >> namely: >> >> 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 / >> >> And I get the same Spring error in a web test during step 5. One thing >> is that I first tried running JDK 6 on this (new) machine, but backed off >> when I started seeing these problems but reverting to JDK1.5_15 didn't >> help. I also tried deleting everything from the repository in my home >> dir (win32) which caused all kinds of stuff to get downloaded but >> resulted in the same error. >> >> Any clues as to what's wrong here? I looked in a couple of the pom.xml >> files and found no reference to Spring 2.0.5 as was suggested in the >> archives when somebody got this exception, but that was an older dist. >> Here's the beginning of the exception as caused by the "mvn" from "/": >> >> ----------------------------------------------------------------- >> [INFO] [talledLocalContainer] [wxyz] ERROR [main] >> ContextLoader.initWebApplicationContext(203) | Context initialization >> failed >> [INFO] [talledLocalContainer] >> org.springframework.beans.factory.BeanDefinitionStoreException: >> Unexpected exception parsing XML doc >> ument from class path resource [applicationContext-service.xml]; nested >> exception is java.lang.NoSuchMethodError: org.springframew >> ork.beans.factory.xml.ParserContext.registerBeanComponent(Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;)V >> [INFO] [talledLocalContainer] Caused by: >> [INFO] [talledLocalContainer] java.lang.NoSuchMethodError: >> org.springframework.beans.factory.xml.ParserContext.registerBeanCompone >> nt(Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;)V >> [INFO] [talledLocalContainer] at >> org.springframework.transaction.config.AnnotationDrivenBeanDefinitionParser$AopAutoProxyConfigu >> rer.configureAutoProxyCreator(AnnotationDrivenBeanDefinitionParser.java:130) >> [INFO] [talledLocalContainer] at >> org.springframework.transaction.config.AnnotationDrivenBeanDefinitionParser.parse(AnnotationDri >> venBeanDefinitionParser.java:79) >> [INFO] [talledLocalContainer] at >> org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.jav >> a:69) >> [INFO] [talledLocalContainer] at >> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefin >> itionParserDelegate.java:1114) >> [INFO] [talledLocalContainer] at >> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefin >> itionParserDelegate.java:1104) >> > > -- View this message in context: http://www.nabble.com/BeanDefinitionStoreException%3A-Unexpected-exception-parsing-XML-...-applicationContext-service.xml-tp16660274s2369p16714310.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
