报错
素心如月桠
实习第一年 要努力呀
展开
-
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compil
修改Project Structure。在pom.xml文件中添加如下代码。原创 2022-12-17 15:51:29 · 1374 阅读 · 1 评论 -
测试gitlab-runner
上一篇:Docker安装Gitlab-ruuner_素心如月桠的博客-CSDN博客https://blog.csdn.net/m0_47010003/article/details/127997515把runner修改成可以运行没有标签的作业接下来:我们打包并上传一个项目到gitlab(也就是刚刚创建的testci)中,并进行持续集成第一步:先新建一个项目:使用IntelliJ IDEA创建Maven项目并上传项目至gitlab等远程仓库_素心如月桠的博客-CSDN博客上面新建项目,并且第一次commit,原创 2022-12-07 16:22:36 · 1373 阅读 · 1 评论 -
fatal: unable to access ‘https://<our domain>/web/XXX.git/‘: Could not resolve host: <our domain>
第一步:在注册gitlab-runner时选择docker执行器 第二步: 然后去修改config.toml文件,该文件位置在gitlab-runner内部但是我运行gitlab-runner容器时,挂载了数据卷,如下:所以在/src/gitlab-runner/config目录下,cd命令切换到config目录下输入vi config.toml进入编辑文件 ,修改extra_hosts参数(没有该参数自己添加我的config.toml文件如下: 修改成功后保存并退出然后重启一下gitlab-r原创 2022-12-07 16:18:51 · 287 阅读 · 0 评论 -
此作业被卡住,因为没有任何活动的 runner 能运行此构建。 转到 Runners 页面
工作卡住了,因为你的运行者有标签,但你的工作没有。1. 没有将gitlab-runner注册到gitlab中。原创 2022-11-24 12:21:34 · 2891 阅读 · 0 评论 -
使用IntelliJ IDEA上传项目至gitlab等远程仓库报错timeout
Remote URL test failed: unable to access 'http://192.168.199.110/1111/mytest.git/': Failed to connect to 192.168.199.110 port 80: Timed out原创 2022-11-24 11:48:40 · 1886 阅读 · 0 评论 -
MobaXterm连接报错Network error: Connection timed out
今天打开MobaXterm远程连接我VMware虚拟机的时候出现以下界面,问题详情如下:Network error: Connection timed outSession stopped - Press to exit tab - Press R to restart session - Press S to save terminal output to file 第一种:去VMware中关闭并禁用防火墙实操如下: 再去MobaXterm中就可以连接原创 2022-11-23 09:14:36 · 24333 阅读 · 4 评论 -
使用Maven打包项目,执行mvn clean package -DskipTests命令 报错JAVA_HOME should point to a JDK not a JRE
The JAVA_HOME environment variable is not defined correctlyThis environment variable is needed to run this programNB: JAVA_HOME should point to a JDK not a JRE原创 2022-11-20 18:21:35 · 913 阅读 · 0 评论 -
mysql运行报错:
解决办法:上面报错看这篇:原创 2022-11-19 17:52:37 · 1483 阅读 · 0 评论 -
【已解决】ERROR [main] - {dataSource-1} init errorjava.sql.SQLException: ${jdbc.driver}
所以SqlSessionFactoryBean的id不能是sqlSessionFactory吗?3. 把applicationContext.xml配置文件重新写了一遍运行成功了。1. database.properties没有问题。2. 把数据库版本提高了,再次运行还是报错。发现只有一个id不一样,离谱啊。原创 2022-10-21 19:53:05 · 1835 阅读 · 0 评论 -
maven nexus私服运行报错OpenJDK 64-Bit Server VM warning: Cannot open file ../sonatype-work/nexus3/log/jvm.
```bashOpenJDK 64-Bit Server VM warning: Cannot open file ../sonatype-work/nexus3/log/jvm.log due to No such file or directorynexus | Warning: Cannot open log file: ../sonatype-work/nexus3/log/jvm.lognexus | Warning: Forcing option -XX:LogFile=/原创 2022-09-12 14:05:56 · 1345 阅读 · 0 评论 -
Git报错error setting certificate verify locations: CAfile: false CApath: none
Git报错error setting certificate verify locations: CAfile: false CApath: none原创 2022-06-19 21:22:16 · 315 阅读 · 0 评论 -
使用mybatis-generator-maven-plugin报错法Communications link failure
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project crm-mybatis-generator: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has n原创 2022-06-18 21:58:02 · 1265 阅读 · 1 评论 -
mybatis-generator运行报错Communications link failure
报错信息:Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project crm-mybatis-generator: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver原创 2022-05-22 12:46:51 · 835 阅读 · 0 评论