随笔分类 -  idea&eclipse&jdk

1 2 下一页
idea打包推送maven仓库及同时推送到不同的maven仓库,本地和云上的腾讯云
摘要:idea打包推送maven仓库及同时推送到不同的maven仓库,本地和云上的腾讯云 idea客户端打包推送jar报错如下:Execution failed for task ':scooterProject-api:publishMavenPublicationToMavenRepository'. 阅读全文
posted @ 2025-09-30 16:10 oktokeep 阅读(13) 评论(0) 推荐(0)
idea查询maven安装目录
摘要:idea查询maven安装目录 1.通过设置界面查看‌打开IDEA后进入"File"→"Settings"→"Build, Execution, Deployment"→"Build Tools"→"Maven",在"Maven home path"字段中会显示当前使用的Maven路径若显示为"Bu 阅读全文
posted @ 2025-09-30 15:54 oktokeep 阅读(198) 评论(0) 推荐(0)
idea检查项目编译是否通过的检测方法-build,避免发布到jenkins上面报错 - 提交git代码之前的检查好习惯
摘要:idea检查项目编译是否通过的检测方法-build,避免发布到jenkins上面报错 - 提交git代码之前的检查好习惯 1.本地有运行环境的,可以在本地运行测试。2.本地没有运行环境,先在idea做编译,避免代码的一些低级错误,提交到git,然后在公共的测试环境运行报错。过滤一层基础的报错。 阅读全文
posted @ 2025-03-04 18:38 oktokeep 阅读(51) 评论(0) 推荐(0)
idea No usages found in All Places Press Ctrl+Alt+F7 again to search in 'Project Files'
摘要:idea No usages found in All Places Press Ctrl+Alt+F7 again to search in 'Project Files' 出现 usages 无效的情况 No usages found in All Places 今天偶然间碰到了这个问题, 问题 阅读全文
posted @ 2024-11-20 19:01 oktokeep 阅读(823) 评论(0) 推荐(0)
Idea SpringBoot 子模块 加载不到该子模块根目录config下面的配置文件
摘要:Idea SpringBoot 子模块 加载不到该子模块根目录config下面的配置文件 import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; impor 阅读全文
posted @ 2024-01-15 18:54 oktokeep 阅读(485) 评论(0) 推荐(0)
AnnotationTransactionAttributeSource is only available on Java 1.5 and higher和windows同时安装jdk7和jdk8
摘要:AnnotationTransactionAttributeSource is only available on Java 1.5 and higher和windows同时安装jdk7和jdk8 出错原因: 因为spring core org.springframework.core.JdkVer 阅读全文
posted @ 2023-09-08 18:42 oktokeep 阅读(218) 评论(1) 推荐(0)
Eclipse build js卡死 Eclipse 编译太卡,耗时太长解决
摘要:Eclipse build js卡死 Eclipse 编译太卡,耗时太长解决 问题描述:编译停止在js编译中,原来是js的问题 1、首选项-javaScript-Validator-Errors/Warning 里面的 Enable javaScript semantic valudation已经关 阅读全文
posted @ 2023-09-08 18:41 oktokeep 阅读(564) 评论(0) 推荐(0)
idea如何快速找到项目中待处理的TODO注释
摘要:idea如何快速找到项目中待处理的TODO注释 idea菜单栏 View -> Tool Windows,可以打开TODO窗口 阅读全文
posted @ 2023-03-16 16:55 oktokeep 阅读(1191) 评论(0) 推荐(0)
idea创建gradle多模块,嵌套模块的方法
摘要:idea创建gradle多模块,嵌套模块的方法 1.首先创建gradle项目,项目结构如下: myfirstgradle sub1 basesub111 three111 sub2 basesub222 sub3 basesub333 1.1创建项目,一步一步往下走,最后Finish 项目的根目录: 阅读全文
posted @ 2022-12-08 10:38 oktokeep 阅读(3544) 评论(2) 推荐(0)
idea gradle lombok找不到符号
摘要:idea gradle lombok找不到符号 问题:编译时报找不到符号错误原因:未正确配置lombok,实体类上面使用了@Data注解的符号配置步骤:1、idea->setting->plugins->搜索lombok插件,安装,然后重启idea2、gradle项目中的build.gradle的d 阅读全文
posted @ 2022-11-30 14:56 oktokeep 阅读(2935) 评论(2) 推荐(0)
关于Compilation failed: internal java compiler error的解决方法(Idea)
摘要:关于Compilation failed: internal java compiler error的解决方法(Idea) idea编译项目时出现java: Compilation failed: internal java compiler errorjava:编译失败:内部java编译器错误 根 阅读全文
posted @ 2022-11-28 15:19 oktokeep 阅读(3349) 评论(0) 推荐(1)
lombok.config
摘要:# lombok.config # 声明该配置文件是一个根配置文件,从该配置文件所在的目录开始扫描 config.stopBubbling=true # 全局配置 equalsAndHashCode 的 callSuper 属性为true lombok.equalsAndHashCode.callS 阅读全文
posted @ 2022-11-09 11:50 oktokeep 阅读(477) 评论(2) 推荐(0)
idea为什么提示:Duplicated code fragment (**lines long)
摘要:idea为什么提示:Duplicated code fragment (**lines long) 原因是有相同的代码块在类里,可以把这部分代码封装成一个方法,提高代码可读性。 阅读全文
posted @ 2022-10-10 10:28 oktokeep 阅读(5035) 评论(0) 推荐(2)
springboot项目编译时,使用自定义注解类找不到符号
摘要:springboot项目编译时,使用自定义注解类找不到符号 Java项目编译时,使用自定义注解类找不到符号Spring-boot项目编辑器:idea问题:编译时找不到符号。项目中用到了自定义注解类。编辑器不提示语法有错误 解决方法:找到代码的目录,发现切面文件或枚举器类文件不是java文件的,而是a 阅读全文
posted @ 2022-10-08 18:17 oktokeep 阅读(425) 评论(0) 推荐(0)
IDEA 报错:无效的源发行版 sourceCompatibility
摘要:IDEA 报错:无效的源发行版 sourceCompatibility 检查配置文件中的jdk版本的配置,//错误:sourceCompatibility = '18'//修改成正确的如下:sourceCompatibility = '1.8' 阅读全文
posted @ 2022-10-08 17:11 oktokeep 阅读(278) 评论(0) 推荐(0)
设置profile启动配置 -Dspring.profiles.active=dev
摘要: 阅读全文
posted @ 2022-08-15 13:54 oktokeep 阅读(669) 评论(0) 推荐(0)
springboot项目添加logback日志
摘要:1.application.yml 配置日志文件路径: logging: config: classpath:logback.xml file: /usr/local/log/projectName/projectName.log 2.logback.xml文件 <?xml version="1.0 阅读全文
posted @ 2022-07-20 10:14 oktokeep 阅读(660) 评论(1) 推荐(0)
idea文件的编码设置,解决中文编码不一致问题,对RSA验签及文本比较的测试方法 -Dfile.encoding=UTF-8
摘要:String reqContent = "abcdef中文"; //new String("abcdefee".getBytes()," GBK "); System.out.println("reqContent="+ reqContent); String reqContentTest = ne 阅读全文
posted @ 2022-07-06 14:18 oktokeep 阅读(575) 评论(2) 推荐(0)
idea设置jdk和设置文件编码格式utf-8
摘要:1.idea设置jdk 2.idea设置文件编码格式utf-8 create utf-8 files with NO BOM 不要更改,否则编译会出错误。 阅读全文
posted @ 2022-06-23 09:03 oktokeep 阅读(838) 评论(0) 推荐(0)
idea部署运行tomcat项目方法
摘要:在导航栏点击Add Configuration…或者(打开菜单Run->Edit Configuration) 点击+号,选择Tomcat Server ->选择Local->在Name中输入新的服务器的名字,点击”Application Server“ 后面的”Configure…“,弹出Appl 阅读全文
posted @ 2022-06-23 08:43 oktokeep 阅读(1076) 评论(1) 推荐(0)

1 2 下一页