Anyone lucky enough to get extensions working?
Posted: 26 Aug 2024, 22:21
The problem I am having right now is that the sfs2x.jar and sfs2x-core.jar files do not have accessible classes in Eclipse.
Following the instructions found @ https://docs2x.smartfoxserver.com/Exten ... extensions
Even after rebooting Eclipse, when tryin to simply import:
import com.smartfoxserver.*;
or:
import com.smartfoxserver.v2.extensions.*;
or even:
import com.smartfoxserver.v2.extensions.SFSExtension;
Eclipse claims...
"The package com.smartfoxserver is not accessible"
Autocomplete works properly.. nothing else does.
Ah! Steps to duplicate this issue:
1. Install SmartFoxServer.
2. Install newest patch.
3. Install Eclipse.
4. Follow instructions found @ https://docs2x.smartfoxserver.com/Exten ... extensions
5. Error/Issue occurs at the following step:
"Finally we have created our main Extension class; we can now proceed adding some very basic code like the following picture shows."
Following the instructions found @ https://docs2x.smartfoxserver.com/Exten ... extensions
Even after rebooting Eclipse, when tryin to simply import:
import com.smartfoxserver.*;
or:
import com.smartfoxserver.v2.extensions.*;
or even:
import com.smartfoxserver.v2.extensions.SFSExtension;
Eclipse claims...
"The package com.smartfoxserver is not accessible"
Autocomplete works properly.. nothing else does.
Ah! Steps to duplicate this issue:
1. Install SmartFoxServer.
2. Install newest patch.
3. Install Eclipse.
4. Follow instructions found @ https://docs2x.smartfoxserver.com/Exten ... extensions
5. Error/Issue occurs at the following step:
"Finally we have created our main Extension class; we can now proceed adding some very basic code like the following picture shows."