Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java highrise api不使用spring_Java_Spring_Api_Highrise - Fatal编程技术网

Java highrise api不使用spring

Java highrise api不使用spring,java,spring,api,highrise,Java,Spring,Api,Highrise,我正试图在我的JavaSpring应用程序中使用HighriseAPI 我抄袭了highrise.jar。但当我用这个运行我的应用程序,它停止了我的tomcat服务器时,我遇到了异常 [ERROR] 2013-09-30 12:03:34 Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name '

我正试图在我的JavaSpring应用程序中使用HighriseAPI

我抄袭了highrise.jar。但当我用这个运行我的应用程序,它停止了我的tomcat服务器时,我遇到了异常

   [ERROR] 2013-09-30 12:03:34 Context initialization failed
   org.springframework.beans.factory.BeanCreationException: Error creating bean with       name 'org.springframework.security.filterChains': Cannot resolve reference to bean   'org.springframework.security.web.DefaultSecurityFilterChain#1' while setting bean property    'sourceList' with key [1]; nested exception is  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#1': Cannot resolve reference to  bean     'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0'  while setting constructor argument with key [2]; nested exception is  org.springframework.beans.factory.BeanCreationException: Error creating bean with name  'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0':  Cannot resolve reference to bean  'org.springframework.security.authentication.ProviderManager#0' while setting bean property  'authenticationManager'; nested exception is  org.springframework.beans.factory.BeanCreationException: Error creating bean with name  'org.springframework.security.authentication.ProviderManager#0': Cannot resolve reference to     bean 'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0'  while setting constructor argument; nested exception is  org.springframework.beans.factory.BeanCreationException: Error creating bean with name  'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0':  FactoryBean threw exception on object creation; nested exception is  org.springframework.beans.factory.BeanCreationException: Error creating bean with name  'org.springframework.security.authenticationManager': Cannot resolve reference to bean  'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0' while setting  constructor argument with key [0]; nested exception is  org.springframework.beans.factory.BeanCreationException: Error creating bean with name  'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0': Error setting  property values; nested exception is org.springframework.beans.PropertyBatchUpdateException;  nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property ' passwordEncoder' threw exception; nested exception is java.lang.NullPointerException
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.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:354)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:154)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:587)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
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:722) 
当我删除highrise jar文件时,我的应用程序运行良好

有没有人知道我为什么会出现这个错误,或者有没有其他方法可以使用highrise api?我有highrise令牌号可以连接。我想检索所有关于员工姓名的电子邮件、笔记和交易


如果您需要更多信息,请告诉我

您是否在类路径中添加了spring安全库? 似乎您的高层jar文件需要安全库