After doing mvn clean compile install
i can not see any files in target/classes folder in eclipse. But when i have a look in filesystem the folder is there with compiled classes files inside. But when i start a unit test, it says "there is no target/classes folder"
Any ideas ???
Preferences -> General -> Workspace -> Refresh using native hooks or polling
When enabled, any changes made by external editors will be automatically discovered by the Workbench.
From my experience it would seam that Eclipse does not monitor the file system for changes. So if you created your classes the you manually ran maven from command line, I suspect you'd have to right click your project in Eclipse (from the Navigator for example), and click refresh, and only after this you'll see the new files.
You could also install the m2e and the m2-wtp maven plugins for Eclipse, and run your build process from inside Eclipse which should detect all the changes on the file system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With