通过diffeclipse导出的jar包和ant build的jar包不同,反编译不同的class文件后发现原因。

原因:linux和windows换行符不同。代码是在linux平台下写出的,现在windows下编译打包。

eclipse导出时,注释代码没能正常换行,影响到了java代码。

解决:将代码拷出,再拷入规范换行符或者通过ant build.xml打包。

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-12-22
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-10
  • 2021-10-05
相关资源
相似解决方案