jeecg项目启动提示用户名密码错误
oracle数据库文件已经导入,imp jeecg/jeecg@orcl file=C:\CoderTools\code\git\jeecg\docs\jeecg_3.7.3_oracle11g.dmp fromuser=scott touser=jeecg ignore=y commit=y buffer=300000000 feedback=10000。数据库用的是oracle12c2, 每次启动项目时就报用户名密码错误,仔细检查了配置文件都没有问题。
麻烦指导解决下。
java.sql.SQLException: ORA-01017: 用户名/口令无效; 登录被拒绝
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:792)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:364)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:454)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:802)
at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142)
at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211)
at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:136)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1271)
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1325)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1215)
create connection error
已解决,oracle11G以上,数据库安装时默认是开启密码大小写区分的
http://blog.itpub.net/27042095/viewspace-758477/
先把数据库改为不区分大小写, 然后在修改一遍用户的密码 ok 多看常见问题贴
页:
[1]