但是我可以打开Teradata
所需的远程端口,我收到此错误,是因为在我部署应用程序的Weblogic中缺少所需的jdbc驱动程序库。
请注意,您可以在下面找到完整的错误。由于此失败,连续Spring Autowired Components
也失败。
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'teradataDataSource' defined in ServletContext resource [/WEB-INF/async-db-config.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.teradata' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/teradata'
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
Truncated. see log file for complete stacktrace