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 ?
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:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.