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.



  • Posts

    • New user panel SOURCE $ 200 for source code. R$ 1000,00 BRL for source code.    
    • User panel 2.0 + New features.    
    • Hello everyone, we are one of the top gaming currency stores. We work exclusively with top projects. If you are interested in anything like Adena, Coins, Equip, write to us Discord - pchelacoin Telegram - https://t.me/ipchelacoin BOHPTS, KETRAWARS, EURO-PVP, L2REBORN, E-GLOBAL, LA2DREAM TOP PRICE !!!!!!!
    • L2Elixir – Patch 4 Is Live!   We’re working non-stop, day and night, to deliver the best possible quality and bring back what made L2Elixir special. This project is built with passion, not shortcuts — for the old-school players who remember, and the new ones who want to experience it properly. Thank you for being part of the journey. Together, we’re making L2Elixir great again ❤️ The legends never fade.    ⚙️ General Enabled Class Change service (same class type only) ALT + B → Services → Character Development Enabled Shift + Click on Treasure Chests Players can now identify real chests (Adena, scroll drops) and use Key / Unlock Event deaths now cancel only debuffs, All self buffs are preserved, fixes issues with Root and similar effects Bladedancer class can now log in even when Max Clients (2) is reached. Since an active Bladedancer is not available for every damage dealer and some players tried to abuse this via VPN or a second PC, this feature was added to keep things fair. protections applies, requires testing!    🎒 Items Crystallizing enchanted items now gives the correct increased crystal amount (retail-like behavior) Removed Agathion Seal Bracelet: Rudolph from Santa rewards (Gracia Final item) Added Dualsword Craft Stamp into Milestone Exchange list    🧙 Skills Fixed Banish Undead lethal chance Hot Springs Malaria and similar effects now level up faster while being attacked
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock