我正在使用Eclipse,从几个月前开始我就一直这样做,没有任何问题。现在我已经在某个包中创建了一个新的类,但是Eclipse没有编译它。因此,我尝试创建一个新的简单类:
public class Test {
public static void main(String[] args) {
System.out.println("Hello");
}
}
但我总是犯这样的错误:
Errore: impossibile o caricare la class主测试(错误:无法找到或加载主类测试)
我用cmd编译了它:在这种情况下,Eclipse可
我的应用程序在运行8.5.5.5的WebSphere应用服务器8.5.5.10上出现了以下错误。
[1/2/17 17:54:20:842 IST] 0000006f ecs W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/reflections/scanners/MemberUsageScanner$1.class in archive WEB-INF/lib/reflections-0.9
我已经在我的一个应用程序中添加了“掌握Xpages第二版”中的富文本自定义控件,但我继续得到以下内容:
2016-02-19T15:20:30.546-05:00 SEVERE CLFAD0095E: Format error reading the class mxpd2.component.InputRichText
2016-02-19T15:20:30.547-05:00 WARNING CLFAD0090W: The component-class (mxpd2.component.InputRichText) could not be resolved for the com
我在webshpere liberty profile服务器上部署了一个war文件。
当我第一次将文件放入/wlp/usr/servers/MyApp/apps中时,它运行正常。但在做了一些更改之后,我再次用新文件替换了旧的war文件。在那之后,我开始收到一些文件的Failed to load resource: the server responded with a status of 500 (Internal Server Error)错误。
当我试图从我的浏览器单独加载文件时,我得到了这个错误:Error 500: javax.servlet.ServletException: com
这是以前在我的笔记本电脑硬盘驱动器失败之前工作过的代码。我备份了记事本中的Java代码,并更换了错误的驱动器。之后,我重新下载了eclipse氧气和selenium罐子,并粘贴了eclipse氧气中保存在记事本中的Java代码。尽管如此,我还是会犯错误。我不认为这是因为硒或者日食。
我收到的错误
Error: Main method not found in class YTOW, please define the main method as:
public static void main(String[] args)
or a JavaFX application class