Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

cann't compile the source in eclipse

Help
fang sen
2010-09-15
2013-06-06
  • fang sen
    fang sen
    2010-09-15

    hello guys
        i don't know why but something just below happened when i compiled the source ,i just get the source from cvs and i never change the code ,i did it by the instruction,but still didn't  work any body help?

    Self build client, starting without update .jar-files
    Cannot find data/conf/log4j.properties in classpath. Using default properties.
    0     INFO  games.stendhal.client.stendhal  - Setting base at :\stendhal\
    0     INFO  games.stendhal.client.stendhal  - Stendhal 0.87.5
    0     INFO  games.stendhal.client.stendhal  - OS: Windows XP Service Pack 3 5.1 x86
    0     INFO  games.stendhal.client.stendhal  - Java-Runtime: Java(TM) SE Runtime Environment 1.7.0-ea-b45 from D:\Program Files\Java\jre1.7.0
    0     INFO  games.stendhal.client.stendhal  - Java-VM: Sun Microsystems Inc. Java HotSpot(TM) Client VM 14.0-b10
    1781  ERROR games.stendhal.client.sprite.SpriteStore  - Can't find ref: data/gui/panelwood119.jpg
    1781  ERROR games.stendhal.client.sprite.SpriteStore  - Can't find ref: data/sprites/failsafe.png
    1781  ERROR games.stendhal.client.sprite.SpriteStore  - Cannot find FAILSAFE_ICON_REF: data/sprites/failsafe.png
    java.lang.reflect.InvocationTargetException
    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 games.stendhal.client.update.Bootstrap.boot(Bootstrap.java:334)
    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 games.stendhal.client.update.ClientRunner.run(ClientRunner.java:54)
    at games.stendhal.client.update.Starter.main(Starter.java:45)
    Caused by: java.lang.NullPointerException
    at games.stendhal.client.gui.styled.PixmapBorder.makeModifiedImage(PixmapBorder.java:78)
    at games.stendhal.client.gui.styled.PixmapBorder.<init>(PixmapBorder.java:59)
    at games.stendhal.client.gui.styled.WoodStyle.<init>(WoodStyle.java:58)
    at games.stendhal.client.gui.styled.WoodStyle.getInstance(WoodStyle.java:75)
    at games.stendhal.client.stendhal.main(stendhal.java:166)
    … 11 more

     
  • If you are using ant, the easiest way is to do "ant dist" and then unzip the stendhal-FULL-0.xx.zip somewhere.

    If you are using Eclipse, make sure that the project root folder is on the classpath:
    - In the Run configuration dialog, on the  tab, select "user entries" and then click the button "Advanced"
    - (*) add folder | OK
    - and select the project root folder. | OK

     


Anonymous


Cancel   Add attachments