It is a problem with your environment, not with your code (although the code does contain a clue).
Your code tells jndi how to look up the initial context through an environment variable called org.jboss.ejb.client.naming
. The variable contains a full name of your class, complete with its package name. When you renamed the project, you probably changed the package name as well. Now the environment variable org.jboss.ejb.client.naming
points to some class that does not exist. You need to change that variable to reference your renamed class name to fix the problem.