Jump to content

Forge Server Error on Startup.


Shadow57o9

Recommended Posts

Hello, I'm new to the forums and actually new to the Forge client. So I apologize in advance for my ignorance. I will do the best I can to be concise.

 

First I used the latest version installer for both the client and the server. This is 9.10.0.842 on the website I was directed to. I am currently using a .bat file to start the server (works properly with a vanilla .jar server from minecraft.net) but when I try targetting the minecraftforge-universal-1.6.2-9.10.0.842.jar file within my server directory, the command prompt pops up and immediately closes. When I manually execute the batch command, the following is produced:

 

 

C:\Users\Derek>java -Xms512M -Xmx512M -jar C:\Users\Derek\Desktop\PixelmonServer

\minecraftforge-universal-1.6.2-9.10.0.842.jar

Aug 25, 2013 2:46:25 AM net.minecraft.launchwrapper.LogWrapper log

INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

A problem occurred running the Server launcher.java.lang.reflect.InvocationTarge

tException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.j

ava:48)

        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.

java:17)

Caused by: java.lang.NoClassDefFoundError: com/google/common/collect/Lists

        at cpw.mods.fml.common.launcher.FMLTweaker.acceptOptions(FMLTweaker.java

:67)

        at net.minecraft.launchwrapper.Launch.launch(Launch.java:50)

        at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

        ... 6 more

Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        ... 9 more

 

 

I've ensured that I have the most recent version of Java installed on my computer.

 

Additionally, when trying to manually install the server via the installer, certain libraries would refuse to download. This is another issue I have no idea how I am supposed to fix. I've gotten friends to install the files and forward them directly to me. I then used those files in place of the libraries folder that wouldn't download completely. Perhaps this was an error in judgment on my part. I'm not sure to be honest.

 

Unfortunately I've come to posting on the forums due to the answers unavailable on the forums (as far as I could see, anyway. Forgive me if I overlooked such a post) Thank you for your time, hopefully we can get this figured out. :)

Link to comment
Share on other sites

Make sure you're actually inside your server's directory before running the command

The working directory must be the folder with the vanilla server jar and the libraries folder.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Yes, I am certain everything is within the bounds of the server directory.

C:\Users\Derek>java -Xms512M -Xmx512M -jar C:\Users\Derek\Desktop\PixelmonServer\minecraftforge-universal-1.6.2-9.10.0.842.jar

....

Notice how the working directory is 'C:\Users\Derek' and you're required to specify the FULL PATH of the forge jar?

Ya you're not inside the server folder.

 

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

How's this?

 

 

 

C:\Users\Derek\Desktop\PixelmonServer>java -Xms512M -Xmx512M -jar C:\Users\Derek

\Desktop\PixelmonServer\minecraftforge-universal-1.6.2-9.10.0.842.jar

Aug 25, 2013 3:35:41 AM net.minecraft.launchwrapper.LogWrapper log

INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker

A problem occurred running the Server launcher.java.lang.reflect.InvocationTarge

tException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.j

ava:48)

        at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.

java:17)

Caused by: java.lang.NoClassDefFoundError: com/google/common/collect/Lists

        at cpw.mods.fml.common.launcher.FMLTweaker.acceptOptions(FMLTweaker.java

:67)

        at net.minecraft.launchwrapper.Launch.launch(Launch.java:50)

        at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

        ... 6 more

Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        ... 9 more

 

 

 

As expected, it made no difference. Even when I deleted the file location of the .jar at the end of the command. But these errors are really throwing me off.

Link to comment
Share on other sites

One step closer, you're not running it from within the server folder.

Now, when you used the installer, and selectected the 'install server' it should of cerated a 'libraries' folder and download a bunch of files into there. Did it?

And if it did can you give me a list of those files?

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Hm? What do you mean? I ensured that the command prompt was running directly from that folder. Didn't I? The end was "PixelmonServer", was it not?

 

The files are:

 

 

argo-2.25_fixed.jar

gson-2.2.2.jar

guava-14.0.jar

codecjorbis-20101023.jar

codecwav-20101023.jar

libraryjavasound-20101123.jar

librarylwjglopenal-20100824.jar

soundsystem-20120107.jar

commons-io-2.4.jar

lzma-0.0.1.jar

jinput-2.0.5.jar

jinput-platform-2.0.5-natives-windows.jar

jutils-1.0.0.jar

launchwrapper-1.3.jar

minecraftforge-9.10.0.804.jar

jopt-simple-4.5.jar

commons-lang3-3.1.jar

bcprov-jdk15on-1.47.jar

lwjgl-2.9.0.jar

lwjgl_util-2.9.0.jar

lwjgl-platform-2.9.0-natives-windows.jar

asm-all-4.1.jar

scala-compiler-2.10.2.jar

scala-library-2.10.2.jar

 

 

 

Link to comment
Share on other sites

Actually, I found a command that could do it for me. Hope this helps! :D

 

 

C:\Users\Derek>cd Desktop

 

C:\Users\Derek\Desktop>cd PixelmonServer

 

C:\Users\Derek\Desktop\PixelmonServer>dir /s /b /o:gn

C:\Users\Derek\Desktop\PixelmonServer\libraries

C:\Users\Derek\Desktop\PixelmonServer\world

C:\Users\Derek\Desktop\PixelmonServer\banned-ips.txt

C:\Users\Derek\Desktop\PixelmonServer\banned-players.txt

C:\Users\Derek\Desktop\PixelmonServer\libraries.zip

C:\Users\Derek\Desktop\PixelmonServer\minecraft_server.jar

C:\Users\Derek\Desktop\PixelmonServer\minecraftforge-universal-1.6.2-9.10.0.842.

jar

C:\Users\Derek\Desktop\PixelmonServer\ops.txt

C:\Users\Derek\Desktop\PixelmonServer\run.bat

C:\Users\Derek\Desktop\PixelmonServer\server.log

C:\Users\Derek\Desktop\PixelmonServer\server.properties

C:\Users\Derek\Desktop\PixelmonServer\white-list.txt

C:\Users\Derek\Desktop\PixelmonServer\libraries\argo

C:\Users\Derek\Desktop\PixelmonServer\libraries\com

C:\Users\Derek\Desktop\PixelmonServer\libraries\commons-io

C:\Users\Derek\Desktop\PixelmonServer\libraries\lzma

C:\Users\Derek\Desktop\PixelmonServer\libraries\net

C:\Users\Derek\Desktop\PixelmonServer\libraries\org

C:\Users\Derek\Desktop\PixelmonServer\libraries\argo\argo

C:\Users\Derek\Desktop\PixelmonServer\libraries\argo\argo\2.25_fixed

C:\Users\Derek\Desktop\PixelmonServer\libraries\argo\argo\2.25_fixed\argo-2.25_f

ixed.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\code

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\guava

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\code\gson

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\code\gson\gson

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\code\gson\gson\2.2.2

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\code\gson\gson\2.2.2\

gson-2.2.2.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\guava\guava

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\guava\guava\14.0

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\google\guava\guava\14.0\guav

a-14.0.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\codecjorbis

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\codecwav

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\libraryjavasound

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\librarylwjglopenal

 

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\soundsystem

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\codecjorbis\201010

23

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\codecjorbis\201010

23\codecjorbis-20101023.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\codecwav\20101023

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\codecwav\20101023\

codecwav-20101023.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\libraryjavasound\2

0101123

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\libraryjavasound\2

0101123\libraryjavasound-20101123.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\librarylwjglopenal

\20100824

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\librarylwjglopenal

\20100824\librarylwjglopenal-20100824.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\soundsystem\201201

07

C:\Users\Derek\Desktop\PixelmonServer\libraries\com\paulscode\soundsystem\201201

07\soundsystem-20120107.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\commons-io\commons-io

C:\Users\Derek\Desktop\PixelmonServer\libraries\commons-io\commons-io\2.4

C:\Users\Derek\Desktop\PixelmonServer\libraries\commons-io\commons-io\2.4\common

s-io-2.4.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\lzma\lzma

C:\Users\Derek\Desktop\PixelmonServer\libraries\lzma\lzma\0.0.1

C:\Users\Derek\Desktop\PixelmonServer\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraft

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraftforge

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\sf

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jinput

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jutils

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jinput\jinput

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jinput\jinput-platform

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jinput\jinput\2.0.5

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jinput\jinput\2.0.5\jin

put-2.0.5.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jinput\jinput-platform\

2.0.5

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jinput\jinput-platform\

2.0.5\jinput-platform-2.0.5-natives-windows.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jutils\jutils

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jutils\jutils\1.0.0

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\java\jutils\jutils\1.0.0\jut

ils-1.0.0.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraft\launchwrapper

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraft\launchwrapper\1.3

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraft\launchwrapper\1.3\

launchwrapper-1.3.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraftforge\minecraftforg

e

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraftforge\minecraftforg

e\9.10.0.804

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraftforge\minecraftforg

e\9.10.0.842

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraftforge\minecraftforg

e\9.10.0.804\minecraftforge-9.10.0.804.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\minecraftforge\minecraftforg

e\9.10.0.842\minecraftforge-9.10.0.842.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\sf\jopt-simple

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\sf\jopt-simple\jopt-simple

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\sf\jopt-simple\jopt-simple\4

.5

C:\Users\Derek\Desktop\PixelmonServer\libraries\net\sf\jopt-simple\jopt-simple\4

.5\jopt-simple-4.5.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\apache

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\bouncycastle

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\ow2

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\scala-lang

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\apache\commons

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\apache\commons\commons-lang3

 

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\apache\commons\commons-lang3

\3.1

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\apache\commons\commons-lang3

\3.1\commons-lang3-3.1.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\bouncycastle\bcprov-jdk15on

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\bouncycastle\bcprov-jdk15on\

1.47

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\bouncycastle\bcprov-jdk15on\

1.47\bcprov-jdk15on-1.47.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl_util

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl-platform

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjg

l-2.9.0.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl-platform\2

.9.0

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl-platform\2

.9.0\lwjgl-platform-2.9.0-natives-windows.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0

 

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0

\lwjgl_util-2.9.0.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\ow2\asm

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\ow2\asm\asm-all

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\ow2\asm\asm-all\4.1

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\ow2\asm\asm-all\4.1\asm-all-

4.1.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\scala-lang\scala-compiler

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\scala-lang\scala-library

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\scala-lang\scala-compiler\2.

10.2

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\scala-lang\scala-compiler\2.

10.2\scala-compiler-2.10.2.jar

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\scala-lang\scala-library\2.1

0.2

C:\Users\Derek\Desktop\PixelmonServer\libraries\org\scala-lang\scala-library\2.1

0.2\scala-library-2.10.2.jar

C:\Users\Derek\Desktop\PixelmonServer\world\data

C:\Users\Derek\Desktop\PixelmonServer\world\DIM1

C:\Users\Derek\Desktop\PixelmonServer\world\DIM-1

C:\Users\Derek\Desktop\PixelmonServer\world\players

C:\Users\Derek\Desktop\PixelmonServer\world\region

C:\Users\Derek\Desktop\PixelmonServer\world\level.dat

C:\Users\Derek\Desktop\PixelmonServer\world\level.dat_old

C:\Users\Derek\Desktop\PixelmonServer\world\session.lock

C:\Users\Derek\Desktop\PixelmonServer\world\data\villages.dat

C:\Users\Derek\Desktop\PixelmonServer\world\region\r.0.0.mca

C:\Users\Derek\Desktop\PixelmonServer\world\region\r.-1.0.mca

 

Link to comment
Share on other sites

You didn't use the installer -.-

libraries/com/google/code/gson/gson/2.2.2/gson-2.2.2.jar
libraries/com/google/guava/guava/14.0/guava-14.0.jar
libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar
libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
libraries/commons-io/commons-io/2.4/commons-io-2.4.jar
libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar
libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
libraries/net/minecraftforge/minecraftforge/9.10.0.804/minecraftforge-9.10.0.804.jar
libraries/net/minecraftforge/minecraftforge/9.10.0.842/minecraftforge-9.10.0.842.jar
libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
libraries/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar
libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.0/lwjgl-platform-2.9.0-natives-windows.jar
libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar

 

None of those should exist and minecraft_server.jar Should Be 'minecraft_server.1.6.2.jar'

No wonder it cant find things, minecraft isn't named correctly -.-

 

 

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

I did use the installer. But some of the files didn't download properly.

 

And it's not searching for minecraft_server.1.6.2 at all. That file is honestly irrelevant to this whole post. That's a vanilla server .jar file. I used that to test my batch file (which works fine I've found.)

Link to comment
Share on other sites

That fine is EXTREAMLY relivent. As it is where the bulk of the libraries are, and where all of the miencraft code is.

It MUST be named 'minecraft_server.1.6.2.jar' So that Forge can find it.

There is a reason why it downloads when you run the installer -.-

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.