- 博客(10)
- 收藏
- 关注
原创 找不到符号/classnotfoundexception
有没有这种情况,spring boot 中我自己写的代码在其他地方调用,后来因为开发周期比较长或者其他原因运行maven compile 失败maven package 失败出现找不到符号,找不到类的情况如果是第一次使用这个项目的话使用 maven install 即可原因:maven 在编译的时候,或者打包的时候,先去加载pom文件找到你本地仓库的jar,(未更新maven中的jar->idea 中install也失效)导致你的依赖版本过期解决方法1、
2022-04-20 17:51:09
438
原创 局部事务提交
//创建事务管理器DataSourceTransactionManagerdstm=newDataSourceTransactionManager();//为事务管理器设置与数据层相同的数据源dstm.setDataSource(dataSource);//创建事务定义对象TransactionDefinitiontd=newDefaultTransactionDefinition();//创建事务状态对象,用于控制事务执行...
2022-03-31 16:48:53
445
原创 maven
百度 maven官网下载完成后解压到指定目录(我这边是在D盘的根目录)配置环境变量M2_HOME maven解压路径后\binMAVEN_HOME maven解压路径Path 添加 %MAVEN_HOME%\bin修改仓库下载镜像打开conf目录下的setting<mirror><id>alimaven</id> <mirrorOf>central</mirrorOf> ...
2022-02-14 16:49:17
191
原创 2021-10-18 bin/hive --service hiveserver2 hive 执行完这个命令就一直加载session
[root@master hive]# bin/hive --service hiveserver2SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/opt/hbase/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/op.
2021-10-18 11:34:43
3938
28
原创 2021-05-09
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-root.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException:..
2021-05-09 14:33:28
102
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人