You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/26 07:26:14 UTC

[GitHub] [incubator-shardingsphere] fdlzp commented on issue #877: spring-jpa oracle数据源使用报错,java.sql.SQLSyntaxErrorException: ORA-00942: 表或视图不存在

fdlzp commented on issue #877: spring-jpa oracle数据源使用报错,java.sql.SQLSyntaxErrorException: ORA-00942: 表或视图不存在
URL: https://github.com/apache/incubator-shardingsphere/issues/877#issuecomment-476505551
 
 
   how to deal with it?
   也是mysql可以,改了驱动和url还有方言,然后就有错,暂时定位不到具体原因
   
   
   [WARN ] 2019-03-26 10:16:49,625 --main-- [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [io/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The Network Adapter could not establish the connection) 
   [INFO ] 2019-03-26 10:16:49,627 --main-- [org.apache.catalina.core.StandardService] Stopping service [Tomcat] 
   [ERROR] 2019-03-26 10:16:49,650 --main-- [org.springframework.boot.SpringApplication] Application startup failed 
   org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [io/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The Network Adapter could not establish the connection)
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services