Announcement Announcement Module
No announcement yet.
Code Set Up in Spring Source Tool Suite 2.9.2 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Code Set Up in Spring Source Tool Suite 2.9.2

    I am getting following exception while setting spring batach admin set up. I am using Tomcat 6.0.36.
    Please help me.

    INFO: Initializing Spring root WebApplicationContext
    Nov 22, 2012 3:49:51 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListe ner
    at hableApplicationContext.createBeanFactory(Abstract
    at hableApplicationContext.refreshBeanFactory(Abstrac
    at ationContext.obtainFreshBeanFactory(AbstractApplic
    at ationContext.refresh(AbstractApplicationContext.ja va:397)
    at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(
    at org.springframework.web.context.ContextLoader.init WebApplicationContext(
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized( 47)
    at org.apache.catalina.core.StandardContext.listenerS tart(
    at org.apache.catalina.core.StandardContext.start(Sta
    at org.apache.catalina.core.ContainerBase.start(Conta
    at org.apache.catalina.core.StandardHost.start(Standa
    at org.apache.catalina.core.ContainerBase.start(Conta
    at org.apache.catalina.core.StandardEngine.start(Stan
    at org.apache.catalina.core.StandardService.start(Sta
    at org.apache.catalina.core.StandardServer.start(Stan
    at org.apache.catalina.startup.Catalina.start(Catalin
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De
    at java.lang.reflect.Method.invoke(
    at org.apache.catalina.startup.Bootstrap.start(Bootst
    at org.apache.catalina.startup.Bootstrap.main(Bootstr
    Caused by: java.lang.NullPointerException
    at istableBeanFactory.<clinit>(DefaultListableBeanFac
    ... 22 more

  • #2
    To start, can we see the web.xml and any context.xml files you've created?


    • #3
      spring batch

      Originally posted by mminella View Post
      To start, can we see the web.xml and any context.xml files you've created?

      Thanks for your reply. I got this issue fixed. The problem I was facing was my server was not able to read the maven downlaoded jars. So I had to explicitly added these jars(around 20 jars) in classpath (User Libraries) of my server.

      Please suggest is there any other alternative way make these jars available to server. Setting of classpath was not working(via environment variables or command prompt.)