![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
maven
foliage_yh
这个作者很懒,什么都没留下…
展开
-
idea项目配置jdk
原创 2021-03-17 10:37:35 · 517 阅读 · 0 评论 -
服务发布 mvn clean install deploy -DskipTests
1.cmd 2.cd到项目目录下 3.mvn clean install deploy -DskipTests原创 2020-11-25 09:22:42 · 372 阅读 · 0 评论 -
maven项目install时候一直报错,检查Maven-javadoc-plugin声明错误(Java 8 配置Maven-javadoc-plugin)或者是:警告: @throws 没有说明
https://www.cnblogs.com/nizuimeiabc1/p/8618070.html 在JDK 8中,Javadoc中添加了doclint,而这个工具的主要目的是旨在获得符合W3C HTML 4.01标准规范的HTML文档,在JDK 8中,已经无法获取如下的Javadoc,除非它满足doclint: 不能有自关闭的HTML tags,例如<br/>或者<a id="x"/> 不能有未关闭的HTML tags,例如有<ul>而没有</ul>原创 2020-12-22 17:23:07 · 577 阅读 · 0 评论 -
maven仓库jar包下载地址
maven仓库jar包下载地址:https://mvnrepository.com/原创 2020-11-10 10:10:53 · 205 阅读 · 0 评论 -
pom文件指定main方法实现
https://blog.csdn.net/wsfw014/article/details/81586226转载 2020-05-15 17:09:27 · 1439 阅读 · 0 评论 -
springboot的RESTFull开发
@PathVariable 获取url中的数据 该注解是实现RESTFull最主要的一个注解原创 2020-04-23 18:48:34 · 175 阅读 · 0 评论 -
springboot中springmvc注解
Springboot下的springmvc和之前的springmvc使用是完全一致的 1.@Controller 即为spring mvc的注解,处理http请求 2.@RestController Spring4后新增注解: 是@Controller注解功能的增强 是@Controller和@ResponseBody的组合注解 如果一个Controller类添加了@RestCont...原创 2020-04-23 18:30:29 · 410 阅读 · 1 评论 -
springboot添加事务
添加事务的原因:如果不添加事务 在执行修改操作时,如果有异常出现数据不会回滚仍然会修改到数据库,但是如果添加了事务,如果有异常出现,数据会回滚,数据库中的数据库不会被改变 给添加,删除,修改添加事务 在访问数据库的Service方法上添加注解@Transactional 在入口类中使用注解@EnableTransactionManagement ...原创 2020-04-23 17:39:01 · 3305 阅读 · 0 评论 -
springboot+mybatis
项目结构: pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=...原创 2020-04-23 14:22:45 · 191 阅读 · 0 评论 -
URL is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
https://www.cnblogs.com/z0909y/p/10751925.html原创 2020-04-23 10:10:24 · 109 阅读 · 0 评论 -
清理Maven仓库的.lastUpdate文件
1.删除所有以.lastUpdate结尾的文件 a.切换到maven的本地仓库 b.在当前目录打开cmd命令行 c.执行命令:for /r %i in (*.lastUpdated) do del %i原创 2020-04-13 10:02:01 · 324 阅读 · 1 评论 -
maven-dependency-plugin报错下载不下来
1.在maven的setting.xml中添加 <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url>...原创 2020-04-10 16:26:27 · 1770 阅读 · 0 评论 -
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration的解决
https://blog.csdn.net/lililidahaoren/article/details/80394591原创 2020-03-17 10:18:59 · 106 阅读 · 0 评论 -
创建maven项目
https://blog.csdn.net/yy243/article/details/70036775 Eclipse中jsp异常 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bu 解决方法:https://blog.csdn.net/Sunny5319/article/details/8...原创 2020-01-03 08:53:30 · 73 阅读 · 0 评论 -
maven项目通过main提起来,怎么确定先从那个类方法开始运行
在想要启动起来在从那个方法中运行,在那个方法上添加@PostConstruct原创 2019-11-15 14:06:52 · 323 阅读 · 0 评论