Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

Help Netbeans Problem !!!

Newbie Spellweaver
Joined
Dec 21, 2012
Messages
44
Reaction score
0
Im trying to make v111 private server Lithium based
this is my problem can somebody help me please !!!!!



btw all other errors are the same with the: "getsession"
what can i do ?
 
Add your library files? That might help you know.. If you don't know what that is then add my skype: gjboy1976
 
Upvote 0
this are my error in netbeans

C:\Disc D\private server v111\trunk\src\client\AutoRegister.java:7: error: cannot find symbol
import tools.DatabaseConnection;
symbol: class DatabaseConnection
location: package tools
C:\Disc D\private server v111\trunk\src\client\AutoRegister.java:11: error: package org.slf4j does not exist
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(MapleClient.class);
C:\Disc D\private server v111\trunk\src\client\MapleClient.java:65: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoSession;
C:\Disc D\private server v111\trunk\src\client\inventory\MapleRing.java:24: error: package com.mysql.jdbc.exceptions does not exist
import com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException;
C:\Disc D\private server v111\trunk\src\handling\channel\ChannelServer.java:49: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\handling\channel\ChannelServer.java:50: error: package org.apache.mina.common does not exist
import org.apache.mina.common.SimpleByteBufferAllocator;
C:\Disc D\private server v111\trunk\src\handling\channel\ChannelServer.java:51: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoAcceptor;
C:\Disc D\private server v111\trunk\src\handling\channel\ChannelServer.java:52: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolCodecFilter;
C:\Disc D\private server v111\trunk\src\handling\channel\ChannelServer.java:53: error: package org.apache.mina.transport.socket.nio does not exist
import org.apache.mina.transport.socket.nio.SocketAcceptorConfig;
C:\Disc D\private server v111\trunk\src\handling\channel\ChannelServer.java:54: error: package org.apache.mina.transport.socket.nio does not exist
import org.apache.mina.transport.socket.nio.SocketAcceptor;
C:\Disc D\private server v111\trunk\src\client\MapleClient.java:80: error: cannot find symbol
private transient IoSession session;
symbol: class IoSession
location: class MapleClient
C:\Disc D\private server v111\trunk\src\client\MapleClient.java:102: error: cannot find symbol
public MapleClient(MapleAESOFB send, MapleAESOFB receive, IoSession session) {
symbol: class IoSession
location: class MapleClient
C:\Disc D\private server v111\trunk\src\client\MapleClient.java:116: error: cannot find symbol
public final IoSession getSession() {
symbol: class IoSession
location: class MapleClient
C:\Disc D\private server v111\trunk\src\handling\channel\ChannelServer.java:76: error: cannot find symbol
private IoAcceptor acceptor;
symbol: class IoAcceptor
location: class ChannelServer
C:\Disc D\private server v111\trunk\src\client\LoginCrypto.java:80: error: hexSha1(String) is already defined in LoginCrypto
private static final String hexSha1(final String in) {
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:58: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoHandlerAdapter;
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:59: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IdleStatus;
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:60: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoSession;
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:68: error: cannot find symbol
public class MapleServerHandler extends IoHandlerAdapter implements MapleServerHandlerMBean {
symbol: class IoHandlerAdapter
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:120: error: cannot find symbol
private static FileWriter isLoggedIP(IoSession sess) {
symbol: class IoSession
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:145: error: cannot find symbol
public static void log(String packet, String op, MapleClient c, IoSession io) {
symbol: class IoSession
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:284: error: cannot find symbol
public void exceptionCaught(final IoSession session, final Throwable cause) throws Exception {
symbol: class IoSession
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:291: error: cannot find symbol
public void sessionOpened(final IoSession session) throws Exception {
symbol: class IoSession
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:400: error: cannot find symbol
public void sessionClosed(final IoSession session) throws Exception {
symbol: class IoSession
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:441: error: cannot find symbol
public void sessionIdle(final IoSession session, final IdleStatus status) throws Exception {
symbol: class IoSession
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:441: error: cannot find symbol
public void sessionIdle(final IoSession session, final IdleStatus status) throws Exception {
symbol: class IdleStatus
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\MapleServerHandler.java:454: error: cannot find symbol
public void messageReceived(final IoSession session, final Object message) {
symbol: class IoSession
location: class MapleServerHandler
C:\Disc D\private server v111\trunk\src\handling\cashshop\CashShopServer.java:28: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\handling\cashshop\CashShopServer.java:29: error: package org.apache.mina.common does not exist
import org.apache.mina.common.SimpleByteBufferAllocator;
C:\Disc D\private server v111\trunk\src\handling\cashshop\CashShopServer.java:30: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoAcceptor;
C:\Disc D\private server v111\trunk\src\handling\cashshop\CashShopServer.java:32: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolCodecFilter;
C:\Disc D\private server v111\trunk\src\handling\cashshop\CashShopServer.java:33: error: package org.apache.mina.transport.socket.nio does not exist
import org.apache.mina.transport.socket.nio.SocketAcceptorConfig;
C:\Disc D\private server v111\trunk\src\handling\cashshop\CashShopServer.java:34: error: package org.apache.mina.transport.socket.nio does not exist
import org.apache.mina.transport.socket.nio.SocketAcceptor;
C:\Disc D\private server v111\trunk\src\handling\cashshop\CashShopServer.java:43: error: cannot find symbol
private static IoAcceptor acceptor;
symbol: class IoAcceptor
location: class CashShopServer
C:\Disc D\private server v111\trunk\src\handling\login\LoginServer.java:32: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\handling\login\LoginServer.java:33: error: package org.apache.mina.common does not exist
import org.apache.mina.common.SimpleByteBufferAllocator;
C:\Disc D\private server v111\trunk\src\handling\login\LoginServer.java:34: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoAcceptor;
C:\Disc D\private server v111\trunk\src\handling\login\LoginServer.java:36: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolCodecFilter;
C:\Disc D\private server v111\trunk\src\handling\login\LoginServer.java:37: error: package org.apache.mina.transport.socket.nio does not exist
import org.apache.mina.transport.socket.nio.SocketAcceptorConfig;
C:\Disc D\private server v111\trunk\src\handling\login\LoginServer.java:38: error: package org.apache.mina.transport.socket.nio does not exist
import org.apache.mina.transport.socket.nio.SocketAcceptor;
C:\Disc D\private server v111\trunk\src\handling\login\LoginServer.java:46: error: cannot find symbol
private static IoAcceptor acceptor;
symbol: class IoAcceptor
location: class LoginServer
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:23: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolCodecFactory;
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:24: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolDecoder;
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:25: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolEncoder;
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:27: error: cannot find symbol
public class MapleCodecFactory implements ProtocolCodecFactory {
symbol: class ProtocolCodecFactory
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:29: error: cannot find symbol
private final ProtocolEncoder encoder = new MaplePacketEncoder();
symbol: class ProtocolEncoder
location: class MapleCodecFactory
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:30: error: cannot find symbol
private final ProtocolDecoder decoder = new MaplePacketDecoder();
symbol: class ProtocolDecoder
location: class MapleCodecFactory
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:32: error: cannot find symbol
public ProtocolEncoder getEncoder() throws Exception {
symbol: class ProtocolEncoder
location: class MapleCodecFactory
C:\Disc D\private server v111\trunk\src\handling\mina\MapleCodecFactory.java:36: error: cannot find symbol
public ProtocolDecoder getDecoder() throws Exception {
symbol: class ProtocolDecoder
location: class MapleCodecFactory
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:27: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:28: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoSession;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:29: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.CumulativeProtocolDecoder;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:30: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolDecoderOutput;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:32: error: cannot find symbol
public class MaplePacketDecoder extends CumulativeProtocolDecoder {
symbol: class CumulativeProtocolDecoder
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:42: error: cannot find symbol
protected boolean doDecode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out) throws Exception {
symbol: class IoSession
location: class MaplePacketDecoder
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:42: error: cannot find symbol
protected boolean doDecode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out) throws Exception {
symbol: class ByteBuffer
location: class MaplePacketDecoder
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketDecoder.java:42: error: cannot find symbol
protected boolean doDecode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out) throws Exception {
symbol: class ProtocolDecoderOutput
location: class MaplePacketDecoder
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:30: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:31: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoSession;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:32: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolEncoder;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:33: error: package org.apache.mina.filter.codec does not exist
import org.apache.mina.filter.codec.ProtocolEncoderOutput;
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:35: error: cannot find symbol
public class MaplePacketEncoder implements ProtocolEncoder {
symbol: class ProtocolEncoder
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:38: error: cannot find symbol
public void encode(final IoSession session, final Object message, final ProtocolEncoderOutput out) throws Exception {
symbol: class IoSession
location: class MaplePacketEncoder
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:38: error: cannot find symbol
public void encode(final IoSession session, final Object message, final ProtocolEncoderOutput out) throws Exception {
symbol: class ProtocolEncoderOutput
location: class MaplePacketEncoder
C:\Disc D\private server v111\trunk\src\handling\mina\MaplePacketEncoder.java:67: error: cannot find symbol
public void dispose(IoSession session) throws Exception {
symbol: class IoSession
location: class MaplePacketEncoder
C:\Disc D\private server v111\trunk\src\tools\HexTool.java:25: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\tools\HexTool.java:58: error: cannot find symbol
public static final String toString(final ByteBuffer buf) {
symbol: class ByteBuffer
location: class HexTool
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:25: error: package org.apache.mina.common does not exist
import org.apache.mina.common.CloseFuture;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:26: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoFilterChain;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:27: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoHandler;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:28: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoService;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:29: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoServiceConfig;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:30: error: package org.apache.mina.common does not exist
import org.apache.mina.common.IoSessionConfig;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:31: error: package org.apache.mina.common does not exist
import org.apache.mina.common.TransportType;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:32: error: package org.apache.mina.common does not exist
import org.apache.mina.common.WriteFuture;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:33: error: package org.apache.mina.common.IoFilter does not exist
import org.apache.mina.common.IoFilter.WriteRequest;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:34: error: package org.apache.mina.common.support does not exist
import org.apache.mina.common.support.BaseIoSession;
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:48: error: cannot find symbol
public class MockIOSession extends BaseIoSession {
symbol: class BaseIoSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:61: error: cannot find symbol
public IoSessionConfig getConfig() {
symbol: class IoSessionConfig
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:69: error: cannot find symbol
public IoFilterChain getFilterChain() {
symbol: class IoFilterChain
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:77: error: cannot find symbol
public IoHandler getHandler() {
symbol: class IoHandler
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:101: error: cannot find symbol
public IoService getService() {
symbol: class IoService
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:117: error: cannot find symbol
public IoServiceConfig getServiceConfig() {
symbol: class IoServiceConfig
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:125: error: cannot find symbol
public TransportType getTransportType() {
symbol: class TransportType
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:133: error: cannot find symbol
public CloseFuture close() {
symbol: class CloseFuture
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:148: error: cannot find symbol
public WriteFuture write(Object message, SocketAddress remoteAddress) {
symbol: class WriteFuture
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:157: error: cannot find symbol
public WriteFuture write(Object message) {
symbol: class WriteFuture
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\MockIOSession.java:165: error: cannot find symbol
protected void write0(WriteRequest writeRequest) {
symbol: class WriteRequest
location: class MockIOSession
C:\Disc D\private server v111\trunk\src\tools\data\output\ByteBufferLittleEndianWriter.java:23: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\tools\data\output\ByteBufferLittleEndianWriter.java:35: error: cannot find symbol
private ByteBuffer bb;
symbol: class ByteBuffer
location: class ByteBufferLittleEndianWriter
C:\Disc D\private server v111\trunk\src\tools\data\output\ByteBufferLittleEndianWriter.java:70: error: cannot find symbol
public ByteBuffer getFlippedBB() {
symbol: class ByteBuffer
location: class ByteBufferLittleEndianWriter
C:\Disc D\private server v111\trunk\src\tools\data\output\ByteBufferLittleEndianWriter.java:79: error: cannot find symbol
public ByteBuffer getByteBuffer() {
symbol: class ByteBuffer
location: class ByteBufferLittleEndianWriter
C:\Disc D\private server v111\trunk\src\tools\data\output\ByteBufferOutputstream.java:23: error: package org.apache.mina.common does not exist
import org.apache.mina.common.ByteBuffer;
C:\Disc D\private server v111\trunk\src\tools\data\output\ByteBufferOutputstream.java:34: error: cannot find symbol
private ByteBuffer bb;
symbol: class ByteBuffer
location: class ByteBufferOutputstream
C:\Disc D\private server v111\trunk\src\tools\data\output\ByteBufferOutputstream.java:42: error: cannot find symbol
public ByteBufferOutputstream(final ByteBuffer bb) {
symbol: class ByteBuffer
location: class ByteBufferOutputstream
C:\Disc D\private server v111\trunk\src\client\AutoRegister.java:11: error: package org.slf4j does not exist
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(MapleClient.class);
C:\Disc D\private server v111\trunk\src\client\AutoRegister.java:18: error: cannot find symbol
Connection con = DatabaseConnection.getConnection();
symbol: method getConnection()
location: class DatabaseConnection
C:\Disc D\private server v111\trunk\src\client\AutoRegister.java:35: error: cannot find symbol
con = DatabaseConnection.getConnection();
symbol: method getConnection()
location: class DatabaseConnection
C:\Disc D\private server v111\trunk\src\client\inventory\MapleRing.java:120: error: cannot find symbol
} catch (MySQLIntegrityConstraintViolationException mslcve) {
symbol: class MySQLIntegrityConstraintViolationException
location: class MapleRing
C:\Disc D\private server v111\trunk\src\client\inventory\MapleRing.java:131: error: cannot find symbol
} catch (MySQLIntegrityConstraintViolationException mslcve) {
symbol: class MySQLIntegrityConstraintViolationException
location: class MapleRing
C:\Disc D\private server v111\trunk\src\client\messages\CommandProcessor.java:56: warning: non-varargs call of varargs method with inexact argument type for last parameter;
PlayerGMRank rankNeeded = (PlayerGMRank) clasz.getMethod("getPlayerLevelRequired", new Class<?>[]{}).invoke(null, null);
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
1 warning
C:\Users\MARK\Documents\NetBeansProjects\KopiStory\nbproject\build-impl.xml:900: The following error occurred while executing this line:
C:\Users\MARK\Documents\NetBeansProjects\KopiStory\nbproject\build-impl.xml:265: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 7 seconds)
 
Upvote 0
Put the errors in code please so that we can read the errors. And make sure your using JDK and JRE 7. Right click the project, then properties and then it should show
 
Upvote 0
i fixed it !!!!! but now i got another problem !!!
 
Upvote 0
You gotta go into netbeans, then database. Then DatabaseConnection.java. Scroll all the way down and then it should say something like

Code:
"jdbc:mysql://localhost:3306/lithium?autoReconnect=true", 
					"root", "");

change
Code:
lithium
To whatever you made you Database in SQL
 
Upvote 0
I fixed the Batch files but i got another problem ...
Every time i change the IP in the LocalHost it says runtime error when im trying to get in the game .....
 
Upvote 0
Back