The workaround on this issue would be:
- Under the project properties, go to Deployment Assembly.
- Click on Add button.
- Choose Java Build Path Entries.
- Select all the M2_REPO library.
- Restart the server.
Wonder why I don't need these extra configuration on Linux? Am I missing something else? Or this only required for Windows?