Keep getting "Cannot be resolved into a Type" errors after adding secondary Project to Build path

29 views Asked by At

I'm using Eclipse IDE.

I keep getting the same error: "Cannot Resolve whateverClass to a Type"

Here's my code: https://github.com/devcarokp/JEE.git

So I have:

  • hsports-catalog-CDI --> my main EAR project for deployment

It contains: hsports-catalog-ejb and hsports-catalog-jsf-CDI.

  • hsports-catalog-ejb --> EJB project (jar in the EAR)

  • hsports-catalog-jsf-CDI --> Web project (war in the EAR)

So I have tried adding hsports-catalog-ejb to hsports-catalog-jsf-CDI's Java Build Path as a Project, as a referenced source folder, etc... but I still can't get access to its classes.

I don't know what I'm doing wrong anymore.

Help appreciated.

0

There are 0 answers