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.
我一直在研究访问 Jar 中的类文件的代码。
我需要代码以不同的格式打印输出。因此,在 Tagger.java 文件中进行了更改并为其构建了 Tagger.class 文件。然后我解压缩了 jar 文件并用我更新的那个替换了 Tagger.class。我更新了库,构建了路径。
现在以前可以工作的代码不再工作,并且在调用类的位置提示错误:无法将标记器解析为类型
我不明白我哪里出错了。
请帮助。谢谢