# jc-war-archetype **Repository Path**: jevoncode/jc-war-archetype ## Basic Information - **Project Name**: jc-war-archetype - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-09-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 1.安装进本地 ```java mvn install ``` ### 2.使用命令创建新项目 ```java mvn archetype:generate -DarchetypeGroupId=com.jc.archetype -DarchetypeArtifactId=jc-war-archetype -DarchetypeVersion=1.3 -DgroupId=com.jc -DartifactId=pay ``` #### 说明 现pom模板使用jdk1.7,编码格式都是utf-8 ### 3.在eclipse添加remote catalogs: Window ——> Preferences ——> Maven ——> Archetypes ——> Add Remote Catalog Catalog File: http://nexus.jevoncode.com/nexus/content/groups/public/archetype-catalog.xml Description: nexus.jevoncode.com ### 待解决问题 1. 使用IDE创建时,IDE会自动创建包,然后再把模板里的包装。于是变成 com.jc.com.jc.DemoServlet.java