Hi,

I've been installed appfuse - struts basic archetype version - this
afternoon
on 2 differents machines (both on windows).
On one, appfuse run fine, and on the other, I had an error which looks quite
similar (failling loading Spring context).
Both machines have JDK 6.0 and same maven version installed.

Precision: it fails when running 'mvn install' step.

Marc



2008/4/13, jackalista <[EMAIL PROTECTED]>:
>
>
> 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.
> --
> View this message in context:
> http://www.nabble.com/BeanDefinitionStoreException%3A-Unexpected-exception-parsing-XML-...-applicationContext-service.xml-tp16660149s2369p16660149.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]
>
>

Reply via email to