问题:eclipse中javaweb项目,打成jar包供其它项目使用,发现无法识别使用注解的bean。
原因参考:
http://blog.csdn.net/wangpeng047/article/details/8202353
https://stackoverflow.com/questions/13245570/jar-file-add-directory-entries-eclipse-option-while-exporting-jar
http://www.iteye.com/problems/97236
解决办法:在用eclipse export jar的时候,勾选add directory entries 。勾选了add directory entries之后打出的jar包,多了路径的信息。

相关文章:

  • 2021-05-12
  • 2021-10-30
  • 2022-01-17
  • 2021-05-01
  • 2021-12-20
  • 2021-05-31
  • 2022-01-20
  • 2022-12-23
猜你喜欢
  • 2021-12-29
  • 2021-05-19
  • 2021-03-31
  • 2021-04-11
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案