Error starting up OG


#1

Hi,

I have tried to start up OG server, but I am getting the follow error:

2011-09-07 20:31:54,782 [main] ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.opengamma.integration.pnlexplain.rest.DataPnlExplainProcessorResource] for bean with name ‘pnlExplainRestBean’ defined in class path resource [com/opengamma/web/web-beans.xml]; nested exception is java.lang.ClassNotFoundException: com.opengamma.integration.pnlexplain.rest.DataPnlExplainProcessorResource
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1235) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1304) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:870) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [spring-context-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [spring-context-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) [spring-web-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) [spring-web-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.4.jar:3.0.4.RELEASE]
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:645) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189) [jetty-servlet-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:978) [jetty-webapp-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:349) [jetty-webapp-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.server.Server.doStart(Server.java:228) [jetty-server-7.0.1.v20091125.jar:7.0.1.v20091125]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.0.1.v20091125.jar:7.0.1.v20091125]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_26]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [spring-context-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [spring-context-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:140) [spring-context-3.0.4.jar:3.0.4.RELEASE]
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:84) [spring-context-3.0.4.jar:3.0.4.RELEASE]
at com.opengamma.web.jetty.JettyServer.process(JettyServer.java:65) [classes/:na]
at com.opengamma.web.jetty.JettyServer.run(JettyServer.java:49) [classes/:na]
at com.opengamma.examples.startup.ExampleServer.main(ExampleServer.java:19) [classes/:na]
Caused by: java.lang.ClassNotFoundException: com.opengamma.integration.pnlexplain.rest.DataPnlExplainProcessorResource
at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [na:1.6.0_26]
at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_26]
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [na:1.6.0_26]
at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [na:1.6.0_26]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [na:1.6.0_26]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [na:1.6.0_26]