1) Right click > New > Java Project > Uncheck the "Use default location" and navigate to your server folder.
2) If it isn't programming errors, it could be yours deps that are misconfigured. Go to Project > Properties > Java Build Path > Libraries tab > Add JARs > Add the JARs from your servers deps folder.
Good luck.






