kylin的7070 端口无法通过web访问

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

kylin的7070 端口无法通过web访问

Jack-2
我安装了kylin-2.0.0版本,可以启动,7070端口也正常,就是无法通过web
通过查看日志信息如下:劳烦指点一二  谢谢!祝工作愉快!
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcContentNegotiationManager': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.config.internalCacheAdvisor': Cannot resolve reference to bean 'org.springframework.cache.annotation.AnnotationCacheOperationSource#0' while setting bean property 'cacheOperationSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.annotation.AnnotationCacheOperationSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.methodSecurityMetadataSourceAdvisor': Cannot resolve reference to bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean '(inner bean)#fd6ee07' of type [org.springframework.security.access.prepost.PrePostAnnotationSecurityMetadataSource] while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#fd6ee07': Cannot create inner bean '(inner bean)#714983e0' of type [org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#714983e0': Cannot resolve reference to bean 'expressionHandler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'expressionHandler' defined in class path resource [kylinSecurity.xml]: Cannot resolve reference to bean 'permissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionEvaluator' defined in class path resource [kylinSecurity.xml]: Cannot resolve reference to bean 'aclService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.apache.kylin.rest.service.UserService org.apache.kylin.rest.service.AclService.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/client/HConnection;)V
Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'mvcContentNegotiationManager': Requested bean is currently in creation: Is there an unresolvable circular reference?
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:454)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:618)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: kylin的7070 端口无法通过web访问

shaofengshi
The root cause is "java.lang.NoSuchMethodError: org.apache.hadoop.hbase.
client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/client/HConnection;)"

Mismatched HBase version. This is a frequently asked question. You can do a
search first.

2017-08-09 15:34 GMT+08:00 Jack <[hidden email]>:

> 我安装了kylin-2.0.0版本,可以启动,7070端口也正常,就是无法通过web
> 通过查看日志信息如下:劳烦指点一二  谢谢!祝工作愉快!
> SEVERE: Exception sending context initialized event to listener instance
> of class org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'mvcContentNegotiationManager': BeanPostProcessor before
> instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'org.springframework.cache.config.internalCacheAdvisor':
> Cannot resolve reference to bean 'org.springframework.cache.annotation.
> AnnotationCacheOperationSource#0' while setting bean property
> 'cacheOperationSource'; nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'org.springframework.cache.annotation.
> AnnotationCacheOperationSource#0': BeanPostProcessor before instantiation
> of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'org.springframework.security.
> methodSecurityMetadataSourceAdvisor': Cannot resolve reference to bean
> 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0'
> while setting constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'org.springframework.security.access.method.
> DelegatingMethodSecurityMetadataSource#0': Cannot create inner bean
> '(inner bean)#fd6ee07' of type [org.springframework.security.
> access.prepost.PrePostAnnotationSecurityMetadataSource] while setting
> constructor argument with key [0]; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name '(inner bean)#fd6ee07': Cannot create inner bean '(inner
> bean)#714983e0' of type [org.springframework.security.
> access.expression.method.ExpressionBasedAnnotationAttributeFactory] while
> setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name '(inner bean)#714983e0': Cannot resolve
> reference to bean 'expressionHandler' while setting constructor argument;
> nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'expressionHandler' defined in class path
> resource [kylinSecurity.xml]: Cannot resolve reference to bean
> 'permissionEvaluator' while setting bean property 'permissionEvaluator';
> nested exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'permissionEvaluator' defined in class path
> resource [kylinSecurity.xml]: Cannot resolve reference to bean 'aclService'
> while setting constructor argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'aclService': Injection of autowired dependencies failed;
> nested exception is org.springframework.beans.factory.BeanCreationException:
> Could not autowire field: protected org.apache.kylin.rest.service.UserService
> org.apache.kylin.rest.service.AclService.userService; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'userService': Invocation of init method failed; nested
> exception is java.lang.NoSuchMethodError: org.apache.hadoop.hbase.
> client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/client/HConnection;)V
> Related cause: org.springframework.beans.factory.
> BeanCurrentlyInCreationException: Error creating bean with name
> 'mvcContentNegotiationManager': Requested bean is currently in creation:
> Is there an unresolvable circular reference?
>         at org.springframework.beans.factory.support.
> AbstractAutowireCapableBeanFactory.createBean(
> AbstractAutowireCapableBeanFactory.java:454)
>         at org.springframework.beans.factory.support.
> AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
>         at org.springframework.beans.factory.support.
> DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
> java:223)
>         at org.springframework.beans.factory.support.
> AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
>         at org.springframework.beans.factory.support.
> AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
>         at org.springframework.beans.factory.support.
> DefaultListableBeanFactory.preInstantiateSingletons(
> DefaultListableBeanFactory.java:618)
>         at org.springframework.context.support.AbstractApplicationContext.
> finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
>         at org.springframework.context.support.AbstractApplicationContext.
> refresh(AbstractApplicationContext.java:479)
>         at org.springframework.web.context.ContextLoader.
> configureAndRefreshWebApplicationContext(ContextLoader.java:410)
>         at org.springframework.web.context.ContextLoader.
> initWebApplicationContext(ContextLoad




--
Best regards,

Shaofeng Shi 史少锋
Loading...