Maven创建现实公司应用web项目

1 步骤说明:STEP BY STEP  见“”下载地址:

http://download.csdn.net/detail/jun55xiu/8314633


2 过程出现的问题汇总


1 Failed to execute goalorg.apache.maven.plugins:maven-surefire-plugin:2.10:test

解决办法:加入maven依赖的作用范围(scope)为Test的maven-surefire-plugin

2 Java compiler leveldoes not match the version of the installed Java project facet.

解决办法:修改项目JAVA Complier和Build Path JDK路径

3 加入了依赖,Maven包没有更新

 

*****4 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

5java.lang.NoClassDefFoundError:org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException

解决办法:缺少aspectjweaver-1.7.2.jar包

6 Caused by: javax.validation.ValidationException: Unable to find a default provider

解决办法:缺少hibernate-validator

7Constructor threw exception; nested exception isjava.lang.NoSuchMethodError:com.fasterxml.jackson.core.JsonFactory.requiresPropertyOrdering()Z

解决办法:调整jackson-core的版本要求2.3.0


具体见下载的‘3Maven创建web项目具体步骤.docx’文档


你可能感兴趣的:(Maven创建现实公司应用web项目)