学习ruoyi-vue-pro
2023-08-14:
1.windows系统配gitee及gitlab账号,
https://blog.csdn.net/z564359805/article/details/109745125#:~:text=windows%E4%B8%8B%E9%85%8D%E7%BD%AE%E5%A4%9A%E4%B8%AAgitee%E8%B4%A6%E6%88%B7%EF%BC%88%E6%AD%A4%E4%BE%8B2%E4%B8%AAgitee%E8%B4%A6%E5%8F%B7%29%201%201.%20%E6%B8%85%E9%99%A4%20git%20%E7%9A%84%E5%85%A8%E5%B1%80%E8%AE%BE%E7%BD%AE%EF%BC%88%E9%92%88%E5%AF%B9%E5%B7%B2%E5%AE%89%E8%A3%85%20git%EF%BC%89%20%E6%96%B0%E5%AE%89%E8%A3%85,5.%E4%BD%BF%E7%94%A8%20%23%20%E5%85%8B%E9%9A%86%20git%20clone%20git%401.gitee.com%3AXXX%2FXXXX.git%20%23%E5%85%8B%E9%9A%86%E4%BB%A5%E5%90%8E%E5%B0%B1%E5%8F%AF%E4%BB%A5%E8%BF%9B%E8%A1%8C%E5%A2%9E%E5%88%A0%E6%94%B9%E6%8E%A8%E9%80%81%E4%BA%86%20
2023-08-15:
1.后端文档,
https://doc.iocoder.cn/quick-start/#_3-%E5%88%9D%E5%A7%8B%E5%8C%96-mysql
2.oracle创建数据库,
默认创建的4个用户,sys system dbsnmp sysman
https://blog.csdn.net/hyh17808770899/article/details/106433160
3.在保留6月4号安装的jdk11的同时,将jdk切换为最早安装的jdk8,
https://blog.csdn.net/u013066244/article/details/108311123
4.编译项目,idea控制台在项目根目录执行
mvn clean install package -Dmaven.test.skip=true
5.运行SpringBoot启动类,
直接右击启动类/run YudaoServerApplication
https://www.jianshu.com/p/0a91ee4600fa
6.启动报错,点控制台报错 YudaoServerApplication 蓝字部分,采用下图解决
即https://www.iocoder.cn/Fight/Intellij-IDEA-Indicates-that-Command-Line-is-too-long/?yudao 的“2020.3 之前的版本”段落
目前进度:
连接oracle数据库启动项目报错java.sql.SQLException: ORA-01017: invalid username/password; logon denied?我尝试降低项目依赖的ojdbc的jar包,还是报错,下一步排查该问题。
20230816:
学习1小时30分钟,
1.将ojdbc8改为ojdbc6,解决连接oracle报错,
<!-- https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc6 --> <dependency> <groupId>com.oracle.database.jdbc</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0.4</version> </dependency>
https://blog.csdn.net/weixin_42900431/article/details/124942452
2.oracle超级管理员解锁账户,
alter user scott account unlock;
3.解决大sql文件plsql直接sql window导入报错:使用command window导入
start D:\work\ruoyi-vue-pro\ruoyi-vue-pro\sql\oracle\ruoyi-vue-pro.sql
4.进度:启动报错下一步解决:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobHandlerBeanPostProcessor' defined in class path resource [cn/iocoder/yudao/framework/tenant/config/YudaoTenantAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jobHandlerBeanPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tenantFrameworkService' defined in class path resource [cn/iocoder/yudao/framework/tenant/config/YudaoTenantAutoConfiguration.class]: Unsatisfied dependency expressed through method 'tenantFrameworkService' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantApiImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'roleServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminUserService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileApiImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileConfigServiceImpl': Invocation of init method failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: Error attempting to get column 'create_time' from result set. Cause: java.sql.SQLException: Error
; uncategorized SQLException; SQL state [null]; error code [0]; Error; nested exception is java.sql.SQLException: Error
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
20230817:
1.