ERROR when try to run locally

0
when running locally i get a java error with the following details Buildfile: C:\Users\student.admin-PC\Documents\Mendix\Carecleaning_services_updated-main\deployment\build_core.xml compile:     [javac] Compiling 1 source file to C:\Users\student.admin-PC\Documents\Mendix\Carecleaning_services_updated-main\deployment\run\bin build:       [bnd] # addAll 'deployment/run/bnd.bnd' with ,       [bnd] 1 Errors       [bnd]  Classes found in the wrong directory: {myfirstmodule/proxies/Frequency.class=myfirstmodule.proxies.frequency}       [bnd] C:\Users\student.admin-PC\Documents\Mendix\Carecleaning_services_updated-main\deployment\run\bnd.bnd: bnd failed       [bnd]     at aQute.bnd.ant.BndTask.executeBackwardCompatible(BndTask.java:231)       [bnd]     at aQute.bnd.ant.BndTask.execute(BndTask.java:115)       [bnd]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)       [bnd]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       [bnd]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)       [bnd]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       [bnd]     at java.lang.reflect.Method.invoke(Method.java:498)       [bnd]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)       [bnd]     at org.apache.tools.ant.Task.perform(Task.java:348)       [bnd]     at org.apache.tools.ant.Target.execute(Target.java:390)       [bnd]     at org.apache.tools.ant.Target.performTasks(Target.java:411)       [bnd]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)       [bnd]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)       [bnd]     at org.apache.tools.ant.Project.executeTargets(Project.java:1212)       [bnd]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)       [bnd]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)       [bnd]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       [bnd]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)       [bnd]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       [bnd]     at java.lang.reflect.Method.invoke(Method.java:498)       [bnd]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)       [bnd]     at org.apache.tools.ant.Task.perform(Task.java:348)       [bnd]     at org.apache.tools.ant.Target.execute(Target.java:390)       [bnd]     at org.apache.tools.ant.Target.performTasks(Target.java:411)       [bnd]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)       [bnd]     at org.apache.tools.ant.Project.executeTarget(Project.java:1329)       [bnd]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)       [bnd]     at org.apache.tools.ant.Project.executeTargets(Project.java:1212)       [bnd]     at org.apache.tools.ant.Main.runBuild(Main.java:801)       [bnd]     at org.apache.tools.ant.Main.startAnt(Main.java:218)       [bnd]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)       [bnd]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) BUILD FAILED C:\Users\student.admin-PC\Documents\Mendix\Carecleaning_services_updated-main\deployment\build_core.xml:43: The following error occurred while executing this line: C:\Users\student.admin-PC\Documents\Mendix\Carecleaning_services_updated-main\deployment\run\bndbuild.xml:9: Failed to build jar file: Total time: 10 seconds    
asked
1 answers
0

As can be seen from the comments the issue was solved by cleaning the deployment directory (

Sushuma Bandanadham).

This answer was placed here to mark the question as answered

answered