【发布时间】:2012-10-29 14:00:19
【问题描述】:
我使用的是 Win7 64 位,当我尝试在我的 Eclipse 中启动 websphere 8 时,它显示
Get the following error when start the server :
Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:646)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:612)
Could not find the main class: Files. Program will exit.
但是当我进入第一步控制台并运行安装验证时,服务器启动并在 Eclipse 中启动。
请帮忙。
【问题讨论】:
-
文件是您的课程之一吗?
-
您是从“服务器”视图启动服务器吗?
-
似乎“文件”来自“C:\Program Files”
-
@DaveRlz 不,我不认为 Files 是我的课。
-
@dbreaux 是的,我试图从 Eclipse 中的“服务器”视图启动服务器。
标签: java websphere websphere-7 websphere-8