Announcement Announcement Module
Collapse
No announcement yet.
STS 3.1.0.RELEASE not working out of the box for creating SPRING MVC Application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS 3.1.0.RELEASE not working out of the box for creating SPRING MVC Application

    Hi,

    Here is what I did:
    1. I downloaded STS 3.1.0
    2. I created a Spring MVC application using the template in STS. No new code has been added from my side yet.
    3. I did a build of the Spring MVC application within STS and that worked without a problem
    4. I deployed the MVC application to the bundled server: “VMWare vFabric tc Server Developer Edition v2.7” and attempted to start it.

    But I am getting following error:
    <code>
    ERROR: org.springframework.web.context.ContextLoader - Context initialization failed
    java.lang.NoClassDefFoundError: org/springframework/expression/PropertyAccessor
    at org.springframework.context.support.AbstractApplic ationContext.prepareBeanFactory(AbstractApplicatio nContext.java:538)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:439)
    at org.springframework.web.context.ContextLoader.conf igureAndRefreshWebApplicationContext(ContextLoader .java:385)
    at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:284)
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 111)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:4791)
    at org.apache.catalina.core.StandardContext.startInte rnal(StandardContext.java:5285)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:618)
    </code>

    I am new to spring. Also I am not able to move forward.

    Can anyone please help me in resolving this issue?

    Regards,
    Lalit
Working...
X