So its underlined in RED and i can't compile because of this :
[javac] Compiling 1264 source files to D:\Workspace\L2Dot_IL_Game\build\classes
[javac] D:\Workspace\L2Dot_IL_Game\java\com\l2dot\gameserver\model\actor\instance\L2PcInstance.java:6274: getConnection() in com.l2dot.L2DatabaseFactory cannot be applied to (java.sql.Connection)
[javac] con = L2DatabaseFactory.getInstance().getConnection(con);
[javac] ^
[javac] D:\Workspace\L2Dot_IL_Game\java\com\l2dot\gameserver\model\actor\instance\L2PcInstance.java:6302: getConnection() in com.l2dot.L2DatabaseFactory cannot be applied to (java.sql.Connection)
[javac] con = L2DatabaseFactory.getInstance().getConnection(con);
[javac] ^
[javac] 2 errors
BUILD FAILED
I can give teamviewer to someone if he can help me ,or just post here the fix.. Thanks for the attention!
🤝 SocNet is looking for new partners and suppliers!
We are building a reliable partner network across all areas of online business.
If you're in digital, traffic, accounts, or media — let’s discuss collaboration opportunities.
📌 Open to:
— Webmasters and media buyers
— Telegram channel and website owners
— Sellers of accounts and auto-registered profiles
— Developers of digital services
— Marketing agencies and freelancers
💬 We value quality, transparency, and growth. If that resonates with you — get in touch!
📎 Our current list of partners:
🔗 https://socnet.bgng.io/partners
📦 Our key products:
🛒 Online Store: Click ✅
🤖 Telegram Bot: Click ✅
📲 SMM Panel: Click ✅
📩 Contact us:
💬 Telegram: https://t.me/solomon_bog
📱 WhatsApp: https://wa.me/79051904467
🎮 Discord: https://discord.gg/y9AStFFsrh
📧 Email: solomonbog@socnet.store
📢 Follow updates: https://t.me/accsforyou_shop ✅
🤝 SocNet is looking for new partners and suppliers!
We are building a reliable partner network across all areas of online business.
If you're in digital, traffic, accounts, or media — let’s discuss collaboration opportunities.
📌 Open to:
— Webmasters and media buyers
— Telegram channel and website owners
— Sellers of accounts and auto-registered profiles
— Developers of digital services
— Marketing agencies and freelancers
💬 We value quality, transparency, and growth. If that resonates with you — get in touch!
📎 Our current list of partners:
🔗 https://socnet.bgng.io/partners
📦 Our key products:
🛒 Online Store: Click ✅
🤖 Telegram Bot: Click ✅
📲 SMM Panel: Click ✅
📩 Contact us:
💬 Telegram: https://t.me/solomon_bog
📱 WhatsApp: https://wa.me/79051904467
🎮 Discord: https://discord.gg/y9AStFFsrh
📧 Email: solomonbog@socnet.store
📢 Follow updates: https://t.me/accsforyou_shop ✅
Question
WizZy™
heh so i decided to add a Vote System (in core edits) ,so i started.. The only problem i got is this :
So its underlined in RED and i can't compile because of this :
I can give teamviewer to someone if he can help me ,or just post here the fix.. Thanks for the attention!
4 answers to this question
Recommended Posts