Announcement Announcement Module
Collapse
No announcement yet.
Starting Up Tomcat Server w/ Spring in org.springframework.web.context.ContextLoaderL Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Starting Up Tomcat Server w/ Spring in org.springframework.web.context.ContextLoaderL

    I am currently trying to get Tomcat up and running. It looks as though something with Spring is going wrong. Searching around, it seems as though there is something wrong with my common-* files or something of the sort. However, nothing I've found seems very promising.

    A few things that I have understood is that I might be missing a .jar file in my WEB-INF/ folder, or that I don't have the correct DBCP version. Anything else is beyond me.

    Does anyone care to enlighten me?

    Code:
    May 07, 2012 5:48:45 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
    java.lang.VerifyError: Expecting a stackmap frame at branch target 249 in method com.expertwebdev.tribe.auth.AuthServiceImpl.loadUserByUsername(Ljava/lang/String;)Lorg/springframework/security/core/userdetails/UserDetails; at offset 0
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
        at java.lang.Class.getDeclaredConstructors(Unknown Source)
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:227)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:930)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:903)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
        at     org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    
    May 07, 2012 5:48:45 PM org.apache.catalina.core.StandardContext startInternal
    SEVERE: Error listenerStart
    May 07, 2012 5:48:45 PM org.apache.catalina.core.StandardContext startInternal
    SEVERE: Context [/utero] startup failed due to previous errors
    May 07, 2012 5:48:45 PM org.apache.catalina.core.ApplicationContext log
    INFO: Closing Spring root WebApplicationContext
    May 07, 2012 5:48:45 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-bio-8080"]
    May 07, 2012 5:48:45 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-bio-8009"]
    May 07, 2012 5:48:45 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 8901 ms

  • #2
    Hello

    Code:
    java.lang.VerifyError: Expecting a stackmap frame at branch target 249 in method 
    com.expertwebdev.tribe.auth.AuthServiceImpl.loadUserByUsername(Ljava/lang/String;) 
    Lorg/springframework/security/core/userdetails/UserDetails; at offset 0
        at java.lang.Class.getDeclaredConstructors0(Native Method)
    Seems You have a problem about versions between Spring Core and Spring Security, what versions you are using for each one?

    Comment

    Working...
    X