maven创建多模块项目
摘要:、新建maven project 2、next 3、next后packaging选择pom 4、新建maven module模板 5、新建module example和上述类似,如example下有server和client 则 example项目packaging必须为pom 6、创建exampl
阅读全文
posted @
2017-09-26 11:45
hi_rain
Failed to read artifact descriptor for xxx:jar (转载)
摘要:转载自:http://blog.csdn.net/achilles12345/article/details/45689297 在MyEclipse中执行Maven的install命令时,报“Failed to read artifact descriptor for xxx:jar ”的错误。这可
阅读全文
posted @
2017-08-25 12:10
hi_rain
maven 工程启动找不到 Spring ContextLoaderListener 的解决办法
摘要:转载自:http://www.yihaomen.com/article/java/471.htm用maven 工程搭建项目,在搭建好之后,运行时却抛出了这样的错误:Error configuring application listener of class org.springframework....
阅读全文
posted @
2015-11-09 13:49
hi_rain
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK(转)
摘要:解决办法: 1、eclipse菜单 - Window - Preferences- Java - Installed JREs 将配置的JRE定位到JDK,例如JRE home:D:\Program Files (x86)\Java\jdk1.6.0_45 2、ALT+F5 进行 updat...
阅读全文
posted @
2015-07-10 11:40
hi_rain
maven中的dependencyManagement和dependencies区别(转载)
摘要:比如有的依赖的是写在子项目中的 下的 标签中,而有的依赖的是写在父项目中的 中 。我知道前一种写法是对的,而后一种写法却不知道对不对了,从网上查了下,没有找到非常确切的答案,于是自己验证了一把。把验证过程给大家说下,大家也可以自己练手。首先新建三个项目,Parent作为父项目、projectA、p...
阅读全文
posted @
2015-07-08 16:00
hi_rain