随笔分类 -  Maven应用

摘要:1、在buildpath中选择 maven默认的编译类路径是target/classes下 阅读全文
posted @ 2014-01-23 11:02 prison 阅读(317) 评论(0) 推荐(0) 编辑
摘要:1、 1 在相应的pom映射关系中 找到他所映射的父类jar 然后添加 2 3 org.springmodules 4 spring-modules-validation 5 0.8 6 7 8 9 org.springframework10 spring11 12 13 阅读全文
posted @ 2014-01-21 09:56 prison 阅读(732) 评论(0) 推荐(0) 编辑
摘要:1、maven错误提示及解决方法:maven install 出现错误提示: Build errors for carmall-manager; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3:enforce (enforce-banned-dependencies) on project carmall-manager: Execution enforce-banned-depend 阅读全文
posted @ 2014-01-14 17:53 prison 阅读(3011) 评论(0) 推荐(0) 编辑
摘要:1、通过命令形式:mvn archetype:generate -DarchetypeCatalog=internal这里我们先选择16是maven-archetype-quickstart,就是基本的JavaSE项目结构的构建,19是maven-archetype-webapp,用来创建简单的Java Web应用选择19,提示输入groupId,artifactId,version等 阅读全文
posted @ 2013-10-23 11:51 prison 阅读(129) 评论(0) 推荐(0) 编辑
摘要:为maven搭建私服1、搭建maven私服对象有很多,如artifactory、Nexus等,我们以nexus为例,介绍maven私服搭建2、下载nexus,http://nexus.sonatype.org/download-nexus.html,有war和zip两个可供选择,war下载后须要安排到一个application server中,zip包自带jetty办事器,解压后自行启动3、tar -zvxf nexus-oss-webapp-1.9.2.2-bundle.tar.gz,cd nexus-oss-webapp-1.9.2.2mv nexus-oss-webapp-1.9.2.2 阅读全文
posted @ 2013-07-04 10:04 prison 阅读(407) 评论(0) 推荐(0) 编辑
摘要:1:进入工程目录E:\nms_webservice\nms-webservice打开.classpath文件2:添加eclipse运行时所需核心包之一3:刷新工程 阅读全文
posted @ 2013-07-02 23:22 prison 阅读(289) 评论(0) 推荐(0) 编辑

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