myeclipse下启动tomcat报错

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionResource' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'userServiceBean' while setting bean property 'userService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceBean' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'datasourceServiceBean' while setting bean property 'datasourceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasourceServiceBean' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'connectionManager' while setting bean property 'connectionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mondrianVFS' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'repositoryDsManager' while setting bean property 'datasourceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryDsManager' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Invocation of init method failed; nested exception is org.saiku.service.util.exception.SaikuServiceException
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceBean' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'datasourceServiceBean' while setting bean property 'datasourceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasourceServiceBean' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'connectionManager' while setting bean property 'connectionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mondrianVFS' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'repositoryDsManager' while setting bean property 'datasourceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryDsManager' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Invocation of init method failed; nested exception is org.saiku.service.util.exception.SaikuServiceException
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasourceServiceBean' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'connectionManager' while setting bean property 'connectionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mondrianVFS' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'repositoryDsManager' while setting bean property 'datasourceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryDsManager' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Invocation of init method failed; nested exception is org.saiku.service.util.exception.SaikuServiceException
at org.springframework.beans.factory.support.BeanDefini
tionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
... 38 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mondrianVFS' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Cannot resolve reference to bean 'repositoryDsManager' while setting bean property 'datasourceManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryDsManager' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Invocation of init method failed; nested exception is org.saiku.service.util.exception.SaikuServiceException

5个回答

spring配置的问题,具体就要你自己调试了。

qq_27481747
qq_27481747 我擦,这有点难度啊,大神能在具体点么
大约 5 年之前 回复

saiku-beans.xml,把这个贴出来看看

qq_27481747
qq_27481747 贴出来了,再最上面
大约 5 年之前 回复
u011371307
angleman123 新bug也贴出来呗
大约 5 年之前 回复
qq_27481747
qq_27481747 大神,我发现了,是数据源的问题,可惜我改了数据源后又出现了新bug
大约 5 年之前 回复
qq_27481747
qq_27481747 大神,贴了,多谢大神,帮忙看看
大约 5 年之前 回复

<?xml version="1.0" encoding="UTF-8" ?>

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">

<!--    <bean id="classpathDsManager"
        class="org.saiku.service.datasource.ClassPathResourceDatasourceManager">
        <property name="path" value="res:saiku-datasources" />
    </bean>-->
<bean id="repositoryDsManager" class="org.saiku.service.datasource.RepositoryDatasourceManager" init-method="load" destroy-method="unload">
    <property name="userService" ref="userServiceBean"/>
    <property name="configurationpath" value="../../repository/configuration.xml"/>
    <property name="datadir" value="../../repository/data"/>
    <property name="foodmartdir" value="../../data"/>
    <property name="foodmartschema" value="../../data/FoodMart4.xml"/>
    <property name="foodmarturl" value="jdbc:h2:../../data/foodmart;MODE=MySQL"/>
</bean>

<!-- <property name="path" value="file:///var/saiku/saiku-datasources/"/> -->
<bean id="h2database" class="org.saiku.database.Database" init-method="init">
    <property name="datasourceManager" ref="repositoryDsManager"/>
</bean>

<bean id="sessionService" class="org.saiku.web.service.SessionService">
    <property name="authenticationManager" ref="authenticationManager" />
</bean>
<bean id="securityContextPersistenceFilter" class="org.springframework.security.web.context.SecurityContextPersistenceFilter" />
<bean class="org.saiku.datasources.connection.MondrianVFS" init-method="init" id="mondrianVFS">
    <property name="datasourceManager" ref="repositoryDsManager"/>
</bean>
<bean id="connectionManager" class="org.saiku.web.core.SecurityAwareConnectionManager" init-method="init"
      destroy-method="destroy" depends-on="mondrianVFS">
    <property name="dataSourceManager" ref="repositoryDsManager" />
    <property name="sessionService" ref="sessionService" />

</bean>

<bean id="datasourceServiceBean" class="org.saiku.service.datasource.DatasourceService">
    <property name="connectionManager" ref="connectionManager" />
</bean>

<bean id="customerDAO" class="org.saiku.database.JdbcUserDAO">
    <property name="dataSource" ref="dataSource" />
</bean>

<bean id="userServiceBean" class="org.saiku.service.user.UserService">
    <property name="jdbcUserDAO" ref="customerDAO"/>
    <property name="datasourceService" ref="datasourceServiceBean"/>
    <property name="iDatasourceManager" ref="repositoryDsManager"/>
    <property name="adminRoles">
        <list>
            <value>ROLE_ADMIN</value>
        </list>
    </property>
    <property name="sessionService" ref="sessionService"/>
</bean>
<bean id="adminBean" class="org.saiku.web.rest.resources.AdminResource">
    <property name="userService" ref="userServiceBean"/>
    <property name="datasourceService" ref="datasourceServiceBean"/>
    <property name="olapDiscoverService" ref="olapDiscoverServiceBean"/>
    <property name="repositoryDatasourceManager" ref="repositoryDsManager"/>
</bean>

<bean id="olapDiscoverServiceBean" class="org.saiku.service.olap.OlapDiscoverService">
    <property name="datasourceService" ref="datasourceServiceBean" />
</bean>

<bean id="olapQueryBean" scope="session" class="org.saiku.service.olap.OlapQueryService" destroy-method="destroy">
    <property name="olapDiscoverService" ref="olapDiscoverServiceBean" />
</bean>


<bean id="datasourceResourceBean" class="org.saiku.web.rest.resources.DataSourceResource">
    <property name="datasourceService" ref="datasourceServiceBean" />
</bean>

<bean id="olapDiscoverBean" scope="session"
      class="org.saiku.web.rest.resources.OlapDiscoverResource">
    <property name="olapDiscoverService" ref="olapDiscoverServiceBean" />
</bean>


<bean id="queryResource" scope="request"
      class="org.saiku.web.rest.resources.QueryResource">
    <property name="olapQueryService" ref="olapQueryBean" />
    <property name="olapDiscoverService" ref="olapDiscoverServiceBean" />
    <property name="repository" ref="repository2bean"/>
</bean>

<bean id="thinQueryBean" scope="session"
      class="org.saiku.service.olap.ThinQueryService">
    <property name="olapDiscoverService" ref="olapDiscoverServiceBean" />
</bean>

<bean id="platformBean" class="org.saiku.service.PlatformUtilsService">
    <property name="path" value="../webapps/ROOT/js/saiku/plugins/"/>
</bean>

<bean id="infoResource" class="org.saiku.web.rest.resources.InfoResource">
    <property name="platformUtilsService" ref="platformBean"/>
</bean>

<bean id="queryResource2" scope="request"
      class="org.saiku.web.rest.resources.Query2Resource">
    <property name="thinQueryService" ref="thinQueryBean" />
    <property name="repository" ref="repository2bean"/>
</bean>

<bean id="sessionResource" class="org.saiku.web.rest.resources.SessionResource">
    <property name="sessionService" ref="sessionService" />
    <property name="userService" ref ="userServiceBean"/>

</bean>

<bean id="repository2bean" scope="request"
      class="org.saiku.web.rest.resources.BasicRepositoryResource2">
    <property name="path" value="res:saiku-repository" />
    <property name="sessionService" ref="sessionService" />
    <property name="datasourceService" ref="datasourceServiceBean"/>
</bean>
<!-- <property name="path" value="file:///var/saiku/saiku-datasources/"/> -->

<bean id="tagRepositoryBean" scope="request"
      class="org.saiku.web.rest.resources.BasicTagRepositoryResource">
    <property name="olapQueryService" ref="olapQueryBean" />
    <property name="path" value="res:saiku-repository" />
</bean>

<bean id="filterRepositoryBean" scope="session"
      class="org.saiku.web.rest.resources.FilterRepositoryResource">
    <property name="olapQueryService" ref="olapQueryBean" />
    <property name="path" value="res:saiku-repository" />
    <property name="sessionService" ref="sessionService"/>
</bean>



<bean id="exporterBean" scope="request"
      class="org.saiku.web.rest.resources.ExporterResource">
    <property name="repository" ref="repository2bean" />
    <property name="query2Resource" ref="queryResource2" />
</bean>



<bean id="statsBean" scope="singleton" class="org.saiku.web.rest.resources.StatisticsResource" />

<bean id="startupBean" scope="singleton" class="org.saiku.web.rest.util.StartupResource"  init-method="init" />

四月 27, 2015 11:05:14 上午 org.apache.catalina.core.StandardContext listenerStart
严重: 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 'adminBean' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'repositoryDatasourceManager' of bean class [org.saiku.web.rest.resources.AdminResource]: Bean property 'repositoryDatasourceManager' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1427)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'repositoryDatasourceManager' of bean class [org.saiku.web.rest.resources.AdminResource]: Bean property 'repositoryDatasourceManager' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1042)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:902)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1424)
... 26 more
四月 27, 2015 11:05:14 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart

数据源改了出现的新bug

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminBean' defined in ServletContext resource [/WEB-INF/saiku-beans.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'repositoryDatasourceManager' of bean class [org.saiku.web.rest.resources.AdminResource]: Bean property 'repositoryDatasourceManager' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1427)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'repositoryDatasourceManager' of bean class [org.saiku.web.rest.resources.AdminResource]: Bean property 'repositoryDatasourceManager' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1042)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:902)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1424)
... 26 more

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐