项目构建-maven、svn、ant
_夜半钟声到客船
永远保持对技术的热情
展开
-
jetty一个好的servlet容器项目工程中的配置及问题
1、jetty跟meven的结合pom.xml中的配置 org.mortbay.jetty jetty 6.1.22 provided org.mortbay.jetty jsp-2.1-jetty 6.1.22 provided org.mortbay.jetty maven-jetty-plugin 6.1.22 /fre原创 2013-06-02 23:06:15 · 1874 阅读 · 0 评论 -
解决“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误
出现这种错误的原因是maven的build过程识别不到jdk 编译范围 在build中间添加如下代码 org.apache.maven.plugins maven-compiler-plugin 2.3.2原创 2015-04-03 13:50:08 · 1547 阅读 · 0 评论 -
maven项目在eclipse中常见错误汇总
解决方案: 将你的 maven-resources-plugin 2.3原创 2014-09-22 16:45:02 · 6666 阅读 · 1 评论 -
maven工程打包成runnable的jar包,拷贝资源文件和依赖jar包
eclipse下新建maven工程,生成runnable的jar包。之前一直是手动拷贝依赖的jar包和资源文件,烦得要死。上网可劲查了一下。解决方案如下。 在pom的配置文件中做如下配置: 配置完后,测试很好使啊... 双击jar文件运行即可,有什么疑问或者异常的话留言即可。原创 2014-09-22 16:36:05 · 1781 阅读 · 0 评论 -
错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
在maven进行jetty的调试中出现错误: [plain] view plaincopyprint? [ERROR] No plugin found for prefix 'jetty' in the current project and in the plu gin groups [org.apache.maven.plugins, org.codehaus.mojo] a转载 2014-07-26 19:11:31 · 1731 阅读 · 0 评论 -
Maven仓库汇总
Maven仓库汇总 1、maven 仓库地址: 共有的仓库 http://repo1.maven.org/maven2/ http://repository.jboss.com/maven2/ http://repository.sonatype.org/content/groups/public/ http://mirrors.ibiblio.org/pub/mirrors/转载 2014-07-26 19:09:18 · 775 阅读 · 0 评论 -
Maven构建spring+redis项目
需要使用的jar文件列表:原创 2014-07-25 15:25:42 · 2412 阅读 · 0 评论 -
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of t
问题描述: 使用Eclipse自带的Maven插件创建Web项目时报错: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories. Could not resolve artifa转载 2014-06-26 14:17:09 · 4220 阅读 · 0 评论 -
GitHub详细教程
GitHub详细教程 Table of Contents 1 Git详细教程 1.1 Git简介 1.1.1 Git是何方神圣?1.1.2 重要的术语1.1.3 索引 1.2 Git安装1.3 Git配置 1.3.1 用户信息1.3.2 高亮显示1.3.3 忽略特定的文件1.3.4 使用.gitkeep来追踪空的文件夹 1.4 开始操作Git 1转载 2014-05-08 10:16:06 · 889 阅读 · 0 评论 -
Myeclipse8.5的svn插件安装
百分之百亲自测试通过: D:\MyEclipse 8.5\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info 新增一段信息,这段信息需要一个java类给你获取; 意思就是告诉myeclipse增加了那些插件依赖的jar; import java.io.File; import java.util.Array原创 2014-01-07 11:18:57 · 1536 阅读 · 1 评论 -
maven构建工程(springmvc/ssh/ssm)错误解决大全
maven(spring-hibernate)项目编译正常,部署启动时出现下面错误: nested exception is java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index google、bd了好多办法,都没能解决,通过自己尝试判断,应该是包的冲突 查看下persi原创 2015-04-30 14:07:40 · 1170 阅读 · 0 评论