[英]How to fix 'java.sql.SQLException: ORA-01017: invalid username/password; logon denied' error in spring-boot
when i run spring-boot in eclipse, there is error:"java.sql.SQLException: ORA-01017: invalid username/password; logon denied".but when i use sqlplus log in this username and password it right.Please help me to solve this problem.Thanks! 当我在Eclipse中运行spring-boot时,出现错误:“ java.sql.SQLException:ORA-01017:无效的用户名/密码;登录被拒绝”。但是当我使用sqlplus时,请正确登录此用户名和密码。请帮助我解决这个问题。谢谢!
This is my application.properties, my oracle's version is 12c 这是我的application.properties,我的oracle版本是12c
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
spring.datasource.url=jdbc:oracle:thin:@127.0.0.1:1521:ORCL
spring.datasource.data-username=C##ITEST
spring.datasource.data-password=1234
关键字不正确:请使用“用户名”代替“数据用户名”,并使用“密码”代替“数据密码”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.