编译类时出错

编程入门 行业动态 更新时间:2024-10-26 09:28:42
本文介绍了编译类时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 嘿伙计们,我有一个java类文件,我不再拥有源文件。 我使用DJ JAVA Decompiler将其反转回来源,因为我必须编辑一些源代码。然而,当我尝试将源代码编译成新类时,我会遇到一些错误。如果有人能帮我解决这个问题,我将不胜感激。 我尝试使用NetBeans IDE,DJ JAVA Decompiler和javac.exe进行编译。都没能编译。他们都给出了同样的错误。 我已经包含了几个屏幕截图,让那些试图帮助我的人更加清楚。 提前谢谢。

解决方案

首先删除所有行,例如:

展开 | 选择 | Wrap | 行号

我完成了你说的话,现在我加载了更多的红线。

i完成你说的话,现在我加载了更多的红线。

该代码来自反编译器?真是太乱了。 为什么你说你必须再次使用反编译器? 你从哪里获得了你现在丢失的java文件?

hey guys i had a java class file that i no longer have the source file for. i reversed it back to the source using DJ JAVA Decompiler as i had to edit some of the source. How ever when i try to compile the source into a new class i get some errors. I would greatly appreciate it if anyone could help me solve this delema. I tried to compile using NetBeans IDE, DJ JAVA Decompiler and javac.exe. All failed to compile. They all give the same error. I have included a couple of screen shots to make the situation a bit more clearer to those of you that are trying to help me. Thanks in advance.

解决方案

First remove all the lines such as:

Expand|Select|Wrap|Line Numbers

i done what you said and now i have loads more red lines.

i done what you said and now i have loads more red lines.

That code came from a decompiler? What a mess. Why did you say you had to use the decompiler again? Where did you get the java file that you''ve now lost from?

更多推荐

编译类时出错

本文发布于:2023-10-19 19:16:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1508504.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!