Issue “Exception in thread ”main“# START NON-TRANSLATABLEjava.lang.NoClassDefFoundError: G€“Xmx3072m” (MyEclipse 12.0 Blue & Websphere7)

旧时模样 提交于 2020-08-05 02:05:14

问题


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?


回答1:


I think, you have typo in your jvm configuration so it thinks max heap size param (-Xmx3072m) is a classpath variable, please check configuration.




回答2:


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.



来源:https://stackoverflow.com/questions/38109981/issue-exception-in-thread-main-start-non-translatablejava-lang-noclassdeffou

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!