1 Reply Latest reply on Mar 11, 2019 11:23 AM by darichar

    Error creating bean...

    misterwally

      Hi,

      I installed the RC 12.1 but when I try to start the sever, I get the time out error and nothing starts up.

      When I check the error logging I see this following error:

      04-Mar-2019 14:53:46.812 SEVERE [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log StandardWrapper.Throwable

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'displayOptionsController' defined in class path resource [spring/iwc-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.InternalError: java.lang.reflect.InvocationTargetException

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1163)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1107)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)

              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)

              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)

              at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)

              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)

              at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)

              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:634)

              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:682)

              at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553)

              at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)

              at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:171)

              at javax.servlet.GenericServlet.init(GenericServlet.java:158)

              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)

              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)

              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)

              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4978)

              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5290)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)

              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)

              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1140)

              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)

              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

              at java.base/java.lang.Thread.run(Thread.java:834)

      Caused by: java.lang.InternalError: java.lang.reflect.InvocationTargetException

       

      Any idea?