{"action":"created","issue":{"url":"https://api.github.com/repos/apereo/cas/issues/2158","repository_url":"https://api.github.com/repos/apereo/cas","labels_url":"https://api.github.com/repos/apereo/cas/issues/2158/labels{/name}","comments_url":"https://api.github.com/repos/apereo/cas/issues/2158/comments","events_url":"https://api.github.com/repos/apereo/cas/issues/2158/events","html_url":"https://github.com/apereo/cas/issues/2158","id":193257517,"number":2158,"title":"when I deploy cas.war(v 5.0.0) to tomcat8 has encountered some errors. ","user":{"login":"estn","id":1539613,"avatar_url":"https://avatars.githubusercontent.com/u/1539613?v=3","gravatar_id":"","url":"https://api.github.com/users/estn","html_url":"https://github.com/estn","followers_url":"https://api.github.com/users/estn/followers","following_url":"https://api.github.com/users/estn/following{/other_user}","gists_url":"https://api.github.com/users/estn/gists{/gist_id}","starred_url":"https://api.github.com/users/estn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estn/subscriptions","organizations_url":"https://api.github.com/users/estn/orgs","repos_url":"https://api.github.com/users/estn/repos","events_url":"https://api.github.com/users/estn/events{/privacy}","received_events_url":"https://api.github.com/users/estn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-03T01:53:22Z","updated_at":"2016-12-04T18:39:53Z","closed_at":null,"body":"Evn : \r\n```\r\nCAS Version: 5.0.0\r\nJava Vendor: Oracle Corporation\r\nJava Version: 1.8.0_20\r\nJCE Installed: no\r\nOS Architecture: x86_64\r\nOS Name: Mac OS X\r\nOS Version: 10.10.2\r\nServer version: Apache Tomcat/8.5.6\r\n```\r\nSteps:\r\n1. git clone cas-overlay-template \r\n2. mvn install \r\n3. copy cas.war to tomcat \r\n4. start tomcat\r\n5. tomcat throw error \r\n\r\nerror like that\r\n```java\r\n2016-12-03 09:40:48,449 ERROR [org.springframework.boot.SpringApplication] - <Application startup failed\r\njava.lang.VerifyError: Bad return type\r\nException Details:\r\n  Location:\r\n    org/apereo/cas/config/CasCoreWebConfiguration.messageSource()Lorg/springframework/context/support/AbstractResourceBasedMessageSource; @79: areturn\r\n  Reason:\r\n    Type 'org/apereo/cas/web/view/CasReloadableMessageBundle' (current frame, stack[0]) is not assignable to 'org/springframework/context/support/AbstractResourceBasedMessageSource' (from method signature)\r\n  Current Frame:\r\n    bci: @79\r\n    flags: { }\r\n    locals: { 'org/apereo/cas/config/CasCoreWebConfiguration', 'org/apereo/cas/web/view/CasReloadableMessageBundle' }\r\n    stack: { 'org/apereo/cas/web/view/CasReloadableMessageBundle' }\r\n  Bytecode:\r\n    0x0000000: bb00 0559 b700 064c 2b2a b400 07b6 0008\r\n    0x0000010: b600 09b6 000a 2b2a b400 07b6 0008 b600\r\n    0x0000020: 0bb6 000c 2b2a b400 07b6 0008 b600 0db6\r\n    0x0000030: 000e 2b2a b400 07b6 0008 b600 0fb6 0010\r\n    0x0000040: 2b2a b400 07b6 0008 b600 11b6 0012 2bb0\r\n    0x0000050:\r\n\r\n\tat java.lang.Class.getDeclaredMethods0(Native Method)\r\n\tat java.lang.Class.privateGetDeclaredMethods(Class.java:2688)\r\n\tat java.lang.Class.getDeclaredMethods(Class.java:1962)\r\n\tat org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:612)\r\n\tat org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:524)\r\n\tat org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:510)\r\n\tat org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:570)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:683)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:627)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:597)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1445)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:975)\r\n\tat org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:320)\r\n\tat org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanType(BeanTypeRegistry.java:309)\r\n\tat org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:290)\r\n\tat org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:184)\r\n\tat org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:173)\r\n\tat org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:141)\r\n\tat org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:114)\r\n\tat org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47)\r\n\tat org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102)\r\n\tat org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator.shouldSkip(ConfigurationClassBeanDefinitionReader.java:436)\r\n\tat org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator.shouldSkip(ConfigurationClassBeanDefinitionReader.java:425)\r\n\tat org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:127)\r\n\tat org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116)\r\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333)\r\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)\r\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)\r\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)\r\n\tat org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520)\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)\r\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:315)\r\n\tat org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)\r\n\tat org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)\r\n\tat org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)\r\n\tat org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)\r\n\tat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)\r\n\tat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n>\r\n2016-12-03 09:40:48,461 WARN [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext] - <Exception thrown from LifecycleProcessor on context close\r\njava.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6931a948: startup date [Sat Dec 03 09:40:44 CST 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7e0d0d62\r\n\tat org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:415)\r\n\tat org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:975)\r\n\tat org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:934)\r\n\tat org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:818)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:326)\r\n\tat org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)\r\n\tat org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)\r\n\tat org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)\r\n\tat org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)\r\n\tat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)\r\n\tat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n>\r\n03-Dec-2016 09:40:48.462 严重 [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:\r\n org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-5.0]]\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)\r\n\tat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)\r\n\tat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.VerifyError: Bad return type\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/apereo/cas/issues/comments/264721804","html_url":"https://github.com/apereo/cas/issues/2158#issuecomment-264721804","issue_url":"https://api.github.com/repos/apereo/cas/issues/2158","id":264721804,"user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"created_at":"2016-12-04T18:39:53Z","updated_at":"2016-12-04T18:39:53Z","body":"You probably need to make sure your java environment is updated. "}}
{"actor":{"display_login":"mmoayyed"}}