Re: Can't debug server
Posted: Sun Jun 23, 2013 5:21 am
Some one can tell me, where launch script is located? 

L2J Server Discussion Board
https://www.l2jserver.com/forum/
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?><launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication"><listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"><listEntry value="/L2J_Server_BETA/java/com/l2jserver/gameserver/GameServer.java"/></listAttribute><listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"><listEntry value="1"/></listAttribute><listAttribute key="org.eclipse.jdt.launching.CLASSPATH"><listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER" javaProject="L2J_Server_BETA" path="1" type="4"/> "/><listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/L2J_Server_BETA/dist/libs/mysql-connector-java-5.1.23-bin.jar" path="3" type="2"/> "/><listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry id="org.eclipse.jdt.launching.classpathentry.defaultClasspath"> <memento exportedEntriesOnly="false" project="L2J_Server_BETA"/> </runtimeClasspathEntry> "/><listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/L2J_Server_BETA/build/dist/libs/java-engine-1.7.1.jar" path="3" type="2"/> "/></listAttribute><booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/><stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.l2jserver.gameserver.GameServer"/><stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="L2J_Server_BETA"/><stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m"/><stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="D:\L2J\game\"/></launchConfiguration>
Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/tool/EclipseCompiler at com.l2jserver.script.java.JavaCompiler.<init>(JavaCompiler.java:50) at com.l2jserver.script.java.JavaScriptEngine.<init>(JavaScriptEngine.java:58) at com.l2jserver.script.java.JavaScriptEngineFactory.getScriptEngine(JavaScriptEngineFactory.java:186) at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.<init>(L2ScriptEngineManager.java:97) at com.l2jserver.gameserver.scripting.L2ScriptEngineManager$SingletonHolder.<clinit>(L2ScriptEngineManager.java:532) at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.getInstance(L2ScriptEngineManager.java:60) at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:201) at com.l2jserver.gameserver.GameServer.main(GameServer.java:470)Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.tool.EclipseCompiler at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 8 more