问题描述
我正在使用MyEclipse 14.0 Blue& Websphere 7.我正在尝试通过服务器"选项卡部署到Websphere中,而当它开始部署时,我遇到了以下问题.
I am using MyEclipse 14.0 Blue & Websphere7. I am trying to deploy into the Websphere via Server tab, and when it starts to deploy I am getting below issue.
****Exception in thread "main"# START NON-TRANSLATABLEjava.lang.NoClassDefFoundError: G€"Xmx3072m
Caused by: java.lang.ClassNotFoundException: G€"Xmx3072m
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
Could not find the main class: GÇôXmx3072m. Program will exit.****
是否有解决此问题的建议?
Any suggestion to resolve this issue?
推荐答案
我有一个类似的问题,并通过修复全局PATH变量来解决.一个变量周围有两个引号,弄乱了Websphere的路径...
I had a similar problem and fixed it by fixing the global PATH variable.One variable had two quotes around it which messed up the path for the websphere...
第二件事是检查对操作系统中的批处理文件或脚本无效的任何字符(因为您的问题似乎与编码有关)
A second thing would be to check for any characters that would be invalid for batch files or scripts in the operating system (because your problem seems to be encoding related)
您可能会在此处找到更多提示.
Some more hints you may find here.
这篇关于发出“线程"main"中的异常".#START NON-TRANSLATABLEjava.lang.NoClassDefFoundError:G€"Xmx3072m"; (MyEclipse 12.0 Blue& Websphere7)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!