Do you have any classes/jars in your system classpath? We haven't
seen this issue from other users so I suspect it may be your
environment.
Matt
On Nov 23, 2007, at 6:11 PM, emmby wrote:
Trying to create a fresh AppFuse 2.0 spring MVC app. As per
quickstart on
http://appfuse.org/display/APF/AppFuse+QuickStart I ran the following
command
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-spring
-DremoteRepositories=http://static.appfuse.org/releases
-DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -
DartifactId=myproject
However, I get the following error when starting up Tomcat during the
install (in cargo:start)
[INFO] [talledLocalContainer] INFO: Initializing Spring root
WebApplicationContext
[INFO] [talledLocalContainer] [swap] ERROR [main]
ContextLoader.initWebApplicationContext(208) | Context
initialization failed
[INFO] [talledLocalContainer] java.lang.NoSuchFieldError: TRACE
[INFO] [talledLocalContainer] at
org.slf4j.impl.Log4jLoggerAdapter.log(Log4jLoggerAdapter.java:492)
[INFO] [talledLocalContainer] at
org.apache.commons.logging.impl.SLF4JLocationAwareLog.trace
(SLF4JLocationAwareLog.java:78)
[INFO] [talledLocalContainer] at
org.springframework.core.CollectionFactory.createConcurrentMapIfPossib
le(CollectionFactory.java:186)
[INFO] [talledLocalContainer] at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
.<init>(DefaultSingletonBeanRegistry.java:82)
[INFO] [talledLocalContainer] at
org.springframework.beans.factory.support.AbstractBeanFactory.<init>
(AbstractBeanFactory.java:142)
[INFO] [talledLocalContainer] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
actory.<init>(AbstractAutowireCapableBeanFactory.java:132)
[INFO] [talledLocalContainer] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
actory.<init>(AbstractAutowireCapableBeanFactory.java:143)
[INFO] [talledLocalContainer] at
org.springframework.beans.factory.support.DefaultListableBeanFactory.<
init>(DefaultListableBeanFactory.java:99)
[INFO] [talledLocalContainer] at
org.springframework.context.support.AbstractRefreshableApplicationCont
ext.createBeanFactory(AbstractRefreshableApplicationContext.java:144)
[INFO] [talledLocalContainer] at
org.springframework.context.support.AbstractRefreshableApplicationCont
ext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:99)
[INFO] [talledLocalContainer] at
org.springframework.context.support.AbstractApplicationContext.obtainF
reshBeanFactory(AbstractApplicationContext.java:389)
[INFO] [talledLocalContainer] at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:324)
[INFO] [talledLocalContainer] at
org.springframework.web.context.ContextLoader.createWebApplicationCont
ext(ContextLoader.java:244)
[INFO] [talledLocalContainer] at
org.springframework.web.context.ContextLoader.initWebApplicationContex
t(ContextLoader.java:187)
...
This is a brand new project using java 1.5.0_13 and mvn 2.0.6.
I've tried
cleaning out my .m2/repository but that didn't help. I also tried
creating
a JSF Basic project, and that worked just fine, so I suspect the
problem is
with the Spring MVC Basic archetype.
Does anyone have any suggestions how I can get around this?
Cheers
Mike
--
View this message in context: http://www.nabble.com/NoSuchFieldError
%3A-TRACE-while-installing-fresh-Spring-MVC-Basic-archetype-
tf4864533s2369.html#a13920974
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]