Reputation: 81
I have a project which I am converting from plain Java to Maven.
I used the "Configure -> Convert to Maven Project"
option in eclipse.
I removed all jars in the classpath and referenced them in my POM file and built the project
My new classes are built in project/target
but when I launch from eclipse, (using the original launcher) , the old classes are in project\bin
folder are used.
How do I reconfigure this to use the correct classes ?
Upvotes: 1
Views: 2203
Reputation: 407
Seems that the configuration for output files in eclipse has not change. Try to change the output of generated files in eclipse manually:
<your-project>/target/classes
For example:
Upvotes: 1