Jump to content

Recommended Posts

  • 1 month later...
Posted

error on class?

I have the same problem. I have java 6 and 7 , trying compile on 6. I change JAVA_HOME in windows and change JRE in eclipse preferences then i have one error :

Compile failed; see the compiler error output for details.

and : <javac srcdir="${src.commons}" destdir="${build.classes}" debug="${debug}" source="1.6" target="1.6" encoding="UTF-8" nowarn="off" classpath="${build.classpath}">

Posted

I have the same problem. I have java 6 and 7 , trying compile on 6. I change JAVA_HOME in windows and change JRE in eclipse preferences then i have one error :

Compile failed; see the compiler error output for details.

and : <javac srcdir="${src.commons}" destdir="${build.classes}" debug="${debug}" source="1.6" target="1.6" encoding="UTF-8" nowarn="off" classpath="${build.classpath}">

 

windows 7?

  • 2 weeks later...
Posted

I have succeeded in compilation and remove some warings , now at start gameserver i have error:

java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:45)
at l2p.gameserver.templates.PlayerTemplate.addItem(PlayerTemplate.java:61)
at l2p.gameserver.tables.CharTemplateTable.<init>(CharTemplateTable.java:102)
at l2p.gameserver.tables.CharTemplateTable.getInstance(CharTemplateTable.java:29)
at l2p.gameserver.GameServer.<init>(GameServer.java:182)
at l2p.gameserver.GameServer.main(GameServer.java:360)
[14:38:28]  WARN ItemHolder: Not defined item id : 1146, or out of range!
java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:45)
at l2p.gameserver.templates.PlayerTemplate.addItem(PlayerTemplate.java:61)
at l2p.gameserver.tables.CharTemplateTable.<init>(CharTemplateTable.java:102)
at l2p.gameserver.tables.CharTemplateTable.getInstance(CharTemplateTable.java:29)
at l2p.gameserver.GameServer.<init>(GameServer.java:182)
at l2p.gameserver.GameServer.main(GameServer.java:360)
[14:38:28]  WARN ItemHolder: Not defined item id : 2369, or out of range!
.
.
.
.
[14:38:34]  WARN ItemHolder: Not defined item id : 4041, or out of range!
java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:45)
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:25)
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:33)
at events.CofferofShadows.Coffer.<clinit>(Coffer.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at l2p.gameserver.scripts.Scripts.init(Scripts.java:140)
at l2p.gameserver.GameServer.<init>(GameServer.java:199)
at l2p.gameserver.GameServer.main(GameServer.java:360)
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at l2p.gameserver.scripts.Scripts.init(Scripts.java:140)
at l2p.gameserver.GameServer.<init>(GameServer.java:199)
at l2p.gameserver.GameServer.main(GameServer.java:360)
Caused by: java.lang.NullPointerException
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:26)
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:33)
at events.CofferofShadows.Coffer.<clinit>(Coffer.java:27)
... 9 more

 

I try to find what is wrong but now dont have idea, maybe some1 can help ?

  • 10 months later...
Posted

can somone tell me some steps please how can y import this source in eclipse in order to compile?

 

y never compile a download sourse  y compile just URL://  SOURCE so y dont now how to import this :D

  y create workspace where y past this source but :D.........

Guest
This topic is now closed to further replies.

×
×
  • Create New...