java.lang.IllegalStateException: Fai led to initialize JAXBContext for reading and writing portlet descriptors

Apereo Issues | Drew Wills | 4 years ago
  1. 0

    I think I've run into this issue on multiple portals at this point. Full stack trace... [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletCacheControlS erviceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreat ionException: Could not autowire method: public void org.jasig.portal.portlet.container.cache.PortletCacheControlService Impl.setPortletDefinitionRegistry(org.jasig.portal.portlet.registry.IPortletDefinitionRegistry); nested exception is org .springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDefinitionRegistry': Injecti on of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.registry.PortletDefinitionRegistryImpl.setPortalDriverContaine rServices(org.apache.pluto.container.driver.PortalDriverContainerServices); nested exception is org.springframework.bean s.factory.BeanCreationException: Error creating bean with name 'portalDriverServices': Injection of autowired dependenci es failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: publi c void org.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextService(org.apache.pluto.co ntainer.driver.PortletContextService); nested exception is org.springframework.beans.factory.BeanCreationException: Erro r creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasi g/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContex tManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and w riting portlet descriptors [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:771) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.Target.execute(Target.java:390) [java] at org.apache.tools.ant.Target.performTasks(Target.java:411) [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [java] at org.apache.tools.ant.Main.runBuild(Main.java:809) [java] at org.apache.tools.ant.Main.startAnt(Main.java:217) [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletCa cheControlServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factor y.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.container.cache.PortletCacheCon trolServiceImpl.setPortletDefinitionRegistry(org.jasig.portal.portlet.registry.IPortletDefinitionRegistry); nested excep tion is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDefinitionRegistr y': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExcept ion: Could not autowire method: public void org.jasig.portal.portlet.registry.PortletDefinitionRegistryImpl.setPortalDri verContainerServices(org.apache.pluto.container.driver.PortalDriverContainerServices); nested exception is org.springfra mework.beans.factory.BeanCreationException: Error creating bean with name 'portalDriverServices': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire me thod: public void org.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextService(org.apac he.pluto.container.driver.PortletContextService); nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/reposito ry/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPo rtletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiatio nException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: C onstructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for re ading and writing portlet descriptors [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:287) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAut owireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) [java] at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(Abstrac tApplicationEventMulticaster.java:148) [java] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationE ventMulticaster.java:86) [java] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContex t.java:324) [java] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationConte xt.java:929) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.jav a:467) [java] at org.jasig.portal.spring.PortalApplicationContextLocator$PortalApplicationContextCreator.createSinglet on(PortalApplicationContextLocator.java:190) [java] at org.jasig.portal.spring.PortalApplicationContextLocator$PortalApplicationContextCreator.createSinglet on(PortalApplicationContextLocator.java:172) [java] at org.jasig.portal.utils.threading.SingletonDoubleCheckedCreator.create(SingletonDoubleCheckedCreator.j ava:56) [java] at org.jasig.portal.utils.threading.DoubleCheckedCreator.get(DoubleCheckedCreator.java:112) [java] at org.jasig.portal.spring.PortalApplicationContextLocator.getApplicationContext(PortalApplicationContex tLocator.java:147) [java] at org.jasig.portal.security.Md5Passwd.main(Md5Passwd.java:38) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152) [java] ... 90 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void o rg.jasig.portal.portlet.container.cache.PortletCacheControlServiceImpl.setPortletDefinitionRegistry(org.jasig.portal.por tlet.registry.IPortletDefinitionRegistry); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDefinitionRegistry': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.port let.registry.PortletDefinitionRegistryImpl.setPortalDriverContainerServices(org.apache.pluto.container.driver.PortalDriv erContainerServices); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean w ith name 'portalDriverServices': Injection of autowired dependencies failed; nested exception is org.springframework.bea ns.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.container.services.Por talDriverServicesImpl.setPortletContextService(org.apache.pluto.container.driver.PortletContextService); nested exceptio n is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.j ar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.po rtlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.Illegal StateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:593) [java] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:284) [java] ... 114 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDe finitionRegistry': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.Bea nCreationException: Could not autowire method: public void org.jasig.portal.portlet.registry.PortletDefinitionRegistryIm pl.setPortalDriverContainerServices(org.apache.pluto.container.driver.PortalDriverContainerServices); nested exception i s org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalDriverServices': Injecti on of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextS ervice(org.apache.pluto.container.driver.PortletContextService); nested exception is org.springframework.beans.factory.B eanCreationException: Error creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awil ls/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/s ervices/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.B eanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletCon textManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAX BContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:287) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAut owireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLi stableBeanFactory.java:848) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultLista bleBeanFactory.java:790) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListabl eBeanFactory.java:707) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:551) [java] ... 116 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void o rg.jasig.portal.portlet.registry.PortletDefinitionRegistryImpl.setPortalDriverContainerServices(org.apache.pluto.contain er.driver.PortalDriverContainerServices); nested exception is org.springframework.beans.factory.BeanCreationException: E rror creating bean with name 'portalDriverServices': Injection of autowired dependencies failed; nested exception is org .springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.co ntainer.services.PortalDriverServicesImpl.setPortletContextService(org.apache.pluto.container.driver.PortletContextServi ce); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPo rtletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal -war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:593) [java] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:284) [java] ... 127 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalDri verServices': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCrea tionException: Could not autowire method: public void org.jasig.portal.portlet.container.services.PortalDriverServicesIm pl.setPortletContextService(org.apache.pluto.container.driver.PortletContextService); nested exception is org.springfram ework.beans.factory.BeanCreationException: Error creating bean with name 'localPortletContextManager' defined in URL [ja r:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/porta l/portlet/container/services/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.sp ringframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.ser vices.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Fai led to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:287) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAut owireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLi stableBeanFactory.java:848) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultLista bleBeanFactory.java:790) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListabl eBeanFactory.java:707) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:551) [java] ... 129 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void o rg.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextService(org.apache.pluto.container. driver.PortletContextService); nested exception is org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal /uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager .class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could n ot instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw ex ception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing p ortlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:593) [java] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:284) [java] ... 140 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPort letContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-w ar-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager.class]: Instantiation of be an failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [o rg.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(Abstract AutowireCapableBeanFactory.java:997) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abstr actAutowireCapableBeanFactory.java:943) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:485) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLi stableBeanFactory.java:848) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultLista bleBeanFactory.java:790) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListabl eBeanFactory.java:707) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:551) [java] ... 142 more [java] Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig .portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.la ng.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162) [java] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiation Strategy.java:76) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$4.run(AbstractAutowireCa pableBeanFactory.java:985) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(Abstract AutowireCapableBeanFactory.java:983) [java] ... 153 more [java] Caused by: java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl.<init>(PortletAppDescriptorServiceImp l.java:190) [java] at org.jasig.portal.portlet.container.services.LocalPortletContextManager.<init>(LocalPortletContextMana ger.java:103) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [java] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) [java] ... 157 more [java] Caused by: javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found [java] - with linked exception: [java] [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory] [java] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:147) [java] at javax.xml.bind.ContextFinder.find(ContextFinder.java:290) [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) [java] at org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl.<init>(PortletAppDescriptorServiceImp l.java:185) [java] ... 163 more [java] Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [java] at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361) [java] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311) [java] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [java] at javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:481) [java] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:113) [java] ... 167 more [java] Java Result: -1

    Apereo Issues | 4 years ago | Drew Wills
    java.lang.IllegalStateException: Fai led to initialize JAXBContext for reading and writing portlet descriptors
  2. 0

    I think I've run into this issue on multiple portals at this point. Full stack trace... [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletCacheControlS erviceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreat ionException: Could not autowire method: public void org.jasig.portal.portlet.container.cache.PortletCacheControlService Impl.setPortletDefinitionRegistry(org.jasig.portal.portlet.registry.IPortletDefinitionRegistry); nested exception is org .springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDefinitionRegistry': Injecti on of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.registry.PortletDefinitionRegistryImpl.setPortalDriverContaine rServices(org.apache.pluto.container.driver.PortalDriverContainerServices); nested exception is org.springframework.bean s.factory.BeanCreationException: Error creating bean with name 'portalDriverServices': Injection of autowired dependenci es failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: publi c void org.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextService(org.apache.pluto.co ntainer.driver.PortletContextService); nested exception is org.springframework.beans.factory.BeanCreationException: Erro r creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasi g/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContex tManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and w riting portlet descriptors [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:771) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135) [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [java] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] at org.apache.tools.ant.Task.perform(Task.java:348) [java] at org.apache.tools.ant.Target.execute(Target.java:390) [java] at org.apache.tools.ant.Target.performTasks(Target.java:411) [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [java] at org.apache.tools.ant.Main.runBuild(Main.java:809) [java] at org.apache.tools.ant.Main.startAnt(Main.java:217) [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletCa cheControlServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factor y.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.container.cache.PortletCacheCon trolServiceImpl.setPortletDefinitionRegistry(org.jasig.portal.portlet.registry.IPortletDefinitionRegistry); nested excep tion is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDefinitionRegistr y': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExcept ion: Could not autowire method: public void org.jasig.portal.portlet.registry.PortletDefinitionRegistryImpl.setPortalDri verContainerServices(org.apache.pluto.container.driver.PortalDriverContainerServices); nested exception is org.springfra mework.beans.factory.BeanCreationException: Error creating bean with name 'portalDriverServices': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire me thod: public void org.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextService(org.apac he.pluto.container.driver.PortletContextService); nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/reposito ry/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPo rtletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiatio nException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: C onstructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for re ading and writing portlet descriptors [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.s pringframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [properties/contexts/jmx Context.xml]: Cannot resolve reference to bean 'mbeanServer' while setting bean property 'arguments' with key [1]; neste d exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanServer': Pos t-processing of the FactoryBean's object failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$Reflecti onWorldException: warning can't determine modifiers of missing type com.sun.jmx.mbeanserver.JmxMBeanServer [java] [Xlint:cantFindType] [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:287) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAut owireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) [java] at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(Abstrac tApplicationEventMulticaster.java:148) [java] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationE ventMulticaster.java:86) [java] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContex t.java:324) [java] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationConte xt.java:929) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.jav a:467) [java] at org.jasig.portal.spring.PortalApplicationContextLocator$PortalApplicationContextCreator.createSinglet on(PortalApplicationContextLocator.java:190) [java] at org.jasig.portal.spring.PortalApplicationContextLocator$PortalApplicationContextCreator.createSinglet on(PortalApplicationContextLocator.java:172) [java] at org.jasig.portal.utils.threading.SingletonDoubleCheckedCreator.create(SingletonDoubleCheckedCreator.j ava:56) [java] at org.jasig.portal.utils.threading.DoubleCheckedCreator.get(DoubleCheckedCreator.java:112) [java] at org.jasig.portal.spring.PortalApplicationContextLocator.getApplicationContext(PortalApplicationContex tLocator.java:147) [java] at org.jasig.portal.security.Md5Passwd.main(Md5Passwd.java:38) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217) [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152) [java] ... 90 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void o rg.jasig.portal.portlet.container.cache.PortletCacheControlServiceImpl.setPortletDefinitionRegistry(org.jasig.portal.por tlet.registry.IPortletDefinitionRegistry); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDefinitionRegistry': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.port let.registry.PortletDefinitionRegistryImpl.setPortalDriverContainerServices(org.apache.pluto.container.driver.PortalDriv erContainerServices); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean w ith name 'portalDriverServices': Injection of autowired dependencies failed; nested exception is org.springframework.bea ns.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.container.services.Por talDriverServicesImpl.setPortletContextService(org.apache.pluto.container.driver.PortletContextService); nested exceptio n is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.j ar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.po rtlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.Illegal StateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:593) [java] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:284) [java] ... 114 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDe finitionRegistry': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.Bea nCreationException: Could not autowire method: public void org.jasig.portal.portlet.registry.PortletDefinitionRegistryIm pl.setPortalDriverContainerServices(org.apache.pluto.container.driver.PortalDriverContainerServices); nested exception i s org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalDriverServices': Injecti on of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextS ervice(org.apache.pluto.container.driver.PortletContextService); nested exception is org.springframework.beans.factory.B eanCreationException: Error creating bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awil ls/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/s ervices/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.B eanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletCon textManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAX BContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:287) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAut owireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLi stableBeanFactory.java:848) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultLista bleBeanFactory.java:790) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListabl eBeanFactory.java:707) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:551) [java] ... 116 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void o rg.jasig.portal.portlet.registry.PortletDefinitionRegistryImpl.setPortalDriverContainerServices(org.apache.pluto.contain er.driver.PortalDriverContainerServices); nested exception is org.springframework.beans.factory.BeanCreationException: E rror creating bean with name 'portalDriverServices': Injection of autowired dependencies failed; nested exception is org .springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.jasig.portal.portlet.co ntainer.services.PortalDriverServicesImpl.setPortletContextService(org.apache.pluto.container.driver.PortletContextServi ce); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPo rtletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal -war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:593) [java] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:284) [java] ... 127 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalDri verServices': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCrea tionException: Could not autowire method: public void org.jasig.portal.portlet.container.services.PortalDriverServicesIm pl.setPortletContextService(org.apache.pluto.container.driver.PortletContextService); nested exception is org.springfram ework.beans.factory.BeanCreationException: Error creating bean with name 'localPortletContextManager' defined in URL [ja r:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/porta l/portlet/container/services/LocalPortletContextManager.class]: Instantiation of bean failed; nested exception is org.sp ringframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.portal.portlet.container.ser vices.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Fai led to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:287) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAut owireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLi stableBeanFactory.java:848) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultLista bleBeanFactory.java:790) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListabl eBeanFactory.java:707) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:551) [java] ... 129 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void o rg.jasig.portal.portlet.container.services.PortalDriverServicesImpl.setPortletContextService(org.apache.pluto.container. driver.PortletContextService); nested exception is org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'localPortletContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal /uportal-war/4.0.5/uportal-war-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager .class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could n ot instantiate bean class [org.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw ex ception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing p ortlet descriptors [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:593) [java] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperty Values(AutowiredAnnotationBeanPostProcessor.java:284) [java] ... 140 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPort letContextManager' defined in URL [jar:file:/C:/Users/awills/.m2/repository/org/jasig/portal/uportal-war/4.0.5/uportal-w ar-4.0.5-classes.jar!/org/jasig/portal/portlet/container/services/LocalPortletContextManager.class]: Instantiation of be an failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [o rg.jasig.portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(Abstract AutowireCapableBeanFactory.java:997) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abstr actAutowireCapableBeanFactory.java:943) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAut owireCapableBeanFactory.java:485) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutow ireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:29 4) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB eanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLi stableBeanFactory.java:848) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultLista bleBeanFactory.java:790) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListabl eBeanFactory.java:707) [java] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElem ent.inject(AutowiredAnnotationBeanPostProcessor.java:551) [java] ... 142 more [java] Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig .portal.portlet.container.services.LocalPortletContextManager]: Constructor threw exception; nested exception is java.la ng.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162) [java] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiation Strategy.java:76) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$4.run(AbstractAutowireCa pableBeanFactory.java:985) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(Abstract AutowireCapableBeanFactory.java:983) [java] ... 153 more [java] Caused by: java.lang.IllegalStateException: Failed to initialize JAXBContext for reading and writing portlet descriptors [java] at org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl.<init>(PortletAppDescriptorServiceImp l.java:190) [java] at org.jasig.portal.portlet.container.services.LocalPortletContextManager.<init>(LocalPortletContextMana ger.java:103) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [java] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) [java] ... 157 more [java] Caused by: javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found [java] - with linked exception: [java] [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory] [java] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:147) [java] at javax.xml.bind.ContextFinder.find(ContextFinder.java:290) [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) [java] at org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl.<init>(PortletAppDescriptorServiceImp l.java:185) [java] ... 163 more [java] Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory [java] at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361) [java] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311) [java] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [java] at javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:481) [java] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:113) [java] ... 167 more [java] Java Result: -1

    Apereo Issues | 4 years ago | Drew Wills
    java.lang.IllegalStateException: Fai led to initialize JAXBContext for reading and writing portlet descriptors
  3. 0

    How to use Spring SimpleThreadScope?

    Stack Overflow | 5 years ago | stivlo
    java.lang.IllegalStateException: No Scope registered for scope 'simpleThread'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Data Neo4j - Cross store persistence

    Stack Overflow | 4 years ago | shazinltc
    java.lang.IllegalStateException: Singleton 'nodeEntityStateFactory' isn't currently in creation
  6. 0

    [SPR-4006] InitDestroyAnnotationPostProcessor triggers "No bean class specified on bean definition" - Spring JIRA

    spring.io | 11 months ago
    java.lang.IllegalStateException: No bean class specified on bean definition

  1. serious2monkeys 1 times, last 4 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Fai led to initialize JAXBContext for reading and writing portlet descriptors

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues()
  2. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    8 frames