随笔分类 -  Java

摘要:package com.example.demo.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; impo 阅读全文
posted @ 2021-05-06 19:01 ascertain 阅读(46) 评论(0) 推荐(0) 编辑
摘要:上面这个会造成如上错误 引入如下依赖 TestController.java package com.example.demo.controller; import org.springframework.stereotype.Controller; import org.springframewo 阅读全文
posted @ 2021-05-06 18:32 ascertain 阅读(29) 评论(0) 推荐(0) 编辑
摘要:public resources static 下的文件可直接访问, 优先级 resources > static > public index.html favicon.ico 阅读全文
posted @ 2021-05-06 17:31 ascertain 阅读(71) 评论(0) 推荐(0) 编辑
摘要:跟踪 application.properties 最后生效 将端口改为9000 实体类 无参构造 有参构造 Getter Setter @Override Dog package com.example.demo.pojo; import org.springframework.beans.fac 阅读全文
posted @ 2021-05-06 16:27 ascertain 阅读(53) 评论(0) 推荐(0) 编辑
摘要:https://start.spring.io/ import this project 打包 "C:\Program Files\Java\jdk1.8.0_291\bin\java.exe" -Dmaven.multiModuleProjectDirectory=F:\demo "-Dmaven 阅读全文
posted @ 2021-05-06 13:11 ascertain 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-03-26 15:56 ascertain 阅读(52) 评论(0) 推荐(0) 编辑
摘要:What is the difference between java and javaw? That's because Windows has this annoying habit of starting an actual Terminal (which should not even be 阅读全文
posted @ 2020-09-26 13:44 ascertain 阅读(389) 评论(0) 推荐(0) 编辑
摘要:启动脚本 @echo off ::set path=C:\Program Files\Java\jdk1.8.0_261\bin\ ::start C:\"Program Files"\Java\jdk1.8.0_261\bin\javaw -jar d:\java\com-cjmlweb-cms. 阅读全文
posted @ 2020-08-24 19:00 ascertain 阅读(4874) 评论(0) 推荐(0) 编辑
摘要:jar解包 jar -xvf jenkins.war 直接解压到当前文件夹下,若要解压到指定文件夹,则需预先创建文件夹,将war包放到指定文件下后,执行命令 打包 jar -cvfM sample.war ./ unzip jenkins.war -d /opt/jenkins /opt/jenki 阅读全文
posted @ 2020-08-18 12:09 ascertain 阅读(2030) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示