Getting an issue on removing the custom java action

Hi Everyone, I am getting an error on the deprecated custom java action so I have deleted the java action from the working copy and trying to run on the local it is working fine but while trying to create an deployment package for the application the same custom java action is again created and the error throws as below. compile:     [javac] C:\Users\sss\Documents\Mendix\ABC-main\javasource\projectmodule\actions\ error: duplicate class: main.actions.JA_DeserializeFile     [javac] public class JA_DeserializeFile extends CustomJavaAction<java.lang.String>     [javac]        ^     [javac] Note: Some input files use or override a deprecated API.     [javac] Note: Recompile with -Xlint:deprecation for details.     [javac] Note: Some input files use unchecked or unsafe operations.     [javac] Note: Recompile with -Xlint:unchecked for details.     [javac] 1 error   BUILD FAILED
1 answers

Did you “Deploy to Eclipse”  before creating the package? It might be needed to sync the files.