Did you use Existing Maven Project Import or Existing Eclipse project ?
If you did not use the Maven variation eclipse will not use maven to resolve and configure your project and that would most definitely result in compile errors.
Reply to this message by going to Community
Start a new discussion in JBoss Tools at Community