发表于: 2016-03-20 22:17:38

1 3517


今天完成的事情:

1、解决MySql不能正常登录的问题,并安装eclipse

2、搭建本地JDK和Maven环境,但是在创建Maven项目时遇到了问题


明天计划的事情:

1、解决创建Maven项目失败的问题

2、创建数据库表,了解Junit和Mybatis,争取单元测试通过


遇到的问题:

1、执行mvn help:system命令时,报错:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:2.1.1:system (default-cli) on project standalo

ne-pom: Execution default-cli of goal org.apache.maven.plugins:maven-help-plugin:2.1.1:system failed: Plugin org.apache.

maven.plugins:maven-help-plugin:2.1.1 or one of its dependencies could not be resolved: Failed to collect dependencies a

t org.apache.maven.plugins:maven-help-plugin:jar:2.1.1 -> org.apache.maven.plugin-tools:maven-plugin-tools-api:jar:2.4.3

: Failed to read artifact descriptor for org.apache.maven.plugin-tools:maven-plugin-tools-api:jar:2.4.3: Could not trans

fer artifact org.apache.maven.plugin-tools:maven-plugin-tools:pom:2.4.3 from/to central (https://repo.maven.apache.org/m

aven2): SSL peer shut down incorrectly -> [Help 1]


2、执行mvn archetype:generate -DgroupId=com.biswajit.maven -DartifactId=hello 

-DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false创建项目时报错:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-cli) on project stand

alone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create failed: Plugin org.a

pache.maven.plugins:maven-archetype-plugin:2.4 or one of its dependencies could not be resolved: The following artifacts

 could not be resolved: org.apache.velocity:velocity:jar:1.5, org.apache.maven:maven-core:jar:2.2.1, org.apache.maven:ma

ven-settings:jar:2.2.1, commons-collections:commons-collections:jar:3.2.1, org.codehaus.groovy:groovy:jar:1.8.3, antlr:a

ntlr:jar:2.7.7, asm:asm-tree:jar:3.2, org.apache.ant:ant:jar:1.8.1: Could not transfer artifact org.apache.velocity:velo

city:jar:1.5 from/to central (https://repo.maven.apache.org/maven2): GET request of: org/apache/velocity/velocity/1.5/ve

locity-1.5.jar from central failed: SSL peer shut down incorrectly -> [Help 1]


收获:

1、学习了MySql,eclipse的安装以及JDK环境的搭建,对java开发环境有了初步的了解



返回列表 返回列表
评论

    分享到