Menu

#13 problem with server source

open
server (11)
5
2006-11-02
2006-11-02
Simon
No

i've downloaded the source package and tried to run
the server. but the .sh file quits with an error:

# ./DarkWorld.sh
Exception in thread "main"
java.lang.NoClassDefFoundError: darkWorld/Main

and there is no makefile to compile all .java files

mfg SirTwist

Discussion

  • Simon

    Simon - 2006-11-02

    Logged In: YES
    user_id=1121598

    ok i found the compile instructions for the server (ant plugins) but now i got this error:
    # ant plugins
    Buildfile: build.xml

    init:
    [mkdir] Created dir: /usr/src/darkworld-0.2.0/src/server/tmp/build
    [mkdir] Created dir: /usr/src/darkworld-0.2.0/src/server/dist

    compile:
    [javac] Compiling 270 source files to /usr/src/darkworld-0.2.0/src/server/tmp/build

    BUILD FAILED
    /usr/src/darkworld-0.2.0/src/server/build.xml:29: /usr/src/darkworld-0.2.0/src/server/lib not found.

    Total time: 1 second

     
  • Keith Turner

    Keith Turner - 2006-11-06

    Logged In: YES
    user_id=28123

    In addition to having the instructions on the web page, I
    need to include the server compile instructions w/ the
    source code.

    The instructions online ask you to download
    dw-server-libs-0.2.0-bin.tar.gz, did you do this? This will
    create the lib dir. The ant script should probably do this.
    However, without dw-server-libs-0.2.0-bin.tar.gz the
    plugins will not compile.

     

Log in to post a comment.