简体   繁体   English

如何修复'java.sql.SQLException:ORA-01017:无效的用户名/密码; 春季启动时登录被拒绝'错误

[英]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.

相关问题 java.sql.SQLException:ORA-01017:用户名/密码无效; 登录被拒绝 - java.sql.SQLException: ORA-01017: invalid username/password; logon denied ORA-01017:无效的用户名/密码; 登录被拒绝 - ORA-01017: invalid username/password; logon denied 带有oracle DB的spring-“ java.sql.SQLException-无效的用户名/密码; 登录被拒绝” - spring with oracle DB - “java.sql.SQLException - invalid username/password; logon denied” ORA-01017:用户名/密码无效; 使用wss4j时登录被拒绝 - ORA-01017: invalid username/password; logon denied when using wss4j Oracle 11g r2 ORA-01017: 无效的用户名/密码; 通过 JDBC 驱动程序连接时登录被拒绝 - Oracle 11g r2 ORA-01017: invalid username/password; logon denied when connecting via JDBC driver java.sql.SQLException: ORA-01005: null password given; 登录被拒绝 - java.sql.SQLException: ORA-01005: null password given; logon denied Oracle JDBC:用户名/密码无效 (ora-01017) - Oracle JDBC : invalid username/password (ora-01017) Spring-Boot UUID:java.sql.SQLException:utf8 字符串无效 - Spring-Boot UUID: java.sql.SQLException: Invalid utf8 character string 从TOMCAT迁移到IBM Websphere时,ORA-01017无效的用户名/密码 - ORA-01017 Invalid Username/Password when migrating from TOMCAT to IBM Websphere 尝试使用Spring-Boot连接到Azure数据库时出现java.sql.SQLException - java.sql.SQLException when trying to connect to azure database using spring-boot
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM