sstokic-tgm / JFTSE

JFTSE Open Source MMO Framework
GNU General Public License v3.0
46 stars 26 forks source link

Unknown import errors #166

Open jcs090218 opened 10 months ago

jcs090218 commented 10 months ago

I'm trying to build the server from scratch today, but I got several errors:

import com.jftse.proto.auth.ClientServiceGrpc;
import com.jftse.proto.auth.FTClientList;

These two imports are missing and cannot be found. Any help is appreciated!

sstokic-tgm commented 10 months ago

Did you run mvn clean install in the root folder? If not, cd into commons-proto and run there mvn clean install or mvn clean package

jcs090218 commented 10 months ago

Did you run mvn clean install in the root folder?

Yes, I did. I followed the instruction from the README but unfortunately it doesn't work. :(

If not, cd into commons-proto and run there mvn clean install or mvn clean package

Still not working.

2023-09-05 16 46 35

sstokic-tgm commented 10 months ago

Does it still happen? I am quite unsure how to fix it, because the import errors should be gone with a project whole compile. Maybe you can try to just use mvn compile inside commons-proto

jcs090218 commented 9 months ago

Everything seems to be built successfully in the command line. However, it doesn't work in Intellij. 🤔

Maybe you can try to just use mvn compile inside commons-proto

Unfortunately, I still get the same result. :(

sstokic-tgm commented 9 months ago

A few days ago I had the same problem. Within IntelliJ using the maven plugin, I started then the clean task and then the install task on commons-proto module. Afterwards I ran the auth-server with the play button (for the service so to say) and it worked.