Thread: Source Error

Results 1 to 2 of 2
  1. #1 Source Error 
    Let the games begin!

    Angeloflife's Avatar
    Join Date
    Jul 2013
    Age
    26
    Posts
    754
    Thanks given
    21
    Thanks received
    147
    Rep Power
    83
    I need help fixing this error when i run the source.

    Code:
     
    Running server...
    [Server]: Instinct Framework
    [Server]: Loading cache...
    [Server]: Loading Xteas and RegionBuilder...
    [Server]: Loading clans
    [Server]: Loaded 0 clans.
    [Server]: Initializing packed and unpacked map areas...
    [Server]: Loaded 15612 item prices.
    Loaded 34 shops.
    [Server]: Reading mapdata...
    [Server]: Loaded mapdata.
    [Server]: Loaded packet handlers.
    [Server]: Loading item definitions.
    [Server]: Loaded 22343 item definitions.
    [Server]: Loading npc definitions.
    [Server]: Loaded 328 npc definitions.
    [Server]: Loading world list data.
    [Server]: Setting up world.
    [Server]: com.thoughtworks.xstream.converters.ConversionException: Cannot constr
    uct max.model.NPC as it does not have a no-args constructor : Cannot construct m
    ax.model.NPC as it does not have a no-args constructor
    ---- Debugging information ----
    message             : Cannot construct max.model.NPC as it does not have a no-ar
    gs constructor
    cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAcces
    sException
    cause-message       : Cannot construct max.model.NPC as it does not have a no-ar
    gs constructor
    class               : java.util.ArrayList
    required-type       : max.model.NPC
    path                : /list/npc
    line number         : 2
    -------------------------------
    [Server]: Cannot construct max.model.NPC as it does not have a no-args construct
    or : Cannot construct max.model.NPC as it does not have a no-args constructor
    ---- Debugging information ----
    message             : Cannot construct max.model.NPC as it does not have a no-ar
    gs constructor
    cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAcces
    sException
    cause-message       : Cannot construct max.model.NPC as it does not have a no-ar
    gs constructor
    class               : java.util.ArrayList
    required-type       : max.model.NPC
    path                : /list/npc
    line number         : 2
    -------------------------------
    [Server]: com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshalle
    r.java:88)
    [Server]: com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Ab
    stractReferenceUnmarshaller.java:55)
    [Server]: com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnma
    rshaller.java:75)
    [Server]: com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnma
    rshaller.java:59)
    [Server]: com.thoughtworks.xstream.converters.collections.AbstractCollectionConv
    erter.readItem(AbstractCollectionConverter.java:77)
    [Server]: com.thoughtworks.xstream.converters.collections.CollectionConverter.po
    pulateCollection(CollectionConverter.java:68)
    [Server]: com.thoughtworks.xstream.converters.collections.CollectionConverter.un
    marshal(CollectionConverter.java:61)
    [Server]: com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshalle
    r.java:81)
    [Server]: com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(Ab
    stractReferenceUnmarshaller.java:55)
    [Server]: com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnma
    rshaller.java:75)
    [Server]: com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnma
    rshaller.java:59)
    [Server]: com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.
    java:142)
    [Server]: com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarsha
    l(AbstractTreeMarshallingStrategy.java:33)
    [Server]: com.thoughtworks.xstream.XStream.unmarshal(XStream.java:907)
    [Server]: com.thoughtworks.xstream.XStream.unmarshal(XStream.java:893)
    [Server]: com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
    [Server]: max.model.World.setEngine(World.java:595)
    [Server]: max.Server.<init>(Server.java:83)
    [Server]: max.Main$1.run(Main.java:36)
    [Server]: java.lang.Thread.run(Unknown Source)
    Error: Main method not found in class max.Server, please define the main method
    as:
       public static void main(String[] args)
    or a JavaFX application class must extend javafx.application.Application
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2014
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I have the same error! someone help please
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. 562 Source Error
    By I Pk Nomad in forum Help
    Replies: 4
    Last Post: 12-21-2010, 11:55 PM
  2. Paradise Source (Error)
    By advent emu in forum Help
    Replies: 1
    Last Post: 12-30-2009, 06:20 PM
  3. Paradise Source (Error)
    By advent emu in forum Help
    Replies: 2
    Last Post: 12-30-2009, 02:36 PM
  4. Devolution v7 Source Error
    By kuwaity in forum Help
    Replies: 0
    Last Post: 08-04-2009, 02:01 AM
  5. Delta source error please help
    By Defo in forum Help
    Replies: 3
    Last Post: 07-13-2009, 04:21 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •