
maven
文章平均质量分 65
yudilan6
这个作者很懒,什么都没留下…
展开
-
为maven项目打包时添加上svn版本号
1.在pom.xml下添加以下plugin 生产环境上跑的jar包是什么版本过段时间后真就无从得知,为之后还能查询得到,在用maven打包时添加如下的插件,打出的包将会MANIFEST.MF文件中在产生svn版本号 <bliud> <plugins> ..... <plugin> <groupId>com.google.code.mav...原创 2020-04-07 13:21:15 · 1098 阅读 · 0 评论 -
myeclipse无法创建maven web项目:Could not resolve archetype
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. 今天打开用的好好的ide,想新建一个maven web项目,结果出现Could not resolve archetype org.apach原创 2016-07-22 15:54:49 · 9887 阅读 · 5 评论 -
Maven报错: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp
创建maven项目时,eclipse报错:Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp,详细信息如下图: 此类报错产生的原因分以下两种: 1、Catalog 相关类型缺失; 2、ide下载相关jar包时未能完整下载。 针对原创 2016-07-22 17:06:54 · 25599 阅读 · 9 评论 -
maven项目报错:cannot change version of project facet Dynamic web Module to 2.5
maven 项目报错时,检查如下配置: 右键点击项目–>properties–>Deployment Assembly 2.右键点击项目–>properties–>java build path检查依赖是否都被引用进来 3.右键点击项目–>properties–>Project Facets,勾选上Dynamic Web Module,选择version3.0,并点击箭头处4 . 操作完上一步原创 2016-12-27 14:34:01 · 877 阅读 · 0 评论 -
程序包sun.security.tools.keytool不存在 解决方法
编译时报错:程序包sun.security.tools.keytool不存在,在pom.xml中加入如下插件 <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source>...原创 2019-07-04 15:23:37 · 6864 阅读 · 0 评论