`
hyw520110
  • 浏览: 213286 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

eclipse maven wtp jar/lib deploy

 
阅读更多

eclipse工程(with maven & wtp)在部署的时候, 所有通过maven配置的jar都没有复制过去, 需要在 .classpath文件中添加<attributes/>部分

 

 

Java代码  收藏代码
  1. <classpathentry exported= "true"  kind= "con"  path= "org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" >  
  2.     <attributes>  
  3.         <attribute name="org.eclipse.jst.component.dependency"  value= "/WEB-INF/lib"  />  
  4.     </attributes>  
  5. </classpathentry> 
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics