Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Maven 中构建后是否可以恢复 java 类的源代码(不是全部)?我已经编译了jar,但是我删除了两个类的代码..
谢谢帮助。
这仅适用于java 反编译器。Maven 源插件在正常的 Maven 构建中默认不启用。
大多数现代 Java IDE 都内置了内部项目版本控制,也许您可以从 IDE 中恢复已删除的文件。例如 IDEA IntelliJ 有选项Show Local History。