maven
iteye_3142
这个作者很懒,什么都没留下…
展开
-
maven管理jar包后依然找不到Jar包或者ClassNotFound的解决
使用maven管理后,依然报错,找不到,比如如下错误 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 方法如下 1) Open the project's properties (e.g., right-click on the project's na...原创 2013-10-28 13:24:22 · 519 阅读 · 0 评论 -
mybatis-generator使用Maven Plugin管理和生成代码
之前用批处理文件.bat来执行命令生成mybatis的相关文件,但是假如用Mac或者Linux,还得改配置文件,那么灵活一点,通过Maven安装插件,来管理jar和执行命令 pom.xml [code="xml"] org.mybatis.generator mybatis-generator-maven-plugin 1.3.2 ...原创 2013-12-10 17:15:00 · 155 阅读 · 0 评论 -
Maven使用slf4j-log4j12包冲突的问题解决
当maven引入的包发生冲突的时候,可以通过 mvn dependency:tree 来进行查看,所有引入的包以及引入的包所依赖的包 哪些包有冲突则通过在对应的dependency标签中添加exclusions 比如 [code="xml"] com.weibo motan-core ${motan.version} ...原创 2016-10-08 14:05:30 · 7139 阅读 · 1 评论